.page-game-bai {
    font-family: Arial, sans-serif;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Body background */
}

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

.page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    background-color: #111111; /* Card BG as a fallback */
}

.page-game-bai__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Adjust as needed */
    overflow: hidden;
}

.page-game-bai__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-game-bai__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 800px;
    margin-top: -100px; /* Overlap slightly for visual effect, but not over image content */
    background: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
    border-radius: 10px;
    border: 1px solid #3A2A12; /* Border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.page-game-bai__main-title {
    font-size: clamp(2em, 3.5vw, 3.5em);
    color: #F2C14E; /* Main Color */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

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

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

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-game-bai__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

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

.page-game-bai__btn-secondary:hover {
    background: #F2C14E; /* Main Color */
    color: #111111; /* Dark text */
    transform: translateY(-2px);
}

.page-game-bai__section-title {
    font-size: 2.5em;
    color: #F2C14E; /* Main Color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-game-bai__sub-title {
    font-size: 1.8em;
    color: #FFD36B; /* Auxiliary Color */
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-game-bai__paragraph {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main */
}

.page-game-bai__highlight {
    color: #FFD36B;
    font-weight: bold;
}

.page-game-bai__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-game-bai__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
}

.page-game-bai__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #F2C14E; /* Main Color */
    font-weight: bold;
}

.page-game-bai__games-section,
.page-game-bai__guide-section,
.page-game-bai__tips-section,
.page-game-bai__promotions-section,
.page-game-bai__faq-section,
.page-game-bai__conclusion-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Body background */
}

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

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

.page-game-bai__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-game-bai__game-card-title {
    font-size: 1.5em;
    color: #F2C14E; /* Main Color */
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-game-bai__game-card-title a:hover {
    color: #FFD36B;
}

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

.page-game-bai__btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #FFD36B; /* Glow Color */
    color: #FFD36B; /* Glow Color */
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: auto;
}

.page-game-bai__btn-outline:hover {
    background-color: #FFD36B; /* Glow Color */
    color: #111111; /* Dark text */
    transform: translateY(-2px);
}

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

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

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

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

.page-game-bai__step-title {
    font-size: 1.6em;
    color: #F2C14E; /* Main Color */
    margin-bottom: 15px;
}

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

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

.page-game-bai__tip-card {
    background-color: #111111; /* Card BG */
    border-radius: 10px;
    border: 1px solid #3A2A12; /* Border */
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-bai__tip-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-game-bai__tip-card-title {
    font-size: 1.4em;
    color: #FFD36B; /* Auxiliary Color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-game-bai__tip-card-description {
    font-size: 0.95em;
    color: #FFF6D6; /* Text Main */
    line-height: 1.6;
    flex-grow: 1;
}

.page-game-bai__promo-list {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.page-game-bai__promo-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    padding: 20px 25px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    position: relative;
    padding-left: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-bai__promo-item strong {
    color: #F2C14E; /* Main Color */
}

.page-game-bai__promo-item::before {
    content: '★';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFD36B; /* Glow Color */
    font-size: 1.5em;
}

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

.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: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2C14E; /* Main Color */
    cursor: pointer;
    list-style: none; /* Hide default marker for summary */
}

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

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

.page-game-bai__faq-toggle {
    font-size: 1.5em;
    color: #FFD36B; /* Glow Color */
    margin-left: 15px;
    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 18px 25px;
    font-size: 1em;
    color: #FFF6D6; /* Text Main */
    line-height: 1.6;
}

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

.page-game-bai__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-game-bai__conclusion-section .page-game-bai__paragraph {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General image responsiveness */
.page-game-bai img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-game-bai__hero-section {
        min-height: 400px;
        padding-top: 10px; /* Consistent small top padding */
    }

    .page-game-bai__hero-content {
        padding: 20px;
        margin-top: -50px; /* Adjust overlap */
        margin-bottom: 20px;
    }

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

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

    .page-game-bai__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-game-bai__btn-primary,
    .page-game-bai__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
    }

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

    .page-game-bai__sub-title {
        font-size: 1.5em;
    }

    .page-game-bai__paragraph,
    .page-game-bai__list-item {
        font-size: 1em;
    }

    .page-game-bai__games-section,
    .page-game-bai__guide-section,
    .page-game-bai__tips-section,
    .page-game-bai__promotions-section,
    .page-game-bai__faq-section,
    .page-game-bai__conclusion-section {
        padding: 40px 0;
    }

    .page-game-bai__game-cards-grid,
    .page-game-bai__guide-steps,
    .page-game-bai__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    .page-game-bai__promo-item {
        padding-left: 20px;
        padding-right: 15px;
        font-size: 1em;
    }

    .page-game-bai__promo-item::before {
        left: 15px;
        font-size: 1.2em;
    }

    .page-game-bai__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-game-bai__faq-answer {
        padding: 0 20px 15px 20px;
    }

    /* Ensure all content containers are responsive */
    .page-game-bai__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    /* Specific mobile rules from checklist */
    /* HERO 主图区域 */
    .page-game-bai__hero-section {
        padding-top: 10px;
    }
    /* 长文金框区 - This page does not have a dedicated 'long text golden frame' section like homepage, so adapting general content area */
    .page-game-bai__introduction-section .page-game-bai__content-wrapper,
    .page-game-bai__guide-step,
    .page-game-bai__tip-card,
    .page-game-bai__promo-item,
    .page-game-bai__faq-item {
        padding: 20px;
        box-sizing: border-box;
    }
    .page-game-bai__sub-title {
        font-size: 1.3em;
    }

    /* 游戏轮播 - This page uses a grid, not a slider, so adapting grid behavior */
    .page-game-bai__game-cards-grid {
        grid-template-columns: 1fr;
    }
    /* 合作品牌六宫格 - This page does not have this section, so no rule needed */
    /* 博客卡片区 - This page uses general tip cards, not a blog masonry or slider, so adapting grid behavior */
    .page-game-bai__tips-grid {
        grid-template-columns: 1fr;
    }

    /* 通用图片与容器 (already covered above) */
    /* 按钮与按钮容器 (already covered above) */
}