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

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

.page-game-bai__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  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: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%);
  border-radius: 2px;
}

.page-game-bai__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #2F6BFF;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-bai__description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #1F2D3D;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom Button */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

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

.page-game-bai__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF; /* Custom Border */
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.1);
}

.page-game-bai__btn-secondary:hover {
  background: #f0f5ff;
  color: #1F5BCC;
  border-color: #1F5BCC;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.2);
}

.page-game-bai__btn-primary i,
.page-game-bai__btn-secondary i {
  margin-right: 10px;
}

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

.page-game-bai__image-wrapper {
  margin: 30px auto;
  text-align: center;
}

.page-game-bai__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

/* Hero Section */
.page-game-bai__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
  min-height: 500px;
}

.page-game-bai__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.page-game-bai__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.page-game-bai__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual flow */
}

.page-game-bai__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  max-width: 100%;
}

.page-game-bai__hero-content .page-game-bai__description {
  color: #f0f8ff;
  margin-bottom: 40px;
}

.page-game-bai__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Intro Section */
.page-game-bai__intro-section,
.page-game-bai__guide-section,
.page-game-bai__tips-section,
.page-game-bai__faq-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Custom Background */
  color: #1F2D3D;
}

.page-game-bai__game-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-game-bai__game-list li {
  margin-bottom: 10px;
  font-size: 17px;
  color: #1F2D3D;
}

.page-game-bai__game-list li strong {
  color: #2F6BFF;
}

/* Why Choose Section */
.page-game-bai__why-choose-section,
.page-game-bai__promo-section,
.page-game-bai__download-section,
.page-game-bai__conclusion-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
}

.page-game-bai__why-choose-section .page-game-bai__section-title,
.page-game-bai__promo-section .page-game-bai__section-title,
.page-game-bai__download-section .page-game-bai__section-title,
.page-game-bai__conclusion-section .page-game-bai__section-title {
  color: #ffffff;
}

.page-game-bai__why-choose-section .page-game-bai__section-title::after,
.page-game-bai__promo-section .page-game-bai__section-title::after,
.page-game-bai__download-section .page-game-bai__section-title::after,
.page-game-bai__conclusion-section .page-game-bai__section-title::after {
  background: #ffffff;
}

.page-game-bai__why-choose-section .page-game-bai__description,
.page-game-bai__promo-section .page-game-bai__description,
.page-game-bai__download-section .page-game-bai__description,
.page-game-bai__conclusion-section .page-game-bai__description {
  color: #e0f0ff;
}

.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-card {
  background: #ffffff; /* Card B G */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1F2D3D;
  border: 1px solid #D6E2FF; /* Custom Border */
}

.page-game-bai__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-game-bai__feature-card .page-game-bai__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-game-bai__feature-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-game-bai__image-wrapper--center {
  margin-top: 60px;
}

/* Guide Section */
.page-game-bai__step-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-bai__step-list li {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #2F6BFF;
  color: #1F2D3D;
}

.page-game-bai__step-list li:last-child {
  margin-bottom: 0;
}

.page-game-bai__step-list .page-game-bai__step-title {
  font-size: 20px;
  color: #2F6BFF;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-game-bai__step-list p {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 0;
}

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

.page-game-bai__promo-card {
  background: #ffffff; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1F2D3D;
  border: 1px solid #D6E2FF; /* Custom Border */
}

.page-game-bai__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-game-bai__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.page-game-bai__promo-card .page-game-bai__card-title {
  font-size: 20px;
  font-weight: 700;
  color: #2F6BFF;
  padding: 15px 20px 10px;
  margin-top: 0;
}

.page-game-bai__promo-card p {
  font-size: 15px;
  padding: 0 20px 20px;
  line-height: 1.6;
  color: #1F2D3D;
}

/* Tips Section */
.page-game-bai__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #1F2D3D;
}

.page-game-bai__article-body h3 {
  color: #2F6BFF;
  font-size: 22px;
  margin-top: 35px;
  margin-bottom: 15px;
}

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

.page-game-bai__article-figure {
  margin: 40px auto;
}

/* Download Section */
.page-game-bai__download-section .page-game-bai__description {
  margin-bottom: 40px;
}

