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

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

.page-game-bai__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-game-bai__dark-section {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-game-bai__light-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
}

.page-game-bai__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
  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, #2AD16F 0%, #13994A 100%); /* Button gradient */
  border-radius: 2px;
}

.page-game-bai__sub-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-game-bai__description,
.page-game-bai__description-text {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-game-bai__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #08160F;
}

.page-game-bai__hero-image {
  position: relative;
  width: 100%;
  max-height: 70vh; /* Limit height to 70% of viewport height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-bai__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover the area, may crop */
  aspect-ratio: 16/9;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-game-bai__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: #F2FFF6;
  max-width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-game-bai__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Responsive font size */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-game-bai__hero-content .page-game-bai__description {
  font-size: clamp(16px, 2vw, 20px); /* Responsive font size */
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

/* Buttons */
.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__card-btn,
.page-game-bai a[class*="button"],
.page-game-bai a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.page-game-bai__btn-primary,
.page-game-bai__card-btn {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-game-bai__btn-primary:hover,
.page-game-bai__card-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  opacity: 0.9;
}

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

.page-game-bai__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F; /* Background */
  transform: translateY(-3px);
}

/* Content Wrapper with Image */
.page-game-bai__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-game-bai__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-game-bai__text-block {
  flex: 1;
  min-width: 0;
}

.page-game-bai__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #A7D9B8;
}

.page-game-bai__image-block {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-game-bai__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-bai__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-game-bai__game-card .page-game-bai__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-game-bai__game-card .page-game-bai__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-game-bai__game-card .page-game-bai__card-title a:hover {
  text-decoration: underline;
}

.page-game-bai__game-card p {
  font-size: 15px;
  color: #A7D9B8;
  padding: 0 20px;
  margin-bottom: 20px;
}

/* Strategy Section */
.page-game-bai__read-more-btn {
  margin-top: 30px;
  display: inline-block;
}

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

.page-game-bai__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-game-bai__promo-card .page-game-bai__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-game-bai__promo-card p {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 25px;
}

.page-game-bai__all-promos-cta {
    text-align: center;
    margin-top: 50px;
}

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

.page-game-bai__step-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-game-bai__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6;
  font-size: 32px;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-game-bai__step-card .page-game-bai__sub-title {
  font-size: 22px;
  color: #F2C14E;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-game-bai__step-card p {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 20px;
}

.page-game-bai__full-guide-cta {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
details.page-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
}
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(46, 122, 78, 0.2); /* Slightly lighter border color for hover */
}
.page-game-bai__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}
.page-game-bai__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #57E38D; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-game-bai__faq-item .page-game-bai__faq-answer {
  padding: 0 20px 20px;
  background: #0A4B2C; /* Deep Green */
  border-radius: 0 0 5px 5px;
  color: #A7D9B8;
  font-size: 16px;
}

/* Download App Section */
.page-game-bai__app-download-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Conclusion Section */
.page-game-bai__final-cta {
  text-align: center;
  margin-top: 50px;
}

/* General Image Styles (ensure no small icons) */
.page-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-bai__section {
    padding: 40px 0;
  }

  .page-game-bai__section-title {
    font-size: 32px;
  }

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

  .page-game-bai__game-card img {
    
  }

  .page-game-bai__game-card .page-game-bai__card-title {
    font-size: 20px;
  }

  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary,
  .page-game-bai__card-btn {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-game-bai__sub-title {
    font-size: 22px;
  }

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

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-game-bai__hero-section {
    min-height: auto;
    padding-top: 10px; /* Small top padding */
  }

  .page-game-bai__hero-image img {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
    filter: brightness(0.8); /* Slightly less dark for mobile */
  }

  .page-game-bai__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 15px;
    max-width: 100%;
    margin-top: -50px; /* Pull content up slightly over image */
    background: rgba(0, 0, 0, 0.6); /* Darker background for text on mobile */
  }

  .page-game-bai__main-title {
    font-size: clamp(28px, 8vw, 40px); /* Adjust clamp for smaller screens */
    margin-bottom: 15px;
  }

  .page-game-bai__hero-content .page-game-bai__description {
    font-size: clamp(15px, 3vw, 18px);
    margin-bottom: 20px;
  }

  .page-game-bai__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  /* 通用容器和图片 */
  .page-game-bai__container {
    padding: 0 15px;
  }

  .page-game-bai__section {
    padding: 30px 0;
  }

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

  .page-game-bai__section-title::after {
    width: 60px;
    height: 3px;
  }

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

  .page-game-bai p,
  .page-game-bai li {
    font-size: 15px;
  }

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

  .page-game-bai__content-wrapper {
    flex-direction: column; /* Stack text and image vertically */
    gap: 25px;
  }

  .page-game-bai__content-wrapper--reverse {
    flex-direction: column; /* Maintain stacking */
  }

  /* 产品展示图区域 (Games Grid) */
  .page-game-bai__games-grid,
  .page-game-bai__promotions-grid,
  .page-game-bai__guide-steps {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 25px;
    margin-top: 30px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-game-bai__game-card img {
    
  }

  .page-game-bai__game-card .page-game-bai__card-title {
    font-size: 18px;
  }

  .page-game-bai__game-card p {
    font-size: 14px;
    padding: 0 15px;
  }

  /* 通用图片与容器 */
  .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__text-block,
  .page-game-bai__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* 按钮与按钮容器 */
  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary,
  .page-game-bai__card-btn,
  .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__app-download-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 15px;
    flex-direction: column; /* Ensure buttons stack */
  }

  .page-game-bai__all-promos-cta,
  .page-game-bai__full-guide-cta,
  .page-game-bai__final-cta {
    margin-top: 30px;
    padding: 0 15px;
  }

  /* FAQ Section */
  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: 24px; width: 24px; margin-left: 10px; }
  details.page-game-bai__faq-item .page-game-bai__faq-answer { padding: 0 15px 15px; }
}