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

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

.page-game-bai__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.page-game-bai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-game-bai__hero-content {
  position: relative;
  padding: 40px 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  z-index: 1;
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  margin-top: -100px; /* Overlap with image slightly for visual effect */
  border: 1px solid #3A2A12; /* Border */
}

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

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

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

.page-game-bai__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Primary Color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-game-bai__section-text {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

.page-game-bai__section-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #3A2A12;
}

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

.page-game-bai__card {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-game-bai__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
}

.page-game-bai__card-title {
  font-size: 1.8rem;
  color: #F2C14E; /* Primary Color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-bai__card-description {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #ffffff;
  border: none;
}

.page-game-bai__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

.page-game-bai__game-card .page-game-bai__btn-primary {
  margin-top: auto;
  width: 100%;
}

.page-game-bai__guide-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 800px;
}

.page-game-bai__guide-list li {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-game-bai__guide-step-title {
  font-size: 1.5rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-game-bai__guide-list p {
  font-size: 1rem;
  text-align: left;
  margin: 0;
}

.page-game-bai__guide-list a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-game-bai__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-game-bai__tips-list li {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  color: #FFF6D6;
  height: 100%;
  box-sizing: border-box;
}

.page-game-bai__tips-item-title {
  font-size: 1.5rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-game-bai__tips-list p {
  font-size: 1rem;
  text-align: left;
  margin: 0;
}

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

.page-game-bai__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-game-bai__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2C14E; /* Primary Color */
  list-style: none;
}

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

.page-game-bai__faq-toggle {
  font-size: 1.5rem;
  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 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF6D6;
}

.page-game-bai__faq-answer p {
  margin: 0;
  text-align: left;
}

@media (max-width: 1024px) {
  .page-game-bai__hero-content {
    margin-top: -80px;
  }
  .page-game-bai__section-title {
    font-size: 2rem;
  }
  .page-game-bai__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-game-bai__game-cards-grid,
  .page-game-bai__benefits-grid,
  .page-game-bai__promo-cards-grid,
  .page-game-bai__tips-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-game-bai__faq-question {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-game-bai {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-game-bai__hero-section {
    padding-top: 10px; /* HERO 主图区域: top padding ~10px */
  }

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

  .page-game-bai__hero-content {
    padding: 30px 15px;
    margin-top: -60px; /* 长文金框区: adjust margin-top */
  }

  .page-game-bai__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-game-bai__hero-description {
    font-size: 1rem;
  }

  .page-game-bai__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-bai__section {
    padding: 40px 15px;
  }

  .page-game-bai__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-game-bai__section-text {
    font-size: 1rem;
    margin-bottom: 30px;
  }

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

  .page-game-bai__game-cards-grid,
  .page-game-bai__benefits-grid,
  .page-game-bai__promo-cards-grid,
  .page-game-bai__tips-list {
    grid-template-columns: 1fr; /* 游戏轮播/合作品牌六宫格/博客卡片区: All to single column for general card grids */
    gap: 20px;
  }

  .page-game-bai__card {
    padding: 20px;
  }

  .page-game-bai__card-title {
    font-size: 1.5rem;
  }

  .page-game-bai__card-description {
    font-size: 0.95rem;
  }

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

  .page-game-bai__guide-list,
  .page-game-bai__tips-list,
  .page-game-bai__faq-list {
    margin-left: 0;
    margin-right: 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-bai__guide-list li,
  .page-game-bai__tips-list li {
    padding: 20px;
  }

  .page-game-bai__guide-step-title,
  .page-game-bai__tips-item-title {
    font-size: 1.3rem;
  }

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

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

  .page-game-bai__cta-container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* General container adaptation for mobile */
  .page-game-bai__section,
  .page-game-bai__container,
  .page-game-bai__game-cards-grid,
  .page-game-bai__benefits-grid,
  .page-game-bai__promo-cards-grid,
  .page-game-bai__tips-list,
  .page-game-bai__faq-list,
  .page-game-bai__hero-actions {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* Specific for multiple buttons in a row on mobile */
  .page-game-bai__hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .page-game-bai__hero-actions > * {
    width: 100%;
  }

  /* No specific game/gameshow/blog slider/masonry classes on this page, but ensure general image/card rules apply. */
  /* Placeholder for blog masonry if it were present */
  .page-game-bai__blog-masonry { /* If this existed */
    grid-template-columns: 1fr;
  }
  /* Placeholder for blog slider if it were present */
  .page-game-bai__blog-slider-track { /* If this existed */
    display: flex;
    flex-wrap: nowrap; /* Ensure horizontal scroll for sliders */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-game-bai__blog-slide { /* If this existed */
    flex: 0 0 90%; /* Adjust width for mobile slide */
    max-width: 90%;
    scroll-snap-align: start;
  }
}