.page-game-bai__download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-game-bai__download-buttons .page-game-bai__btn-primary {
  min-width: 200px;
}

.page-game-bai__download-app-image {
  max-width: 600px;
  margin-top: 0;
}

/* FAQ Section */
details.page-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Custom Border */
  overflow: hidden;
  background: #ffffff; /* Card B G */
}

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;
  color: #1F2D3D;
}

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: #f5f8fc;
}

.page-game-bai__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-game-bai__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  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: #f9fbfc;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
  font-size: 16px;
}

/* Conclusion Section */
.page-game-bai__conclusion-section .page-game-bai__description {
  margin-bottom: 40px;
}

/* Media Queries for Responsiveness */

/* Tablet and Mobile adjustments */
@media (max-width: 1024px) {
  .page-game-bai__section-title {
    font-size: 32px;
  }

  .page-game-bai__hero-content {
    margin-top: -80px;
  }

  .page-game-bai__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }

  .page-game-bai__description {
    font-size: 16px;
  }

  .page-game-bai__features-grid,
  .page-game-bai__promo-grid {
    gap: 20px;
  }

  .page-game-bai__feature-card,
  .page-game-bai__promo-card {
    padding: 25px;
  }

  .page-game-bai__promo-card img {
    
  }

  .page-game-bai__faq-qtext {
    font-size: 17px;
  }
}

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

  .page-game-bai__hero-section {
    padding-top: 10px;
    min-height: unset;
  }

  .page-game-bai__hero-image {
    max-height: 400px;
  }

  .page-game-bai__hero-image img {
    object-fit: contain !important; /* HERO 主图区域: object-fit:contain */
    aspect-ratio: unset !important;
  }

  .page-game-bai__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
  }

  .page-game-bai__main-title {
    font-size: clamp(26px, 8vw, 38px); /* H1 字号 clamp */
    margin-bottom: 15px;
  }

  .page-game-bai__description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-game-bai__cta-buttons {
    flex-direction: column; /* 按钮垂直排列 */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-game-bai__section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 10px;
  }

  .page-game-bai__sub-title {
    font-size: 20px;
    margin-top: 25px;
  }

  .page-game-bai__intro-section,
  .page-game-bai__why-choose-section,
  .page-game-bai__guide-section,
  .page-game-bai__promo-section,
  .page-game-bai__tips-section,
  .page-game-bai__download-section,
  .page-game-bai__faq-section,
  .page-game-bai__conclusion-section {
    padding: 50px 0;
  }

  .page-game-bai__features-grid,
  .page-game-bai__promo-grid {
    grid-template-columns: 1fr; /* 移动端单列 */
    gap: 20px;
  }

  .page-game-bai__promo-card img {
    
  }

  .page-game-bai__game-list,
  .page-game-bai__step-list {
    padding-left: 15px;
  }

  .page-game-bai__game-list li,
  .page-game-bai__step-list p {
    font-size: 15px;
  }

  .page-game-bai__step-list li {
    padding: 20px;
  }

  .page-game-bai__article-body {
    font-size: 16px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-bai__article-body h3 {
    font-size: 20px;
  }

  .page-game-bai__article-figure {
    margin: 30px auto;
  }

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

  .page-game-bai__image-wrapper,
  .page-game-bai__download-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  .page-game-bai__download-buttons {
    flex-direction: column; /* 多个按钮垂直排列 */
  }

  details.page-game-bai__faq-item summary.page-game-bai__faq-question {
    padding: 15px;
  }

  .page-game-bai__faq-qtext {
    font-size: 16px;
  }

  .page-game-bai__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

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

  .page-game-bai__faq-answer p {
    font-size: 15px;
  }

  .page-game-bai__promo-grid,
  .page-game-bai__features-grid {
    overflow-x: hidden; /* 产品展示图区域: overflow-x:hidden */
  }
}

/* Small mobile adjustments (max-width: 480px) */
@media (max-width: 480px) {
  .page-game-bai__section-title {
    font-size: 24px;
  }

  .page-game-bai__main-title {
    font-size: clamp(24px, 9vw, 32px);
  }

  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary {
    padding: 10px 15px;
    font-size: 15px;
  }

  .page-game-bai__hero-content {
    margin-top: -40px;
  }
}