.page-game-bai {
    font-family: 'Arial', sans-serif;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
    line-height: 1.6;
}

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

/* Hero Section */
.page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding for header offset */
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Blend of brand colors */
    color: #FFFFFF;
    text-align: center;
    padding-bottom: 40px;
}

.page-game-bai__hero-image-wrapper {
    margin-bottom: 20px;
    max-width: 100%;
    overflow: hidden;
}

.page-game-bai__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    filter: none; /* No image filter */
}

.page-game-bai__main-title {
    font-size: clamp(2em, 4vw, 3em); /* H1 font-size rule */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}

.page-game-bai__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #F4F7FB; /* Lighter text for description */
}

.page-game-bai__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width for wrapping */
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    max-width: 100%; /* Button responsive rule */
    box-sizing: border-box; /* Button responsive rule */
    white-space: normal; /* Button responsive rule */
    word-wrap: break-word; /* Button responsive rule */
    text-align: center;
}

.page-game-bai__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    border: 2px solid transparent;
}

.page-game-bai__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

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

.page-game-bai__btn-secondary:hover {
    background: #2F6BFF;
    color: #FFFFFF;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

/* General Section Styling */
.page-game-bai__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-bai__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2F6BFF; /* Primary color */
    border-radius: 2px;
}

.page-game-bai__paragraph {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: #1F2D3D; /* Text Main */
}

.page-game-bai__cta-center {
    text-align: center;
    margin-top: 40px;
}

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

/* Types Section */
.page-game-bai__types-section {
    padding: 60px 0;
    background-color: #2F6BFF; /* Dark BG */
    color: #FFFFFF;
}

.page-game-bai__types-section .page-game-bai__section-title {
    color: #FFFFFF;
}

.page-game-bai__types-section .page-game-bai__section-title::after {
    background-color: #6FA3FF; /* Secondary color for contrast */
}

.page-game-bai__types-section .page-game-bai__paragraph {
    color: #F4F7FB; /* Lighter text */
}

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

.page-game-bai__card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #1F2D3D; /* Text Main */
}

.page-game-bai__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    filter: none; /* No image filter */
}

.page-game-bai__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin: 15px 20px 10px;
    color: #2F6BFF; /* Primary color */
}

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

/* How To Play Section */
.page-game-bai__how-to-play-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-game-bai__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-game-bai__step-item {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-game-bai__step-title {
    font-size: 1.3em;
    color: #2F6BFF; /* Primary color */
    margin-top: 0;
    margin-bottom: 10px;
}

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

.page-game-bai__step-text a {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
}

.page-game-bai__step-text a:hover {
    text-decoration: underline;
}

/* Advantages Section */
.page-game-bai__advantages-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Light BG, ensure text contrast */
}

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

.page-game-bai__feature-item {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #1F2D3D; /* Text Main */
    height: 100%;
}

.page-game-bai__feature-icon {
    width: 100%; /* Ensure image fills width */
    height: 150px; /* Fixed height for consistency */
    object-fit: contain; /* Contain to show full image, not crop */
    margin-bottom: 20px;
    filter: none; /* No image filter */
    max-width: 100%; /* Image responsive rule */
    display: block; /* Image responsive rule */
}

.page-game-bai__feature-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #2F6BFF; /* Primary color */
    margin-bottom: 10px;
}

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

/* Promotions Section */
.page-game-bai__promotions-section {
    padding: 60px 0;
    background-color: #2F6BFF; /* Dark BG */
    color: #FFFFFF;
}

.page-game-bai__promotions-section .page-game-bai__section-title {
    color: #FFFFFF;
}

.page-game-bai__promotions-section .page-game-bai__section-title::after {
    background-color: #6FA3FF; /* Secondary color for contrast */
}

.page-game-bai__promotions-section .page-game-bai__paragraph {
    color: #F4F7FB; /* Lighter text */
}

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

.page-game-bai__promo-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-game-bai__promo-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-game-bai__promo-text {
    font-size: 0.95em;
    color: #F4F7FB; /* Lighter text */
    line-height: 1.6;
    flex-grow: 1;
}

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

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

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

.page-game-bai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    cursor: pointer;
    background-color: #FDFDFD;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-game-bai__faq-question:hover {
    background-color: #F0F5FF; /* Lighter hover for primary */
}

.page-game-bai__faq-toggle {
    font-size: 1.5em;
    font-weight: 300;
    color: #2F6BFF; /* Primary color */
    margin-left: 15px;
    line-height: 1;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-toggle {
    content: '-';
}

.page-game-bai__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
    border-top: 1px solid #D6E2FF; /* Border color */
}

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

.page-game-bai__faq-answer a {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
}

.page-game-bai__faq-answer a:hover {
    text-decoration: underline;
}


/* Final CTA Section */
.page-game-bai__cta-final-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
    text-align: center;
}

.page-game-bai__cta-final-section .page-game-bai__paragraph {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-bai__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }

    .page-game-bai__section-title {
        font-size: 2em;
    }

    .page-game-bai__grid-cards,
    .page-game-bai__features-grid,
    .page-game-bai__promo-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .page-game-bai__card-image {
        height: 180px;
    }

    .page-game-bai__feature-icon {
        height: 120px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-game-bai__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-bai__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important; /* Ensure image fits within padding */
    }
    .page-game-bai__main-title {
        font-size: clamp(1.5em, 7vw, 2.2em);
    }
    .page-game-bai__hero-description {
        font-size: 1em;
        padding: 0 10px;
    }

    /* 通用图片与容器 */
    .page-game-bai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-game-bai__container,
    .page-game-bai__card,
    .page-game-bai__section,
    .page-game-bai__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮与按钮容器 */
    .page-game-bai__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent overflow */
    }
    .page-game-bai__btn-primary,
    .page-game-bai__btn-secondary,
    .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;
    }

    /* Grid cards to single column */
    .page-game-bai__grid-cards,
    .page-game-bai__features-grid,
    .page-game-bai__promo-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-game-bai__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    .page-game-bai__section-title::after {
        width: 60px;
        height: 3px;
    }

    .page-game-bai__paragraph {
        font-size: 0.95em;
    }

    .page-game-bai__card-image {
        height: 150px;
    }

    .page-game-bai__feature-icon {
        height: 100px;
    }

    /* No specific long text area (__home-content) or game/brand carousels (__slider-track, __banners-top-wrapper) in this non-homepage */
    /* Blog cards - general card styles apply */
    .page-game-bai__card {
        padding: 0;
    }
    .page-game-bai__card-title {
        font-size: 1.2em;
        margin: 10px 15px 8px;
    }
    .page-game-bai__card-text {
        margin: 0 15px 15px;
    }

    .page-game-bai__step-item {
        padding: 20px;
    }
    .page-game-bai__step-title {
        font-size: 1.1em;
    }
    .page-game-bai__step-text {
        font-size: 0.9em;
    }

    .page-game-bai__promo-item {
        padding: 20px;
    }
    .page-game-bai__promo-title {
        font-size: 1.2em;
    }

    .page-game-bai__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-game-bai__faq-toggle {
        font-size: 1.3em;
    }
    .page-game-bai__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }
}