/* style/huong-dan-choi.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-white: #ffffff;
    --bg-dark-blue: #26A9E0;
    --border-light: #e0e0e0;
}

.page-huong-dan-choi {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

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

.page-huong-dan-choi__section {
    padding: 60px 0;
    text-align: center;
}

.page-huong-dan-choi__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
}

.page-huong-dan-choi__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

/* Hero Section */
.page-huong-dan-choi__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Aligns with body padding-top from shared.css */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark-blue);
}

.page-huong-dan-choi__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-huong-dan-choi__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-huong-dan-choi__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-huong-dan-choi__intro-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button General */
.page-huong-dan-choi__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-huong-dan-choi__btn-primary {
    background-color: var(--login-color);
    color: var(--text-light);
    border: 2px solid var(--login-color);
}

.page-huong-dan-choi__btn-primary:hover {
    background-color: darken(var(--login-color), 10%);
    transform: translateY(-2px);
}

.page-huong-dan-choi__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-huong-dan-choi__btn-secondary:hover {
    background-color: lighten(var(--primary-color), 40%);
    transform: translateY(-2px);
}

/* Overview Section */
.page-huong-dan-choi__overview-section .page-huong-dan-choi__paragraph {
    text-align: left;
}

/* Guide Section */
.page-huong-dan-choi__guide-section {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.page-huong-dan-choi__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-huong-dan-choi__guide-step-item {
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    box-sizing: border-box;
}

.page-huong-dan-choi__step-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-huong-dan-choi__step-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-huong-dan-choi__step-description {
    font-size: 1em;
    color: var(--text-dark);
    flex-grow: 1;
}

.page-huong-dan-choi__button-container {
    margin-top: 40px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Transaction Section */
.page-huong-dan-choi__transaction-section {
    background-color: #f5f8fa;
}

.page-huong-dan-choi__transaction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-huong-dan-choi__transaction-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-huong-dan-choi__transaction-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-huong-dan-choi__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-huong-dan-choi__ordered-list {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-huong-dan-choi__ordered-list li {
    margin-bottom: 10px;
}

.page-huong-dan-choi__ordered-list li strong {
    color: var(--primary-color);
}

/* Games Section */
.page-huong-dan-choi__games-section {
    background-color: var(--bg-dark-blue);
    color: var(--text-light);
}

.page-huong-dan-choi__games-section .page-huong-dan-choi__section-title {
    color: var(--secondary-color);
}

.page-huong-dan-choi__games-section .page-huong-dan-choi__paragraph {
    color: var(--text-light);
}

.page-huong-dan-choi__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-huong-dan-choi__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-huong-dan-choi__game-image {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-huong-dan-choi__game-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-huong-dan-choi__game-description {
    font-size: 0.95em;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-huong-dan-choi__button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto; /* Push buttons to bottom */
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-huong-dan-choi__button-group .page-huong-dan-choi__cta-button {
    flex: 1;
    min-width: 120px;
    text-align: center;
    max-width: 100%;
}

/* Tips Section */
.page-huong-dan-choi__tips-section {
    background-color: var(--bg-white);
}

.page-huong-dan-choi__unordered-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-huong-dan-choi__unordered-list li {
    background-color: var(--secondary-color);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    font-size: 1.1em;
    color: var(--text-dark);
    border-left: 5px solid var(--primary-color);
}

.page-huong-dan-choi__unordered-list li strong {
    color: var(--primary-color);
}

/* Support Section */
.page-huong-dan-choi__support-section {
    background-color: #f5f8fa;
}

.page-huong-dan-choi__support-channels {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-huong-dan-choi__support-channels li {
    font-size: 1.1em;
    margin-bottom: 15px;
    background-color: var(--secondary-color);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--login-color);
    color: var(--text-dark);
}

.page-huong-dan-choi__support-channels li strong {
    color: var(--login-color);
}

/* FAQ Section */
.page-huong-dan-choi__faq-section {
    background-color: var(--bg-white);
}

.page-huong-dan-choi__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-huong-dan-choi__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-huong-dan-choi__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-light);
    list-style: none; /* For details/summary */
}

.page-huong-dan-choi__faq-question::-webkit-details-marker, /* Hide default marker for Webkit */
.page-huong-dan-choi__faq-question::marker {
    display: none;
}

.page-huong-dan-choi__faq-item[open] .page-huong-dan-choi__faq-question {
    border-bottom: 1px solid var(--border-light);
}

.page-huong-dan-choi__faq-qtext {
    flex-grow: 1;
    pointer-events: none; /* Ensures clicking anywhere on summary toggles */
}

.page-huong-dan-choi__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    margin-left: 15px;
    pointer-events: none; /* Ensures clicking anywhere on summary toggles */
}

.page-huong-dan-choi__faq-answer {
    padding: 20px;
    padding-top: 0;
    font-size: 1em;
    color: var(--text-dark);
    text-align: justify;
}

.page-huong-dan-choi__faq-answer p {
    margin-bottom: 10px;
}

.page-huong-dan-choi__faq-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Conclusion Section */
.page-huong-dan-choi__conclusion-section {
    background-color: var(--bg-dark-blue);
    color: var(--text-light);
}

.page-huong-dan-choi__conclusion-section .page-huong-dan-choi__section-title {
    color: var(--secondary-color);
}

.page-huong-dan-choi__conclusion-section .page-huong-dan-choi__paragraph {
    color: var(--text-light);
}

/* General Image styles */
.page-huong-dan-choi img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-huong-dan-choi__container {
        padding: 20px 30px;
    }

    .page-huong-dan-choi__section-title {
        font-size: 2em;
    }

    .page-huong-dan-choi__paragraph {
        font-size: 1em;
    }

    .page-huong-dan-choi__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }

    .page-huong-dan-choi__intro-text {
        font-size: 1.1em;
    }

    .page-huong-dan-choi__transaction-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-huong-dan-choi {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-huong-dan-choi__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO 主图区域 */
    .page-huong-dan-choi__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-huong-dan-choi__hero-image-wrapper {
        max-height: 300px;
    }

    .page-huong-dan-choi__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em) !important;
        margin-bottom: 15px;
    }

    .page-huong-dan-choi__intro-text {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* 深色导语区 (Overview Section) */
    .page-huong-dan-choi__overview-section .page-huong-dan-choi__paragraph {
        text-align: justify;
    }

    /* 通用图片与容器 */
    .page-huong-dan-choi img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-huong-dan-choi__section,
    .page-huong-dan-choi__card,
    .page-huong-dan-choi__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 按钮与按钮容器 */
    .page-huong-dan-choi__cta-button,
    .page-huong-dan-choi__btn-primary,
    .page-huong-dan-choi__btn-secondary,
    .page-huong-dan-choi a[class*="button"],
    .page-huong-dan-choi a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-huong-dan-choi__button-container,
    .page-huong-dan-choi__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
        flex-direction: column !important; /* Force vertical stacking for button groups */
        gap: 10px;
    }

    .page-huong-dan-choi__button-group .page-huong-dan-choi__cta-button {
        min-width: unset;
    }

    /* Guide Section */
    .page-huong-dan-choi__guide-steps {
        grid-template-columns: 1fr;
    }

    .page-huong-dan-choi__step-title {
        font-size: 1.2em;
    }

    /* Transaction Section */
    .page-huong-dan-choi__transaction-grid {
        grid-template-columns: 1fr;
    }

    .page-huong-dan-choi__card-title {
        font-size: 1.3em;
    }

    /* Games Section */
    .page-huong-dan-choi__game-categories {
        grid-template-columns: 1fr;
    }

    .page-huong-dan-choi__game-title {
        font-size: 1.2em;
    }

    /* Tips Section */
    .page-huong-dan-choi__unordered-list li {
        font-size: 1em;
        padding: 15px;
    }

    /* Support Section */
    .page-huong-dan-choi__support-channels li {
        font-size: 1em;
        padding: 12px 15px;
    }

    /* FAQ Section */
    .page-huong-dan-choi__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-huong-dan-choi__faq-answer {
        font-size: 0.95em;
        padding: 15px;
        padding-top: 0;
    }

    .page-huong-dan-choi__faq-image {
        margin-top: 30px;
    }

    /* Section titles */
    .page-huong-dan-choi__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
}