.page-ban-ca__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Using brand colors */
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__hero-content {
  max-width: 900px;
  padding: 0 20px;
  color: #FFFFFF;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F4F7FB; /* Lighter text for subtitle */
}

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

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

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

.page-ban-ca__btn-secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.page-ban-ca__btn-secondary:hover {
  background: #F4F7FB;
  color: #2F6BFF;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.page-ban-ca__intro-section,
.page-ban-ca__rules-tips-section,
.page-ban-ca__how-to-play-section,
.page-ban-ca__faq-section {
  padding: 60px 0;
  color: #1F2D3D; /* Text Main */
}

.page-ban-ca__game-lobbies-section,
.page-ban-ca__promotions-section,
.page-ban-ca__download-section {
  padding: 60px 0;
  color: #FFFFFF;
}

.page-ban-ca__background-color {
  background: #F4F7FB; /* Background color */
  color: #1F2D3D; /* Text Main */
}

.page-ban-ca__dark-bg {
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #FFFFFF;
}

.page-ban-ca__light-bg {
  background: #FFFFFF;
  color: #1F2D3D;
}

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

.page-ban-ca__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #2F6BFF; /* Main brand color */
}

.page-ban-ca__section-title--white {
  color: #FFFFFF;
}

.page-ban-ca__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-ban-ca__section-description--white {
  color: #F4F7FB;
}

.page-ban-ca__text-block p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

.page-ban-ca__lobbies-grid,
.page-ban-ca__promo-grid,
.page-ban-ca__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-ban-ca__lobby-card,
.page-ban-ca__promo-card,
.page-ban-ca__step-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border color */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__lobby-card:hover,
.page-ban-ca__promo-card:hover,
.page-ban-ca__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__lobby-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-ban-ca__lobby-title,
.page-ban-ca__promo-title,
.page-ban-ca__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-ban-ca__lobby-description,
.page-ban-ca__promo-text,
.page-ban-ca__step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__btn-play,
.page-ban-ca__btn-promo,
.page-ban-ca__btn-link {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-play:hover,
.page-ban-ca__btn-promo:hover,
.page-ban-ca__btn-link:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-1px);
}

.page-ban-ca__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.page-ban-ca__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2F6BFF;
}

.page-ban-ca__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-ban-ca__list li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.page-ban-ca__image-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-ban-ca__feature-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-ban-ca__step-icon {
  width: 50px;
  height: 50px;
  background: #2F6BFF;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

.page-ban-ca__download-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-ban-ca__download-text {
  flex: 1;
}

.page-ban-ca__download-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-ban-ca__btn-download {
  min-width: 180px;
}

.page-ban-ca__download-image-wrapper {
  flex-shrink: 0;
  width: 40%;
  max-width: 450px;
}

.page-ban-ca__download-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* FAQ Styles */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
details.page-ban-ca__faq-item summary.page-ban-ca__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-ban-ca__faq-item summary.page-ban-ca__faq-question::-webkit-details-marker {
  display: none;
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question:hover {
  background: #F4F7FB;
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #000000; /* Custom Color_1776249996415 */
}
.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 20px 20px;
  background: #F4F7FB;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
  font-size: 1rem;
  line-height: 1.7;
}

/* General Image and Container Responsive Styles */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-ban-ca__section,
.page-ban-ca__card,
.page-ban-ca__container,
.page-ban-ca__hero-section,
.page-ban-ca__intro-section,
.page-ban-ca__game-lobbies-section,
.page-ban-ca__rules-tips-section,
.page-ban-ca__promotions-section,
.page-ban-ca__how-to-play-section,
.page-ban-ca__download-section,
.page-ban-ca__faq-section {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-ban-ca__hero-image-wrapper {
    max-height: 500px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-ban-ca__subtitle {
    font-size: 1.1rem;
  }
  .page-ban-ca__content-grid {
    grid-template-columns: 1fr;
  }
  .page-ban-ca__image-block {
    order: -1; /* Move image block above text block on smaller screens */
  }
  .page-ban-ca__download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-ban-ca__download-image-wrapper {
    width: 60%;
    max-width: 400px;
    margin-top: 30px;
  }
  .page-ban-ca__download-text {
    order: 1;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    padding-bottom: 30px;
  }
  .page-ban-ca__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-ban-ca__hero-image {
    object-fit: contain !important; /* Mobile: contain, not cover */
    aspect-ratio: unset !important;
  }
  .page-ban-ca__hero-content {
    padding: 0 15px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem); /* Smaller H1 for mobile */
    margin-bottom: 15px;
  }
  .page-ban-ca__subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-ban-ca__hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 产品展示图区域 / Lobbies Grid */
  .page-ban-ca__lobbies-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-ban-ca__lobby-card {
    padding: 20px;
  }
  .page-ban-ca__lobby-image {
    height: 150px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-ban-ca__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 15px;
  }
  .page-ban-ca__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-ban-ca__text-block p,
  .page-ban-ca__list li {
    font-size: 0.95rem;
  }
  .page-ban-ca__sub-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  .page-ban-ca__content-grid {
    gap: 30px;
    padding: 0 15px;
  }
  .page-ban-ca__feature-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* 通用图片与容器 */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__hero-section,
  .page-ban-ca__intro-section,
  .page-ban-ca__game-lobbies-section,
  .page-ban-ca__rules-tips-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__how-to-play-section,
  .page-ban-ca__download-section,
  .page-ban-ca__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__container {
    padding: 0;
  }

  /* 按钮与按钮容器 (re-iterated for clarity and !important) */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play,
  .page-ban-ca__btn-promo,
  .page-ban-ca__btn-link,
  .page-ban-ca a[class*="button"],
  .page-ban-ca 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-ban-ca__hero-buttons,
  .page-ban-ca__download-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  /* Download Section Mobile */
  .page-ban-ca__download-content {
    padding: 0 15px;
  }
  .page-ban-ca__download-image-wrapper {
    width: 80%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  /* FAQ Mobile */
  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question { padding: 15px; }
  .page-ban-ca__faq-qtext { font-size: 1rem; }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer { padding: 0 15px 15px; }

  /* General padding for sections */
  .page-ban-ca__intro-section,
  .page-ban-ca__game-lobbies-section,
  .page-ban-ca__rules-tips-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__how-to-play-section,
  .page-ban-ca__download-section,
  .page-ban-ca__faq-section {
    padding: 40px 0;
  }
}