.page-game-bai {
    /* Base styles for the page content, assuming a dark body background from shared.css */
    color: #FFF6D6; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #0A0A0A; /* Background */
}

.page-game-bai__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.page-game-bai__section-description {
    font-size: 1.1em;
    color: #FFF6D6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: #0A0A0A; /* Background */
    position: relative;
    overflow: hidden;
}

.page-game-bai__hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 60px 15px;
}

.page-game-bai__hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
    max-width: 550px;
}

.page-game-bai__hero-title {
    font-size: clamp(2.5em, 5vw, 3.8em); /* Clamp for responsive font size */
    color: #F2C14E; /* Main Color */
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.page-game-bai__hero-description {
    font-size: 1.2em;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
    text-align: left;
}

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

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-play,
.page-game-bai__btn-promo,
.page-game-bai a[class*="button"],
.page-game-bai a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.page-game-bai__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for light button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-game-bai__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-game-bai__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Glow */
    border: 2px solid #FFD36B; /* Glow */
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.2);
}

.page-game-bai__btn-secondary:hover {
    background: #FFD36B; /* Glow */
    color: #111111; /* Dark text */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

.page-game-bai__hero-image {
    flex: 1;
    min-width: 400px;
    text-align: right;
}

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

/* Intro Section */
.page-game-bai__intro-section {
    padding: 80px 0;
    background-color: #0A0A0A; /* Background */
}

.page-game-bai__dark-section {
    background-color: #0A0A0A; /* Background */
    color: #FFF6D6; /* Text Main */
}

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

.page-game-bai__feature-item {
    text-align: center;
    background-color: #111111; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border */
}

.page-game-bai__icon-box-media {
    width: 240px;
    height: 240px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #F2C14E; /* Main Color */
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

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

.page-game-bai__feature-title {
    font-size: 1.8em;
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-bai__feature-text {
    font-size: 1em;
    color: #FFF6D6; /* Text Main */
}

/* Popular Games Section */
.page-game-bai__popular-games-section {
    padding: 80px 0;
    background-color: #0A0A0A; /* Background */
}

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

.page-game-bai__game-card {
    background-color: #111111; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border */
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-game-bai__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-game-bai__game-title {
    font-size: 1.5em;
    color: #FFD36B; /* Glow */
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-game-bai__game-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-bai__game-title a:hover {
    color: #F2C14E; /* Main Color */
}

.page-game-bai__game-description {
    font-size: 0.95em;
    color: #FFF6D6; /* Text Main */
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-game-bai__btn-play {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text */
    border: none;
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

.page-game-bai__btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

/* Why Choose Section */
.page-game-bai__why-choose-section {
    padding: 80px 0;
}

.page-game-bai__why-choose-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.page-game-bai__why-choose-content {
    flex: 1;
    min-width: 300px;
    color: #FFF6D6; /* Text Main */
}

.page-game-bai__why-choose-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-game-bai__why-choose-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-game-bai__why-choose-list li {
    font-size: 1.05em;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.page-game-bai__why-choose-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #F2C14E; /* Main Color */
}

.page-game-bai__list-highlight {
    color: #FFD36B; /* Glow */
}

.page-game-bai__why-choose-image {
    flex: 1;
    min-width: 400px;
    text-align: center;
}

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

/* Guide Section */
.page-game-bai__guide-section {
    padding: 80px 0;
    background-color: #0A0A0A; /* Background */
}

.page-game-bai__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-game-bai__guide-step-item {
    background-color: #111111; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #3A2A12; /* Border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-game-bai__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #F2C14E; /* Main Color */
    color: #111111; /* Dark text */
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-game-bai__step-title {
    font-size: 1.6em;
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-bai__step-text {
    font-size: 1em;
    color: #FFF6D6; /* Text Main */
}

.page-game-bai__guide-cta {
    text-align: center;
    margin-top: 50px;
}

/* Promo Section */
.page-game-bai__promo-section {
    padding: 80px 0;
}

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

.page-game-bai__promo-card {
    background-color: #111111; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border */
    text-align: center;
    display: flex;
    flex-direction: column;
}

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

.page-game-bai__promo-title {
    font-size: 1.5em;
    color: #FFD36B; /* Glow */
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-game-bai__promo-text {
    font-size: 0.95em;
    color: #FFF6D6; /* Text Main */
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-game-bai__btn-promo {
    background: #F2C14E; /* Main Color */
    color: #111111; /* Dark text */
    border: none;
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

.page-game-bai__btn-promo:hover {
    background: #FFD36B; /* Glow */
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-game-bai__promo-cta {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.page-game-bai__faq-section {
    padding: 80px 0;
    background-color: #0A0A0A; /* Background */
}

.page-game-bai__faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.page-game-bai__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-bai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD36B; /* Glow */
    cursor: pointer;
    list-style: none; /* Remove default marker */
}

.page-game-bai__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-game-bai__faq-toggle {
    font-size: 1.5em;
    color: #F2C14E; /* Main Color */
    margin-left: 15px;
}

.page-game-bai__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #FFF6D6; /* Text Main */
    line-height: 1.8;
}

.page-game-bai__faq-answer p {
    margin-bottom: 10px;
}

.page-game-bai__btn-link {
    color: #F2C14E; /* Main Color */
    text-decoration: underline;
    font-weight: normal;
    padding: 0;
    background: none;
    border: none;
    text-align: left;
}

.page-game-bai__btn-link:hover {
    color: #FFD36B; /* Glow */
}

/* Final CTA Section */
.page-game-bai__final-cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-game-bai__final-cta-content {
    background-color: #111111; /* Card BG */
    border-radius: 12px;
    padding: 50px 30px;
    border: 1px solid #3A2A12; /* Border */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-game-bai__final-cta-content .page-game-bai__section-title {
    color: #F2C14E; /* Main Color */
    margin-bottom: 25px;
}

.page-game-bai__final-cta-content .page-game-bai__section-description {
    color: #FFF6D6; /* Text Main */
    margin-bottom: 40px;
}

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

/* --- Responsive Styles (Mobile First) --- */
@media (max-width: 1024px) {
    .page-game-bai__hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-game-bai__hero-content {
        text-align: center;
        max-width: 100%;
    }

    .page-game-bai__hero-title,
    .page-game-bai__hero-description {
        text-align: center;
    }

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

    .page-game-bai__hero-image {
        text-align: center;
        margin-top: 40px;
        min-width: unset;
    }

    .page-game-bai__why-choose-grid {
        flex-direction: column;
        text-align: center;
    }

    .page-game-bai__why-choose-content {
        text-align: center;
        min-width: unset;
    }

    .page-game-bai__why-choose-list {
        text-align: left; /* Keep list items left-aligned */
        margin: 0 auto 30px;
        max-width: 500px;
    }
}


@media (max-width: 768px) {
    /* General Mobile Adjustments */
    .page-game-bai {
        font-size: 15px;
        line-height: 1.6;
    }

    .page-game-bai__container {
        padding: 0 15px !important;
    }

    .page-game-bai__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-game-bai__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* HERO Section */
    .page-game-bai__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles --header-offset */
        padding-bottom: 40px;
    }

    .page-game-bai__hero-container {
        padding: 40px 15px;
        gap: 20px;
    }

    .page-game-bai__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-game-bai__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

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

    /* Buttons */
    .page-game-bai__btn-primary,
    .page-game-bai__btn-secondary,
    .page-game-bai__btn-play,
    .page-game-bai__btn-promo,
    .page-game-bai a[class*="button"],
    .page-game-bai 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-left: 20px !important;
        padding-right: 20px !important;
    }

    .page-game-bai__hero-image {
        margin-top: 30px;
    }

    .page-game-bai__hero-side-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Intro Section - Module 1 */
    .page-game-bai__intro-section {
        padding: 60px 0;
    }

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

    .page-game-bai__icon-box-media {
        width: 180px; /* Still square */
        height: 180px; /* Still square */
        margin-bottom: 20px;
    }
}