.page-game-bai {
    font-family: Arial, sans-serif;
    color: #FFF1E8; /* Text Main */
    background-color: #140C0C; /* Background */
}

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

.page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 40px;
    background-color: #140C0C; /* Background */
}

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

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

.page-game-bai__hero-title {
    font-size: 3.2em;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFF1E8; /* Text Main */
}

.page-game-bai__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF1E8; /* Text Main */
}

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

.page-game-bai__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-game-bai__cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-play,
.page-game-bai__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-game-bai__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
    color: #FFF1E8; /* Text Main */
    border: none;
}

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

.page-game-bai__btn-secondary {
    background-color: transparent;
    color: #FFF1E8; /* Text Main */
    border: 2px solid #6A1E1E; /* Border */
}

.page-game-bai__btn-secondary:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-game-bai__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #FFF1E8; /* Text Main */
}

.page-game-bai__section-description {
    font-size: 1em;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #FFF1E8; /* Text Main */
}

.page-game-bai__intro-section {
    padding: 60px 0;
    background-color: #140C0C; /* Background */
}

.page-game-bai__game-tabs {
    padding: 60px 0;
    background-color: #140C0C; /* Background */
}

.page-game-bai__tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.page-game-bai__tab-button {
    background-color: #2A1212; /* Card BG */
    color: #FFF1E8; /* Text Main */
    border: 1px solid #6A1E1E; /* Border */
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-game-bai__tab-button:hover {
    background-color: #C61F1F; /* Main Color */
}

.page-game-bai__tab-button.is-active {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
    color: #FFF1E8; /* Text Main */
    border-color: #F3C54D; /* Gold */
}

.page-game-bai__game-panel {
    display: none;
}

.page-game-bai__game-panel.is-active {
    display: block;
}

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

.page-game-bai__game-card {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-game-bai__game-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
    border-bottom: 1px solid #6A1E1E; /* Border */
}

.page-game-bai__game-card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #F3C54D; /* Gold */
    padding: 0 15px;
}

.page-game-bai__game-card-description {
    font-size: 0.95em;
    line-height: 1.5;
    color: #FFF1E8; /* Text Main */
    margin-bottom: 20px;
    flex-grow: 1;
    padding: 0 15px;
}

.page-game-bai__btn-play {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
    color: #FFF1E8; /* Text Main */
    border: none;
    margin: 0 15px;
}

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

.page-game-bai__features-section {
    padding: 60px 0;
    background-color: #140C0C; /* Background */
}

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

.page-game-bai__feature-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.page-game-bai__feature-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
}

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

.page-game-bai__feature-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
}

.page-game-bai__guide-section {
    padding: 60px 0;
    background-color: #140C0C; /* Background */
}

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

.page-game-bai__guide-step {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-game-bai__step-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #C61F1F; /* Main Color */
    color: #FFF1E8; /* Text Main */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    border: 2px solid #F3C54D; /* Gold */
}

.page-game-bai__step-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #F3C54D; /* Gold */
}

.page-game-bai__step-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    margin-bottom: 15px;
}

.page-game-bai__btn-link {
    color: #F3C54D; /* Gold */
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #F3C54D;
    padding-bottom: 2px;
}

.page-game-bai__btn-link:hover {
    color: #FFB04A;
    border-color: #FFB04A;
}

.page-game-bai__faq-section {
    padding: 60px 0;
    background-color: #140C0C; /* Background */
}

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

.page-game-bai__faq-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

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

.page-game-bai__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #F3C54D; /* Gold */
    transition: transform 0.3s ease;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-toggle {
    transform: rotate(45deg);
}

.page-game-bai__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95em;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    border-top: 1px solid #6A1E1E; /* Border */
    padding-top: 20px;
}

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

.page-game-bai__faq-answer .page-game-bai__btn-link {
    display: inline-block;
    margin-top: 10px;
}

.page-game-bai__cta-final-section {
    padding: 60px 0;
    background-color: #140C0C; /* Background */
}

.page-game-bai__cta-final-section .page-game-bai__container {
    background-color: #2A1212; /* Card BG */
    border-radius: 10px;
    padding: 50px 30px;
    text-align: center;
    border: 1px solid #6A1E1E; /* Border */
}

.page-game-bai__cta-final-section .page-game-bai__section-title {
    color: #FFF1E8; /* Text Main */
}

.page-game-bai__cta-final-section .page-game-bai__section-description {
    color: #FFF1E8; /* Text Main */
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-game-bai__hero-title {
        font-size: 2.8em;
    }
    .page-game-bai__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-game-bai {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-game-bai__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }
    .page-game-bai__hero-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
        gap: 30px;
    }
    .page-game-bai__hero-content {
        text-align: center;
    }
    .page-game-bai__hero-title {
        font-size: 2.2em;
        line-height: 1.3;
    }
    .page-game-bai__hero-description {
        font-size: 1em;
    }
    .page-game-bai__cta-group {
        flex-direction: column;
        gap: 10px;
    }
    .page-game-bai__btn-primary,
    .page-game-bai__btn-secondary,
    .page-game-bai__btn-play,
    .page-game-bai__btn-link,
    .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: 15px;
        padding-right: 15px;
    }
    .page-game-bai__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-game-bai__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-game-bai__intro-section,
    .page-game-bai__game-tabs,
    .page-game-bai__features-section,
    .page-game-bai__guide-section,
    .page-game-bai__faq-section,
    .page-game-bai__cta-final-section {
        padding: 40px 0;
    }
    .page-game-bai__tab-nav {
        flex-direction: column;
        align-items: center;
    }
    .page-game-bai__tab-button {
        width: 100%;
        max-width: 250px;
    }
    .page-game-bai__game-card-grid,
    .page-game-bai__feature-grid,
    .page-game-bai__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-game-bai__game-card,
    .page-game-bai__feature-item,
    .page-game-bai__guide-step,
    .page-game-bai__faq-item,
    .page-game-bai__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-bai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    /* No specific __icon-box-media, so generic image rule applies */
    .page-game-bai__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-game-bai__faq-answer {
        padding: 0 20px 15px;
        padding-top: 15px;
    }
    .page-game-bai__cta-final-section .page-game-bai__container {
        padding: 40px 20px;
    }
}