.page-game-bai {
    font-family: Arial, sans-serif;
    color: #F3F8FF; /* Text Main */
    background-color: #10233F; /* Card BG - Dark background */
}

.page-game-bai__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-game-bai__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #F2C14E; /* Gold */
    line-height: 1.2;
}

.page-game-bai__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #AFC4E8; /* Text Secondary */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-game-bai__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
    color: #F3F8FF; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-bai__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-game-bai__btn-secondary {
    background-color: transparent;
    color: #F2C14E; /* Gold */
    border: 2px solid #F2C14E; /* Gold */
}

.page-game-bai__btn-secondary:hover {
    background-color: #F2C14E;
    color: #08162B; /* Deep Navy */
}

/* HERO SECTION */
.page-game-bai__hero-section {
    padding-top: 10px; /* Minimal top padding */
    padding-bottom: 60px;
    background-color: #08162B; /* Deep Navy */
}

.page-game-bai__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 16px;
}

.page-game-bai__hero-content-wrapper {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: left;
}

.page-game-bai__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #F2C14E; /* Gold */
    line-height: 1.2;
}

.page-game-bai__hero-description {
    font-size: 20px;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-game-bai__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-game-bai__hero-image-wrapper {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-game-bai__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: block;
}

/* INTRO SECTION */
.page-game-bai__intro-section {
    padding: 80px 0;
    background-color: #10233F; /* Card BG */
}

.page-game-bai__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.page-game-bai__feature-item {
    background-color: #08162B; /* Deep Navy */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-game-bai__feature-item:hover {
    transform: translateY(-5px);
}

.page-game-bai__icon-box-media {
    width: 180px;
    height: 180px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #F2C14E; /* Gold */
}

.page-game-bai__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.page-game-bai__feature-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F2C14E; /* Gold */
}

.page-game-bai__feature-text {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
    line-height: 1.6;
}

/* POPULAR GAMES SECTION */
.page-game-bai__popular-games-section {
    padding: 80px 0;
    background-color: #08162B; /* Deep Navy */
}

.page-game-bai__game-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.page-game-bai__game-card {
    background-color: #10233F; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-game-bai__game-card:hover {
    transform: translateY(-5px);
}

.page-game-bai__game-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-game-bai__game-card-content {
    padding: 25px;
    text-align: center;
}

.page-game-bai__game-card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F2C14E; /* Gold */
}

.page-game-bai__game-card-text {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 25px;
    line-height: 1.6;
}

/* CONNECTION SECTION */
.page-game-bai__connection-section {
    padding: 80px 0;
    background-color: #10233F; /* Card BG */
}

.page-game-bai__connection-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ADVANTAGES SECTION */
.page-game-bai__advantages-section {
    padding: 80px 0;
    background-color: #08162B; /* Deep Navy */
}

.page-game-bai__advantages-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.page-game-bai__advantages-text {
    flex: 1 1 50%;
    min-width: 300px;
}

.page-game-bai__advantages-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.page-game-bai__advantages-list li {
    font-size: 18px;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    line-height: 1.5;
}

.page-game-bai__advantages-list li strong {
    color: #F2C14E; /* Gold */
}

.page-game-bai__advantages-list li::before {
    content: '✓';
    color: #4FA8FF; /* Glow */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.page-game-bai__advantages-note {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
    line-height: 1.6;
}

.page-game-bai__advantages-image-wrapper {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-game-bai__advantages-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: block;
}

/* FAQ SECTION */
.page-game-bai__faq-section {
    padding: 80px 0;
    background-color: #10233F; /* Card BG */
}

