/* Base Styles for page-huong-dan-ca-cuoc */
.page-huong-dan-ca-cuoc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--page-bg, #F4F7FB); /* Use custom background color or default */
}

.page-huong-dan-ca-cuoc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-huong-dan-ca-cuoc__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
}

.page-huong-dan-ca-cuoc__sub-section-title {
    font-size: 28px;
    font-weight: 600;
    color: #2F6BFF;
    margin-bottom: 25px;
    border-bottom: 2px solid #D6E2FF;
    padding-bottom: 10px;
}

.page-huong-dan-ca-cuoc__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    color: #1F2D3D;
}

.page-huong-dan-ca-cuoc__list,
.page-huong-dan-ca-cuoc__ordered-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 17px;
    color: #1F2D3D;
}

.page-huong-dan-ca-cuoc__list li,
.page-huong-dan-ca-cuoc__ordered-list li {
    margin-bottom: 10px;
}

.page-huong-dan-ca-cuoc__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-huong-dan-ca-cuoc__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 107, 255, 0.4);
}

.page-huong-dan-ca-cuoc__cta-button--small {
    padding: 12px 25px;
    font-size: 16px;
}

/* Hero Section */
.page-huong-dan-ca-cuoc__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
}

.page-huong-dan-ca-cuoc__hero-image-wrapper {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.page-huong-dan-ca-cuoc__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-huong-dan-ca-cuoc__hero-content {
    max-width: 800px;
    margin: 40px auto 60px auto;
    text-align: center;
    padding: 0 20px;
}

.page-huong-dan-ca-cuoc__hero-title {
    font-size: 52px;
    color: #1F2D3D;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 100%;
}

.page-huong-ca-cuoc__hero-description {
    font-size: 20px;
    color: #333333;
    margin-bottom: 30px;
    max-width: 100%;
}

/* Introduction Section */
.page-huong-dan-ca-cuoc__introduction-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Card BG */
}

/* Guide Section */
.page-huong-dan-ca-cuoc__guide-section {
    padding: 80px 0;
    background-color: #2F6BFF; /* Dark background */
    color: #ffffff; /* Light text for dark background */
}

.page-huong-dan-ca-cuoc__guide-section .page-huong-dan-ca-cuoc__section-title,
.page-huong-dan-ca-cuoc__guide-section .page-huong-dan-ca-cuoc__text-block,
.page-huong-dan-ca-cuoc__guide-section .page-huong-dan-ca-cuoc__step-title,
.page-huong-dan-ca-cuoc__guide-section .page-huong-dan-ca-cuoc__step-item p {
    color: #ffffff;
}

.page-huong-dan-ca-cuoc__guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.page-huong-dan-ca-cuoc__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-huong-dan-ca-cuoc__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-ca-cuoc__step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-huong-dan-ca-cuoc__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Deposit Withdrawal Section */
.page-huong-dan-ca-cuoc__deposit-withdrawal-section {
    padding: 80px 0;
    background-color: #F4F7FB;
}

.page-huong-dan-ca-cuoc__deposit-withdrawal-section .page-huong-dan-ca-cuoc__sub-section {
    margin-bottom: 50px;
}

/* Game Types Section */
.page-huong-dan-ca-cuoc__game-types-section {
    padding: 80px 0;
    background-color: #2F6BFF;
    color: #ffffff;
}

.page-huong-dan-ca-cuoc__game-types-section .page-huong-dan-ca-cuoc__section-title,
.page-huong-dan-ca-cuoc__game-types-section .page-huong-dan-ca-cuoc__text-block,
.page-huong-dan-ca-cuoc__game-types-section .page-huong-dan-ca-cuoc__game-title,
.page-huong-dan-ca-cuoc__game-types-section .page-huong-dan-ca-cuoc__game-card p {
    color: #ffffff;
}

