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

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

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Main gradient from palette */
  color: #ffffff;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.page-ban-ca__main-hero-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-ban-ca__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Brand color */
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* General Section Styling */
.page-ban-ca__section {
  padding: 80px 0;
  overflow: hidden;
}

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

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

.page-ban-ca__section-description {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #333333;
}

.page-ban-ca__section-description--white {
  color: rgba(255, 255, 255, 0.9);
}

.page-ban-ca__light-bg {
  background: #F4F7FB; /* Background color from custom palette */
  color: #333333;
}

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

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

.page-ban-ca__highlight {
  color: #2F6BFF;
  font-weight: 700;
}

.page-ban-ca__dark-bg .page-ban-ca__highlight,
.page-ban-ca__background-gradient .page-ban-ca__highlight {
  color: #A5C4FF; /* Glow color for highlight on dark background */
}

/* About Game Section */
.page-ban-ca__about-game-section .page-ban-ca__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-ban-ca__about-game-section .page-ban-ca__text-block {
  flex: 1;
}

.page-ban-ca__about-game-section .page-ban-ca__text-block p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #1F2D3D; /* Text Main */
}

.page-ban-ca__about-game-section .page-ban-ca__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-ban-ca__about-game-section .page-ban-ca__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__btn-inline {
  margin-top: 20px;
}

/* Game Types Section */
.page-ban-ca__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-ban-ca__game-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-ban-ca__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 20px 20px 10px;
  color: #1F2D3D; /* Text Main */
}

.page-ban-ca__card-title a {
  color: #1F2D3D; /* Text Main */
  text-decoration: none;
}

.page-ban-ca__card-title a:hover {
  color: #2F6BFF; /* Main color on hover */
  text-decoration: underline;
}

.page-ban-ca__card-text {
  font-size: 0.95rem;
  color: #333333;
  padding: 0 20px 20px;
}

/* Guide Section */
.page-ban-ca__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-ban-ca__guide-step {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-ban-ca__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-ban-ca__guide-step p {
  font-size: 1rem;
  color: #1F2D3D;
}

.page-ban-ca__btn-center {
  display: block;
  margin: 50px auto 0;
  max-width: 300px;
}

/* Strategy Section */
.page-ban-ca__strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-ban-ca__strategy-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-ban-ca__strategy-card .page-ban-ca__card-title {
  color: #A5C4FF; /* Glow color */
  margin-bottom: 15px;
}

.page-ban-ca__strategy-card .page-ban-ca__card-text {
  color: rgba(255, 255, 255, 0.9);
}

/* Promotions Section */
.page-ban-ca__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-ban-ca__promotion-card {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__promotion-card .page-ban-ca__card-image {
  height: 220px;
}

/* Why Choose Section */
.page-ban-ca__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-ban-ca__feature-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-ban-ca__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #A5C4FF;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.page-ban-ca__feature-item .page-ban-ca__feature-text {
  color: rgba(255, 255, 255, 0.9);
}

.page-ban-ca__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.page-ban-ca__icon--security {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23A5C4FF"%3E%3Cpath d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.79z"/%3E%3C/svg%3E');
}

.page-ban-ca__icon--fast {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23A5C4FF"%3E%3Cpath d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.26 20.35 10.5 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"/%3E%3C/svg%3E');
}

.page-ban-ca__icon--support {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23A5C4FF"%3E%3Cpath d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/%3E%3C/svg%3E');
}

.page-ban-ca__icon--mobile {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23A5C4FF"%3E%3Cpath d="M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"/%3E%3C/svg%3E');
}

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border color */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
}
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: #1F2D3D; /* Text Main */
}
.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: #333333;
}

/* Final CTA Section */
.page-ban-ca__cta-final-section {
  padding: 100px 0;
  text-align: center;
}

.page-ban-ca__cta-final-content {
  max-width: 900px;
}

/* Global image responsiveness */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-section {
    padding-bottom: 40px;
  }
  .page-ban-ca__main-hero-img {
    max-width: 90%;
  }
  .page-ban-ca__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-ban-ca__subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  }
  .page-ban-ca__section {
    padding: 60px 0;
  }
  .page-ban-ca__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-ban-ca__section-description {
    margin-bottom: 40px;
  }
  .page-ban-ca__about-game-section .page-ban-ca__content-wrapper {
    flex-direction: column;
  }
  .page-ban-ca__about-game-section .page-ban-ca__image-block {
    order: -1; /* Image above text on smaller screens */
  }
  .page-ban-ca__card-image {
    height: 180px;
  }
  .page-ban-ca__cta-final-section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 30px;
  }
  .page-ban-ca__hero-image {
    margin-bottom: 15px;
  }
  .page-ban-ca__main-hero-img {
    object-fit: contain !important; /* Prevent cropping */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio */
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0;
  }
  .page-ban-ca__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 10px;
  }
  .page-ban-ca__subtitle {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    margin-bottom: 20px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .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;
  }

  /* 通用图片与容器 */
  .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__content-wrapper,
  .page-ban-ca__game-grid,
  .page-ban-ca__guide-steps,
  .page-ban-ca__strategy-cards,
  .page-ban-ca__promotion-grid,
  .page-ban-ca__feature-grid,
  .page-ban-ca__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-ban-ca__section {
    padding: 40px 0;
  }
  .page-ban-ca__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 15px;
  }
  .page-ban-ca__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-ban-ca__about-game-section .page-ban-ca__text-block p {
    font-size: 0.95rem;
  }

  /* 产品展示图区域 (Game Grid) */
  .page-ban-ca__game-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-ban-ca__game-card .page-ban-ca__card-image {
    height: 150px;
  }
  .page-ban-ca__card-title {
    font-size: 1.2rem;
    margin: 15px 15px 5px;
  }
  .page-ban-ca__card-text {
    font-size: 0.85rem;
    padding: 0 15px 15px;
  }

  /* Guide Steps */
  .page-ban-ca__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__guide-step {
    padding: 20px;
  }
  .page-ban-ca__step-title {
    font-size: 1.3rem;
  }

  /* Strategy Cards */
  .page-ban-ca__strategy-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__strategy-card {
    padding: 20px;
  }

  /* Promotion Grid */
  .page-ban-ca__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__promotion-card .page-ban-ca__card-image {
    height: 180px;
  }

  /* Why Choose Section */
  .page-ban-ca__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__feature-item {
    padding: 20px;
  }
  .page-ban-ca__feature-title {
    font-size: 1.1rem;
  }

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

  /* Final CTA */
  .page-ban-ca__cta-final-section {
    padding: 60px 0;
  }
  .page-ban-ca__cta-final-content .page-ban-ca__cta-buttons {
    flex-direction: column;
  }
}