.page-game-bai__faq-list {
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__faq-item {
    background-color: #08162B; /* Deep Navy */
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-bai__faq-item summary {
    list-style: none;
}

.page-game-bai__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-game-bai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 20px;
    font-weight: bold;
    color: #F2C14E; /* Gold */
    cursor: pointer;
    background-color: #1B3357; /* Divider */
    border-bottom: 1px solid #244D84; /* Border */
    transition: background-color 0.3s ease;
}

.page-game-bai__faq-question:hover {
    background-color: #2B73F6;
    color: #F3F8FF;
}

.page-game-bai__faq-qtext {
    flex-grow: 1;
}

.page-game-bai__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    line-height: 1;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-question {
    background-color: #2B73F6;
    color: #F3F8FF;
    border-bottom: none;
}

.page-game-bai__faq-answer {
    padding: 20px 25px;
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
    line-height: 1.6;
}

/* FINAL CTA SECTION */
.page-game-bai__final-cta-section {
    padding: 80px 0;
    background-color: #08162B; /* Deep Navy */
    text-align: center;
}

.page-game-bai__final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* --- MOBILE RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
    .page-game-bai__hero-title {
        font-size: 40px;
    }

    .page-game-bai__section-title {
        font-size: 32px;
    }

    .page-game-bai__intro-section, .page-game-bai__popular-games-section,
    .page-game-bai__connection-section, .page-game-bai__advantages-section,
    .page-game-bai__faq-section, .page-game-bai__final-cta-section {
        padding: 60px 0;
    }

    .page-game-bai__feature-grid, .page-game-bai__game-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-game-bai__icon-box-media {
        width: 160px;
        height: 160px;
    }

    .page-game-bai__hero-container, .page-game-bai__advantages-content {
        flex-direction: column;
        text-align: center;
    }

    .page-game-bai__hero-content-wrapper, .page-game-bai__advantages-text {
        flex: 1 1 100%;
    }

    .page-game-bai__hero-image-wrapper, .page-game-bai__advantages-image-wrapper {
        flex: 1 1 100%;
        order: -1; /* Image above text on smaller screens */
    }

    .page-game-bai__hero-cta-buttons {
        justify-content: center;
    }

    .page-game-bai__advantages-list li::before {
        top: 3px;
    }
}

@media (max-width: 768px) {
    .page-game-bai__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px !important;
    }

    .page-game-bai__hero-container {
        padding: 30px 15px !important;
        gap: 30px !important;
    }

    .page-game-bai__hero-title {
        font-size: 32px !important;
        text-align: center !important;
    }

    .page-game-bai__hero-description {
        font-size: 16px !important;
        text-align: center !important;
    }

    .page-game-bai__hero-cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-game-bai__btn-primary,
    .page-game-bai__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
    }

    /* General sections and images */
    .page-game-bai__container {
        padding: 30px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-game-bai__section-title {
        font-size: 28px !important;
        margin-bottom: 15px !important;
    }

    .page-game-bai__section-description {
        font-size: 15px !important;
        margin-bottom: 30px !important;
    }

    .page-game-bai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Module 1: Intro Section - Feature Grid */
    .page-game-bai__intro-section {
        padding: 40px 0 !important;
    }

    .page-game-bai__feature-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }

    .page-game-bai__icon-box-media {
        width: 150px !important;
        height: 150px !important;
        margin-bottom: 15px !important;
    }

    .page-game-bai__feature-title {
        font-size: 20px !important;
    }

    .page-game-bai__feature-text {
        font-size: 14px !important;
    }

    /* Popular Games Section - Game Card Grid */
    .page-game-bai__popular-games-section {
        padding: 40px 0 !important;
    }

    .page-game-bai__game-card-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }

    .page-game-bai__game-card-image {
        height: 180px !important;
    }

    .page-game-bai__game-card-content {
        padding: 20px !important;
    }

    .page-game-bai__game-card-title {
        font-size: 20px !important;
    }

    .page-game-bai__game-card-text {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }

    /* Connection Section */
    .page-game-bai__connection-section {
        padding: 40px 0 !important;
    }

    .page-game-bai__connection-cta {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* Advantages Section */
    .page-game-bai__advantages-section {
        padding: 40px 0 !important;
    }

    .page-game-bai__advantages-content {
        flex-direction: column !important;
        gap: 30px !important;
        margin-top: 30px !important;
    }

    .page-game-bai__advantages-text {
        text-align: left !important;
    }

    .page-game-bai__advantages-list li {
        font-size: 16px !important;
        padding-left: 25px !important;
        margin-bottom: 10px !important;
    }

    .page-game-bai__advantages-list li::before {
        top: 2px !important;
        font-size: 18px !important;
    }

    .page-game-bai__advantages-note {
        font-size: 14px !important;
    }

    /* FAQ Section */
    .page-game-bai__faq-section {
        padding: 40px 0 !important;
    }

    .page-game-bai__faq-list {
        margin-top: 30px !important;
    }

    .page-game-bai__faq-question {
        padding: 15px 20px !important;
        font-size: 18px !important;
    }

    .page-game-bai__faq-toggle {
        font-size: 22px !important;
    }

    .page-game-bai__faq-answer {
        padding: 15px 20px !important;
        font-size: 14px !important;
    }

    /* Final CTA Section */
    .page-game-bai__final-cta-section {
        padding: 40px 0 !important;
    }

    .page-game-bai__final-cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        margin-top: 30px !important;
    }
}