.page-huong-dan-ca-cuoc__game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.page-huong-dan-ca-cuoc__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-huong-dan-ca-cuoc__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-ca-cuoc__game-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-huong-dan-ca-cuoc__game-link {
    display: inline-block;
    margin-top: 15px;
    color: #A5C4FF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-huong-dan-ca-cuoc__game-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Strategy Section */
.page-huong-dan-ca-cuoc__strategy-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-huong-dan-ca-cuoc__strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.page-huong-dan-ca-cuoc__strategy-card {
    background-color: #F4F7FB;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-huong-dan-ca-cuoc__strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.page-huong-dan-ca-cuoc__strategy-title {
    font-size: 22px;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 15px;
}

/* FAQ Section */
details.page-huong-dan-ca-cuoc__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}
details.page-huong-dan-ca-cuoc__faq-item summary.page-huong-dan-ca-cuoc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-huong-dan-ca-cuoc__faq-item summary.page-huong-dan-ca-cuoc__faq-question::-webkit-details-marker {
    display: none;
}
details.page-huong-dan-ca-cuoc__faq-item summary.page-huong-dan-ca-cuoc__faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}
.page-huong-dan-ca-cuoc__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #ffffff;
}
.page-huong-dan-ca-cuoc__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #A5C4FF;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-huong-dan-ca-cuoc__faq-item .page-huong-dan-ca-cuoc__faq-answer {
    padding: 0 20px 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 5px 5px;
    color: #f0f0f0;
}

.page-huong-dan-ca-cuoc__faq-section {
    padding: 80px 0;
    background-color: #2F6BFF;
    color: #ffffff;
}

.page-huong-dan-ca-cuoc__faq-section .page-huong-dan-ca-cuoc__section-title {
    color: #ffffff;
}

/* Conclusion Section */
.page-huong-dan-ca-cuoc__conclusion-section {
    padding: 80px 0;
    background-color: #F4F7FB;
    text-align: center;
}

.page-huong-dan-ca-cuoc__conclusion-section .page-huong-dan-ca-cuoc__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-huong-dan-ca-cuoc__hero-title {
        font-size: 44px;
    }

    .page-huong-dan-ca-cuoc__section-title {
        font-size: 32px;
    }

    .page-huong-dan-ca-cuoc__sub-section-title {
        font-size: 24px;
    }

    .page-huong-dan-ca-cuoc__guide-steps,
    .page-huong-dan-ca-cuoc__game-grid,
    .page-huong-dan-ca-cuoc__strategy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-huong-dan-ca-cuoc__hero-section {
        padding-top: 10px !important;
    }

    .page-huong-dan-ca-cuoc__hero-image-wrapper {
        height: 400px;
    }

    .page-huong-dan-ca-cuoc__hero-content {
        margin: 30px auto 40px auto;
        padding: 0 15px;
    }

    .page-huong-dan-ca-cuoc__hero-title {
        font-size: 34px;
        line-height: 1.3;
    }

    .page-huong-dan-ca-cuoc__hero-description {
        font-size: 18px;
    }

    .page-huong-dan-ca-cuoc__cta-button {
        font-size: 16px;
        padding: 12px 20px;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-huong-dan-ca-cuoc__section-title {
        font-size: 28px;
        margin-bottom: 30px;
        padding-top: 40px;
    }

    .page-huong-dan-ca-cuoc__sub-section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .page-huong-dan-ca-cuoc__text-block,
    .page-huong-dan-ca-cuoc__list li,
    .page-huong-dan-ca-cuoc__ordered-list li {
        font-size: 16px;
    }

    .page-huong-dan-ca-cuoc__guide-steps,
    .page-huong-dan-ca-cuoc__game-grid,
    .page-huong-dan-ca-cuoc__strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .page-huong-dan-ca-cuoc__step-item,
    .page-huong-dan-ca-cuoc__game-card,
    .page-huong-dan-ca-cuoc__strategy-card {
        padding: 25px;
    }

    .page-huong-dan-ca-cuoc__step-title,
    .page-huong-dan-ca-cuoc__game-title,
    .page-huong-dan-ca-cuoc__strategy-title {
        font-size: 20px;
    }

    .page-huong-dan-ca-cuoc__content-image {
        margin: 30px auto;
    }

    .page-huong-dan-ca-cuoc__container {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-huong-dan-ca-cuoc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    details.page-huong-dan-ca-cuoc__faq-item summary.page-huong-dan-ca-cuoc__faq-question { padding: 15px; }
    .page-huong-dan-ca-cuoc__faq-qtext { font-size: 16px; }
    .page-huong-dan-ca-cuoc__faq-toggle { font-size: 20px; width: 24px; height: 24px; }
    details.page-huong-dan-ca-cuoc__faq-item .page-huong-dan-ca-cuoc__faq-answer { padding: 0 15px 15px; }

    .page-huong-dan-ca-cuoc__conclusion-section .page-huong-dan-ca-cuoc__text-block {
        padding: 0 15px;
    }
}