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

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

.page-ban-ca__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff; /* White text for dark background */
}

.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding for hero section */
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

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

.page-ban-ca__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 800;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: clamp(1em, 1.5vw, 1.25em);
  color: #555555;
  margin-bottom: 30px;
}

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

.page-ban-ca__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #017439;
}

.page-ban-ca__dark-bg .page-ban-ca__section-title {
  color: #ffffff;
}

.page-ban-ca__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-ban-ca__dark-bg .page-ban-ca__text-block {
  color: #f0f0f0;
}

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

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

.page-ban-ca__btn-primary:hover {
  background-color: #005f2c;
  border-color: #005f2c;
}

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

.page-ban-ca__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2c;
  border-color: #005f2c;
}

/* Specific colors for Register/Login buttons if needed, overriding general btn-primary/secondary */
.page-ban-ca__hero-cta a.page-ban-ca__btn-primary:first-child { /* Assuming first is Register */
  background-color: #C30808;
  border-color: #C30808;
  color: #FFFF00; /* Register/Login font color */
}
.page-ban-ca__hero-cta a.page-ban-ca__btn-primary:first-child:hover {
  background-color: #a30606;
  border-color: #a30606;
}
.page-ban-ca__hero-cta a.page-ban-ca__btn-secondary:nth-child(2) { /* Assuming second is Login/Download */
  background-color: #C30808;
  border-color: #C30808;
  color: #FFFF00; /* Register/Login font color */
}
.page-ban-ca__hero-cta a.page-ban-ca__btn-secondary:nth-child(2):hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-ban-ca__about-section,
.page-ban-ca__features-section,
.page-ban-ca__guide-section,
.page-ban-ca__game-types-section,
.page-ban-ca__promo-section,
.page-ban-ca__why-choose-section,
.page-ban-ca__faq-section,
.page-ban-ca__cta-section {
  padding: 60px 0;
}

.page-ban-ca__feature-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-ban-ca__feature-item {
  text-align: center;
  max-width: 300px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ban-ca__feature-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-ban-ca__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-ban-ca__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-ban-ca__card img {
  width: 100%;
  height: 200px; /* Fixed height for consistent card images */
  object-fit: cover;
  display: block;
}

.page-ban-ca__card-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #017439;
  padding: 15px 15px 0;
}

.page-ban-ca__card-description {
  font-size: 0.9em;
  color: #555555;
  padding: 10px 15px 20px;
}

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

.page-ban-ca__step-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-ban-ca__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #017439;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-ban-ca__step-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-ban-ca__cta-center {
  text-align: center;
  margin-top: 50px;
}

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

.page-ban-ca__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  border: 1px solid #e0e0e0;
  padding-bottom: 20px;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-ban-ca__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-ban-ca__game-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-ban-ca__game-description {
  font-size: 0.9em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-ban-ca__btn-play {
  background-color: #C30808; /* Use Login/Register color for play button */
  color: #FFFF00;
  border: 2px solid #C30808;
  padding: 12px 25px;
  font-size: 0.95em;
  border-radius: 5px;
}

.page-ban-ca__btn-play:hover {
  background-color: #a30606;
  border-color: #a30606;
}

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

.page-ban-ca__promo-cards .page-ban-ca__card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-ban-ca__promo-cards .page-ban-ca__card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__promo-cards .page-ban-ca__card img {
  
}

.page-ban-ca__promo-cards .page-ban-ca__card-title {
  color: #ffffff;
}

.page-ban-ca__promo-cards .page-ban-ca__card-description {
  color: #f0f0f0;
}

.page-ban-ca__promo-cards .page-ban-ca__btn-primary {
  background-color: #C30808;
  border-color: #C30808;
  color: #FFFF00;
}

.page-ban-ca__promo-cards .page-ban-ca__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

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

.page-ban-ca__advantages-list li {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #333333;
  text-align: left;
  border-left: 5px solid #017439;
}

.page-ban-ca__list-highlight {
  color: #017439;
  font-weight: bold;
}

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
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;
  color: #ffffff;
}
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: rgba(255, 255, 255, 0.15);
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #ffffff;
}
.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  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: rgba(0, 0, 0, 0.05);
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}
.page-ban-ca__faq-answer p {
  margin: 0;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

  .page-ban-ca__hero-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-ban-ca__hero-description {
    font-size: clamp(0.95em, 1.8vw, 1.15em);
  }

  .page-ban-ca__feature-list,
  .page-ban-ca__feature-cards,
  .page-ban-ca__steps,
  .page-ban-ca__game-grid,
  .page-ban-ca__promo-cards {
    gap: 20px;
  }

  .page-ban-ca__card img {
    
  }

  .page-ban-ca__game-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding */
    margin-bottom: 30px;
  }
  .page-ban-ca__hero-image-wrapper {
    max-height: 400px; /* Adjust max height for mobile */
  }
  .page-ban-ca__hero-image {
    object-fit: contain !important; /* Prevent cropping */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__hero-content {
    padding: 30px 15px;
  }
  .page-ban-ca__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-ban-ca__hero-description {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
    margin-bottom: 25px;
  }
  .page-ban-ca__hero-cta {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* 所有图片的基础响应式样式 */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  /* 所有包含图片的容器 */
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__feature-item,
  .page-ban-ca__step-item,
  .page-ban-ca__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-ban-ca__container {
    padding: 0;
  }
  .page-ban-ca__text-block {
    padding: 0 15px;
    margin-bottom: 30px;
  }

  /* 产品展示图区域 (General card/grid for non-homepage) */
  .page-ban-ca__feature-cards,
  .page-ban-ca__game-grid,
  .page-ban-ca__promo-cards {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
    padding: 0 15px;
  }
  .page-ban-ca__card,
  .page-ban-ca__game-card,
  .page-ban-ca__feature-item {
    width: 100%;
    margin-bottom: 0; /* Gap handles spacing */
  }
  .page-ban-ca__card img {
    height: auto; /* Allow auto height */
    max-height: 250px; /* Max height to prevent overly tall images */
  }
  .page-ban-ca__game-card img {
    height: auto;
    max-height: 280px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-ban-ca__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 20px;
    padding: 0 15px;
  }
  .page-ban-ca__text-block {
    font-size: 1em;
    margin-bottom: 25px;
  }

  /* 按钮与按钮容器 */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
  }
  .page-ban-ca__hero-cta a.page-ban-ca__btn-primary:first-child,
  .page-ban-ca__hero-cta a.page-ban-ca__btn-secondary:nth-child(2) {
    padding: 15px 15px !important;
  }

  /* 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; }

  /* Feature list (mobile stack) */
  .page-ban-ca__feature-list {
    flex-direction: column;
    align-items: center;
  }
  .page-ban-ca__feature-item {
    max-width: 100%;
    width: calc(100% - 30px); /* Adjust for padding */
  }

  /* Advantages list */
  .page-ban-ca__advantages-list li {
    font-size: 1em;
    padding: 15px;
  }
}