.page-game-bai {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from body background */
}

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

.page-game-bai__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Minimal top padding */
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.page-game-bai__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Adjust based on desired aspect ratio */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-game-bai__hero-image {
  width: 100%;
  height: 675px; /* Fixed height for desktop */
  object-fit: cover; /* Cover for desktop to fill space */
  display: block;
}

.page-game-bai__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: -150px; /* Overlap slightly for visual effect, but not text on image */
  padding: 30px;
  background: rgba(16, 35, 63, 0.9); /* Card BG with opacity */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border: 1px solid #244D84; /* Border */
}

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

.page-game-bai__description {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-tertiary,
.page-game-bai__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-game-bai__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
  transform: translateY(-2px);
}

.page-game-bai__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #2B73F6; /* Button gradient start color */
}

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

.page-game-bai__section {
  padding: 60px 0;
  position: relative;
}

.page-game-bai__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-game-bai__text-block {
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: justify;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
}

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

.page-game-bai__sub-section {
  margin-top: 40px;
}

.page-game-bai__sub-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  text-align: center;
}

.page-game-bai__list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-game-bai__list li {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-bai__list li::before {
  content: '✓';
  color: #F2C14E; /* Gold */
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.page-game-bai__description-text {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #AFC4E8;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-bai__game-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-game-bai__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-game-bai__game-card-title {
  font-size: 1.4rem;
  color: #F3F8FF; /* Text Main */
  margin: 20px 15px 10px 15px;
  font-weight: 600;
}

.page-game-bai__game-card-description {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 15px 20px 15px;
  flex-grow: 1;
  line-height: 1.6;
}

.page-game-bai__btn-tertiary {
  background: #1D5FD1; /* Auxiliary color */
  color: #F3F8FF;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  margin: 0 15px 20px 15px;
}

.page-game-bai__btn-tertiary:hover {
  background: #2B73F6;
  transform: translateY(-1px);
}

.page-game-bai__cta-more-games {
  text-align: center;
}

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

.page-game-bai__step-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-bai__step-icon {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(43, 115, 246, 0.5);
}

.page-game-bai__step-title {
  font-size: 1.3rem;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-bai__step-card p {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-game-bai__btn-link {
  color: #2B73F6;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid #2B73F6;
}

.page-game-bai__btn-link:hover {
  color: #4FA8FF; /* Glow */
  border-color: #4FA8FF;
}

.page-game-bai__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-game-bai__tips-list li {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-bai__tips-title {
  font-size: 1.3rem;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-game-bai__tips-list p {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
}

.page-game-bai__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-game-bai__promo-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-game-bai__promo-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-game-bai__promo-card-title {
  font-size: 1.4rem;
  color: #F3F8FF; /* Text Main */
  margin: 20px 15px 10px 15px;
  font-weight: 600;
}

.page-game-bai__promo-card-description {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 15px 20px 15px;
  flex-grow: 1;
  line-height: 1.6;
}

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

.page-game-bai__feature-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-game-bai__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(43, 115, 246, 0.1); /* Light blue background for icon */
  padding: 15px;
}

.page-game-bai__feature-title {
  font-size: 1.3rem;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-bai__feature-item p {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
  flex-grow: 1;
}

/* FAQ Styles */
details.page-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
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: #1B3357; /* Divider color for hover */
}
.page-game-bai__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}
.page-game-bai__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  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: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 0.95rem;
  line-height: 1.6;
}


/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-game-bai__hero-content {
    margin-top: -100px;
    padding: 25px;
  }
  .page-game-bai__main-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
  }
  .page-game-bai__description {
    font-size: 1rem;
  }
  .page-game-bai__game-cards-grid,
  .page-game-bai__steps-grid,
  .page-game-bai__promo-cards-grid,
  .page-game-bai__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .page-game-bai__section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  }
  .page-game-bai__sub-section-title,
  .page-game-bai__game-card-title,
  .page-game-bai__step-title,
  .page-game-bai__tips-title,
  .page-game-bai__promo-card-title,
  .page-game-bai__feature-title {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
  }
  .page-game-bai__hero-image {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-game-bai__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* HERO 主图区域 */
  .page-game-bai__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-game-bai__hero-image-wrapper {
    max-height: unset;
  }
  .page-game-bai__hero-image {
    height: auto !important;
    object-fit: contain !important; /* contain for mobile */
    aspect-ratio: unset !important; /* unset aspect ratio for contain */
    width: 100% !important;
    max-width: 100% !important;
  }
  .page-game-bai__hero-content {
    margin-top: -80px; /* Reduced overlap for mobile */
    padding: 20px;
    border-radius: 10px;
  }
  .page-game-bai__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-game-bai__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-game-bai__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  /* 产品展示图区域 */
  .page-game-bai__game-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    overflow-x: hidden;
  }
  .page-game-bai__game-card-image {
    height: 150px;
  }
  .page-game-bai__game-card-title {
    font-size: 1.1rem;
    margin: 15px 10px 8px 10px;
  }
  .page-game-bai__game-card-description {
    font-size: 0.85rem;
    padding: 0 10px 15px 10px;
  }
  .page-game-bai__btn-tertiary {
    padding: 10px 15px;
    margin: 0 10px 15px 10px;
    font-size: 0.9rem;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-game-bai__section {
    padding: 40px 0;
  }
  .page-game-bai__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
    text-align: center;
  }
  .page-game-bai__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: left;
    padding: 0 10px;
  }
  .page-game-bai__list li {
    padding: 15px;
    margin-bottom: 10px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .page-game-bai__list li::before {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  .page-game-bai__sub-section-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-bottom: 15px;
    text-align: center;
  }
  .page-game-bai__description-text {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0 10px;
  }

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

  /* 按钮与按钮容器 */
  .page-game-bai__cta-button,
  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary,
  .page-game-bai__btn-tertiary,
  .page-game-bai__btn-link,
  .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;
  }
  
  .page-game-bai__cta-buttons,
  .page-game-bai__button-group,
  .page-game-bai__btn-container,
  .page-game-bai__hero-buttons {
    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; /* Ensure buttons stack vertically on mobile */
  }

  /* Other grids */
  .page-game-bai__steps-grid,
  .page-game-bai__promo-cards-grid,
  .page-game-bai__features-grid {
    grid-template-columns: 1fr; /* Single column for most grids */
    gap: 20px;
  }

  /* FAQ */
  details.page-game-bai__faq-item summary.page-game-bai__faq-question { padding: 15px; }
  .page-game-bai__faq-qtext { font-size: 15px; }
  details.page-game-bai__faq-item .page-game-bai__faq-answer { padding: 0 15px 15px; }
}