.page-ban-ca {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as per instruction */
  margin-bottom: 40px;
  text-align: center;
  background-color: #f0f8ff; /* Light background for the section */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-ban-ca__hero-content {
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-ban-ca__main-title {
  font-size: 48px;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 20px;
  color: #555555;
  margin-bottom: 30px;
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-ban-ca__btn-primary:hover {
  background: #1e87c2;
  border-color: #1e87c2;
}

.page-ban-ca__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-ban-ca__btn-secondary:hover {
  background: #e0f2f7;
  color: #1e87c2;
  border-color: #1e87c2;
}

/* General Section Styles */
.page-ban-ca__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-ban-ca__introduction-section {
  background-color: #ffffff;
}

.page-ban-ca__game-types-section,
.page-ban-ca__tips-section,
.page-ban-ca__conclusion-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section (white for dark, #333 for light) */
}

.page-ban-ca__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-ban-ca__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}

.page-ban-ca__article-body p {
  margin-bottom: 20px;
}

.page-ban-ca__article-figure {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Game Grid */
.page-ban-ca__game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca__game-card {
  background: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-ban-ca__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-ban-ca__card-text {
  font-size: 16px;
  color: #555555;
  padding: 0 20px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-ban-ca__btn-play {
  display: inline-block;
  background: #EA7C07; /* Login color for play button */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  margin-top: auto;
  max-width: calc(100% - 40px);
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  margin-left: 20px;
  margin-right: 20px;
}

.page-ban-ca__btn-play:hover {
  background: #d66f06;
}

/* Tips List */
.page-ban-ca__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-ban-ca__list-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__list-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-ban-ca__list-item p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Advantages Section */
.page-ban-ca__features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca__feature-item {
  background: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-ban-ca__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-ban-ca__feature-item p {
  font-size: 16px;
  color: #555555;
}

/* Promo Section */
.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-ban-ca__promo-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
}

.page-ban-ca__promo-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-ban-ca__promo-item p {
  font-size: 16px;
  color: #f0f0f0;
}

/* App Section */
.page-ban-ca__app-section {
  background-color: #f8f8f8;
}

.page-ban-ca__app-benefits {
  list-style: disc inside;
  padding-left: 20px;
  font-size: 17px;
  color: #333333;
  max-width: 900px;
  margin: 30px auto;
}

.page-ban-ca__app-benefits li {
  margin-bottom: 10px;
}

.page-ban-ca__app-download-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
}

/* FAQ Section */
.page-ban-ca__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: #f5f5f5;
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__container {
    padding: 15px;
  }

  .page-ban-ca__main-title {
    font-size: 40px;
  }

  .page-ban-ca__hero-description {
    font-size: 18px;
  }

  .page-ban-ca__section-title {
    font-size: 32px;
  }

  .page-ban-ca__game-grid,
  .page-ban-ca__features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-ban-ca__game-card {
    padding-bottom: 20px;
  }

  .page-ban-ca__card-image {
    height: 200px;
  }

  .page-ban-ca__card-title {
    font-size: 20px;
  }

  .page-ban-ca__feature-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }
  .page-ban-ca__hero-image-wrapper {
    max-height: 300px;
  }
  .page-ban-ca__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__hero-content {
    padding: 15px;
    margin-top: 10px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(30px, 8vw, 40px);
    margin-bottom: 15px;
  }
  .page-ban-ca__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 / Game Grid */
  .page-ban-ca__game-grid {
    grid-template-columns: 1fr; /* Single column for games */
    gap: 20px;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-ban-ca__game-card {
    margin-bottom: 0;
  }
  .page-ban-ca__card-image {
    height: 180px;
  }
  
  /* 装饰主标题 + 长文 SEO 区 */
  .page-ban-ca__section {
    padding: 40px 0;
  }
  .page-ban-ca__section-title {
    font-size: clamp(24px, 7vw, 30px);
    margin-bottom: 15px;
    padding: 0 15px;
  }
  .page-ban-ca__section-description {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-ban-ca__article-body {
    font-size: 16px;
    padding: 0 15px;
  }
  .page-ban-ca__article-figure {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-ban-ca__sub-title {
    font-size: 20px;
    padding: 0 15px;
  }
  .page-ban-ca__tips-list,
  .page-ban-ca__promo-list {
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-ban-ca__list-item,
  .page-ban-ca__promo-item {
    padding: 20px;
  }
  .page-ban-ca__list-title,
  .page-ban-ca__promo-title {
    font-size: 18px;
  }

  /* 通用图片与容器 */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ban-ca__container,
  .page-ban-ca__section,
  .page-ban-ca__game-card,
  .page-ban-ca__feature-item,
  .page-ban-ca__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__container {
    padding: 0;
  }

  /* 按钮与按钮容器 */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .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__app-download-cta {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* Features Grid */
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-ban-ca__main-title {
    font-size: clamp(28px, 9vw, 36px);
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-ban-ca__section-title {
    font-size: clamp(22px, 8vw, 28px);
  }
  .page-ban-ca__sub-title {
    font-size: 18px;
  }
  .page-ban-ca__card-title {
    font-size: 20px;
  }
  .page-ban-ca__feature-title {
    font-size: 20px;
  }
  .page-ban-ca__card-image {
    height: 160px;
  }
  .page-ban-ca__btn-play {
    font-size: 14px;
    padding: 10px 20px;
  }
}