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

.page-game-bai__hero-section {
    padding-top: 10px;
    padding-bottom: 60px;
    background-color: #140C0C;
}

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

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

.page-game-bai__main-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFF1E8;
    max-width: 600px;
}

.page-game-bai__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF1E8;
    max-width: 600px;
}

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

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__large-cta-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-game-bai__btn-primary,
.page-game-bai__large-cta-button {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #ffffff;
    border: none;
}

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

.page-game-bai__btn-secondary {
    background: #2A1212; /* Card BG */
    color: #FFB04A;
    border: 2px solid #FFB04A;
}

.page-game-bai__btn-secondary:hover {
    background: #FFB04A;
    color: #2A1212;
    transform: translateY(-2px);
}

.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;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

.page-game-bai__content-section,
.page-game-bai__games-section,
.page-game-bai__promo-section,
.page-game-bai__guide-section,
.page-game-bai__faq-section,
.page-game-bai__cta-bottom-section {
    padding: 60px 0;
}

.page-game-bai__dark-section {
    background-color: #2A1212; /* Card BG */
    color: #FFF1E8;
}

.page-game-bai__content-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
}

.page-game-bai__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #FFB04A;
    text-align: center;
    margin-bottom: 40px;
}

.page-game-bai__text-block {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-game-bai__game-card,
.page-game-bai__promo-card {
    background-color: #2A1212; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    color: #FFF1E8;
    border: 1px solid #6A1E1E; /* Border */
}

.page-game-bai__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #6A1E1E;
}

.page-game-bai__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin: 20px 20px 10px;
    color: #FFB04A;
}

.page-game-bai__card-link {
    color: #FFB04A;
    text-decoration: none;
}

.page-game-bai__card-link:hover {
    text-decoration: underline;
}

.page-game-bai__card-text {
    font-size: 0.95em;
    line-height: 1.6;
    padding: 0 20px;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

.page-game-bai__card-button {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

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

.page-game-bai__promo-card .page-game-bai__card-title {
    color: #FFF1E8;
}

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

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

.page-game-bai__guide-step {
    background-color: #2A1212; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #6A1E1E;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-game-bai__step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-game-bai__step-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #FFB04A;
    margin-bottom: 15px;
}

.page-game-bai__step-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #FFF1E8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-bai__step-button {
    width: 100%;
}

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

.page-game-bai__faq-item {
    background-color: #140C0C; /* Background */
    border: 1px solid #6A1E1E;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF1E8;
}

.page-game-bai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: #2A1212; /* Card BG */
    color: #FFF1E8;
    user-select: none;
    list-style: none;
}

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

.page-game-bai__faq-question:hover {
    background-color: #7E0D0D; /* Deep Red */
}

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

.page-game-bai__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFB04A;
}

.page-game-bai__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: #FFF1E8;
    border-top: 1px solid #6A1E1E;
}

.page-game-bai__faq-answer p {
    margin: 0;
    color: #FFF1E8;
}

.page-game-bai__large-cta-button {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-size: 1.2em;
    padding: 18px 35px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-bai__main-title {
        font-size: 2.5em;
    }
    .page-game-bai__section-title {
        font-size: 2em;
    }
    .page-game-bai__hero-container {
        gap: 30px;
    }
}

@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: 40px;
    }
    .page-game-bai__hero-container {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 25px;
    }
    .page-game-bai__hero-content {
        order: 2;
        flex: 1 1 100%;
        min-width: unset;
    }
    .page-game-bai__hero-image {
        order: 1;
        flex: 1 1 100%;
        min-width: unset;
    }
    .page-game-bai__main-title {
        font-size: 2.2em;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .page-game-bai__description {
        font-size: 1em;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .page-game-bai__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .page-game-bai__btn-primary,
    .page-game-bai__btn-secondary,
    .page-game-bai__large-cta-button,
    .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;
        font-size: 1em;
    }
    .page-game-bai__content-section,
    .page-game-bai__games-section,
    .page-game-bai__promo-section,
    .page-game-bai__guide-section,
    .page-game-bai__faq-section,
    .page-game-bai__cta-bottom-section {
        padding: 40px 0;
    }
    .page-game-bai__content-container {
        padding: 0 15px;
    }
    .page-game-bai__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-game-bai__text-block {
        font-size: 0.95em;
    }
    .page-game-bai__game-list,
    .page-game-bai__promo-cards,
    .page-game-bai__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-game-bai__card-image {
        height: 200px;
    }
    .page-game-bai__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-game-bai__faq-answer {
        padding: 10px 20px 20px;
    }
    .page-game-bai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-game-bai__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-game-bai__section,
    .page-game-bai__card,
    .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__cta-buttons,
    .page-game-bai__button-group,
    .page-game-bai__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-game-bai__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}