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

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

/* Hero Section */
.page-game-bai__hero-section {
    position: relative;
    padding-top: 10px; /* Fixed header spacing */
    background-color: #0A0A0A;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-game-bai__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for desktop */
    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: 10;
    padding: 40px 20px;
    max-width: 900px;
    color: #FFF6D6;
}

.page-game-bai__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFD36B; /* Glow */
}

.page-game-bai__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-game-bai__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Section Titles */
.page-game-bai__section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #FFD36B;
    padding-top: 40px;
}

.page-game-bai__section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #FFF6D6;
}

/* Article Body for text sections */
.page-game-bai__article-body {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #FFF6D6;
    padding-bottom: 40px;
}

.page-game-bai__article-body p {
    margin-bottom: 1em;
}

.page-game-bai__article-body strong {
    color: #FFD36B;
}

/* Buttons */
.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-small {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-game-bai__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border: 2px solid transparent;
}

.page-game-bai__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-game-bai__btn-secondary {
    background: #111111; /* Card BG */
    color: #FFD36B; /* Glow */
    border: 2px solid #3A2A12; /* Border */
}

.page-game-bai__btn-secondary:hover {
    background: #FFD36B;
    color: #111111;
    border-color: #FFD36B;
}

.page-game-bai__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 25px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border: none;
}

.page-game-bai__btn-small:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    box-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

/* Games Showcase Section */
.page-game-bai__games-showcase-section {
    background-color: #0A0A0A; /* Background */
    padding: 60px 0;
}

.page-game-bai__games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.page-game-bai__game-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-bai__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 211, 107, 0.2);
}

.page-game-bai__game-image {
    width: 100%;
    height: 267px; /* Maintain 600x400 aspect ratio for 400px width */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-game-bai__game-title {
    font-size: 1.4rem;
    color: #FFD36B; /* Glow */
    margin: 15px 10px 10px;
}

.page-game-bai__game-link {
    color: #FFD36B;
    text-decoration: none;
}

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

.page-game-bai__game-description {
    font-size: 0.95rem;
    color: #FFF6D6;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-bai__cta-buttons-wrapper {
    text-align: center;
    margin-top: 40px;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.page-game-bai__features-section {
    background-color: #111111; /* Card BG - Light BG for contrast */
    padding: 60px 0;
    color: #FFF6D6;
}

.page-game-bai__features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.page-game-bai__feature-item {
    text-align: center;
    padding: 20px;
    background-color: #0A0A0A;
    border-radius: 15px;
    border: 1px solid #3A2A12;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-bai__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(255, 211, 107, 0.15);
}

.page-game-bai__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__feature-title {
    font-size: 1.3rem;
    color: #FFD36B;
    margin-bottom: 10px;
}

.page-game-bai__feature-description {
    font-size: 1rem;
    color: #FFF6D6;
}

/* Promotions Section */
.page-game-bai__promotions-section {
    background-color: #0A0A0A; /* Background */
    padding: 60px 0;
}

.page-game-bai__promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.page-game-bai__promo-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-bai__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 211, 107, 0.2);
}

.page-game-bai__promo-image {
    width: 100%;
    height: 225px; /* Maintain 800x450 aspect ratio for 400px width */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-game-bai__promo-title {
    font-size: 1.4rem;
    color: #FFD36B;
    margin: 15px 10px 10px;
}

.page-game-bai__promo-description {
    font-size: 0.95rem;
    color: #FFF6D6;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Download CTA Section */
.page-game-bai__download-cta-section {
    background-color: #111111; /* Card BG - Light BG for contrast */
    padding: 60px 0;
    color: #FFF6D6;
}

.page-game-bai__download-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.page-game-bai__download-text {
    flex: 1;
}

.page-game-bai__download-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.page-game-bai__download-image-wrapper {
    flex-shrink: 0;
    width: 500px;
    height: 375px; /* Maintain 800x600 aspect ratio */
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid #3A2A12;
}

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

/* FAQ Section */
details.page-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}
details.page-game-bai__faq-item summary.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-game-bai__faq-item summary.page-game-bai__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-bai__faq-item summary.page-game-bai__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.page-game-bai__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B;
}
.page-game-bai__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF6D6;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-game-bai__faq-item .page-game-bai__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}
.page-game-bai__faq-answer p {
    margin-top: 10px;
}

/* Contact CTA Section */
.page-game-bai__contact-cta-section {
    background-color: #0A0A0A; /* Background */
    padding: 60px 0;
    text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-bai__games-grid,
    .page-game-bai__features-grid,
    .page-game-bai__promo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .page-game-bai__download-content {
        flex-direction: column;
        text-align: center;
    }
    .page-game-bai__download-image-wrapper {
        width: 100%;
        height: auto;
        max-width: 500px;
    }
    .page-game-bai__download-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-game-bai__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO 主图区域 */
    .page-game-bai__hero-section {
        padding-top: 10px; /* Small top padding */
    }
    .page-game-bai__hero-image-wrapper {
        max-height: 400px;
    }
    .page-game-bai__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
    }
    .page-game-bai__hero-content {
        padding: 20px 15px;
    }
    .page-game-bai__main-title {
        font-size: 2rem;
    }
    .page-game-bai__hero-description {
        font-size: 1rem;
    }
    .page-game-bai__hero-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    /* 产品展示图区域 */
    .page-game-bai__games-showcase-section {
        overflow-x: hidden;
    }
    .page-game-bai__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-game-bai__game-image {
        height: auto;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-game-bai__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        padding-top: 20px;
    }
    .page-game-bai__section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-game-bai__article-body {
        font-size: 1rem;
        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;
    }
    .page-game-bai__feature-icon,
    .page-game-bai__promo-image,
    .page-game-bai__download-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* 按钮与按钮容器 */
    .page-game-bai__btn-primary,
    .page-game-bai__btn-secondary,
    .page-game-bai__btn-small {
        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__hero-buttons,
    .page-game-bai__download-buttons,
    .page-game-bai__cta-buttons-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column;
    }

    /* Other sections */
    .page-game-bai__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-game-bai__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    details.page-game-bai__faq-item summary.page-game-bai__faq-question {
        padding: 15px;
    }
    .page-game-bai__faq-qtext {
        font-size: 1rem;
    }
    .page-game-bai__faq-answer {
        padding: 0 15px 15px;
    }
}