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

.page-game-bai__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Adjusted padding-top to 10px */
  background-color: #2F6BFF;
  color: #ffffff;
  overflow: hidden;
}

.page-game-bai__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-game-bai__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

.page-game-bai__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -1px;
}

.page-game-bai__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-game-bai__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-game-bai__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-game-bai__btn-small {
  padding: 8px 18px;
  font-size: 0.95em;
  border-radius: 6px;
}

.page-game-bai__content-area {
  padding: 40px 20px;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-game-bai__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-bai__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #1F2D3D;
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}

.page-game-bai__article-wrap p {
  font-size: 1.05em;
  margin-bottom: 1em;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-game-bai__article-wrap a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

.page-game-bai__article-wrap a:hover {
  text-decoration: underline;
}

.page-game-bai__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 680px;
}

.page-game-bai__img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.page-game-bai__figcaption {
  font-size: 0.9em;
  color: #555;
  margin-top: 10px;
}

.page-game-bai__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-game-bai__game-card {
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D;
}

.page-game-bai__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-game-bai__card-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Min size requirement */
  min-width: 200px;
}

.page-game-bai__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-game-bai__card-text {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 20px;
}

.page-game-bai__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-game-bai__step-card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D;
  text-align: center;
}

.page-game-bai__step-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-game-bai__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  font-size: 1.05em;
  color: #1F2D3D;
}

.page-game-bai__list li {
  margin-bottom: 10px;
}

.page-game-bai__list strong {
  color: #000000; /* Custom Color_1776249996415 */
}

.page-game-bai__advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-game-bai__advantage-card {
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D;
  text-align: center;
}

.page-game-bai__advantage-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-game-bai__promo-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
  text-align: center;
  border: 1px solid #D6E2FF; /* Border */
}

.page-game-bai__promo-title {
  font-size: 1.8em;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-game-bai__promo-box p {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-game-bai__faq-list {
  margin-top: 30px;
}

.page-game-bai__faq-item {
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D;
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  cursor: pointer;
  list-style: none;
  position: relative;
}

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

.page-game-bai__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #2F6BFF;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-toggle {
  transform: rotate(45deg);
}

.page-game-bai__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-game-bai__faq-answer p {
  margin-bottom: 0;
}

.page-game-bai__final-cta-buttons {
  margin-top: 50px;
  margin-bottom: 30px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-game-bai__article-wrap {
    padding: 0 15px;
  }
  .page-game-bai__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-game-bai__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-game-bai {
    font-size: 16px;
    line-height: 1.6;
  }

  /* 1. 顶区标题 + 双 CTA */
  .page-game-bai__hero-section {
    padding: 10px 15px 40px;
  }
  .page-game-bai__hero-image-wrapper {
    max-height: 300px;
  }
  .page-game-bai__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em) !important;
    margin-bottom: 10px;
  }
  .page-game-bai__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-game-bai__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-bai__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 2. 单栏长文容器 */
  .page-game-bai__content-area {
    padding: 30px 0;
  }
  .page-game-bai__article-wrap {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-bai__section-title {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-game-bai__article-wrap p,
  .page-game-bai__list li {
    font-size: 0.95em;
  }
  .page-game-bai__game-list,
  .page-game-bai__step-by-step,
  .page-game-bai__advantages {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-bai__game-card, .page-game-bai__step-card, .page-game-bai__advantage-card {
    padding: 20px;
  }

  /* 3. 通用图片与 figure */
  .page-game-bai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-bai__figure {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-bai__card-img {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* 4. 按钮与按钮容器 (already covered in top-section and general .page-game-bai__btn) */
  .page-game-bai__btn-small {
    width: auto !important; /* Allow smaller buttons to not take full width if in a flex row */
    max-width: 100% !important;
  }
  .page-game-bai__game-card .page-game-bai__btn-small, .page-game-bai__step-card .page-game-bai__btn-small {
    width: 100% !important;
  }

  /* 5. FAQ 区块 */
  .page-game-bai__faq-item {
    margin-bottom: 10px;
  }
  .page-game-bai__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-game-bai__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }
  .page-game-bai__promo-box {
    padding: 20px;
  }
  .page-game-bai__promo-title {
    font-size: 1.5em;
  }

  /* Final CTA buttons */
  .page-game-bai__final-cta-buttons {
    margin-top: 40px;
  }
}