:root {
  --page-ban-ca-primary-color: #11A84E;
  --page-ban-ca-secondary-color: #22C768;
  --page-ban-ca-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-ban-ca-card-bg: #11271B;
  --page-ban-ca-background: #08160F;
  --page-ban-ca-text-main: #F2FFF6;
  --page-ban-ca-text-secondary: #A7D9B8;
  --page-ban-ca-border-color: #2E7A4E;
  --page-ban-ca-glow-color: #57E38D;
  --page-ban-ca-gold-color: #F2C14E;
  --page-ban-ca-divider-color: #1E3A2A;
  --page-ban-ca-deep-green: #0A4B2C;
}

.page-ban-ca {
  background-color: var(--page-ban-ca-background);
  color: var(--page-ban-ca-text-main); /* Default text color for the page */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Ensure space above footer */
}

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

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
  color: #fff; /* Ensure text is white on hero image */
  text-align: center;
  overflow: hidden;
  border-radius: 0 0 15px 15px;
  background-color: var(--page-ban-ca-deep-green); /* Fallback background for hero if image fails */
}

.page-ban-ca__hero-image {
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-ban-ca__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default cover, will be contain on mobile */
  aspect-ratio: 16/9; /* Maintain aspect ratio */
  border-radius: 10px;
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  padding: 30px 15px 50px;
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--page-ban-ca-text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-ban-ca-text-secondary);
}

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

/* General Buttons */
.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.1em;
  font-weight: 700;
  text-decoration: none;
  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: var(--page-ban-ca-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: var(--page-ban-ca-text-main);
  border: 2px solid var(--page-ban-ca-border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Section Styling */
.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-ban-ca-gold-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-ban-ca-text-secondary);
}

.page-ban-ca__dark-section {
  background-color: var(--page-ban-ca-card-bg); /* Darker background for sections */
  padding: 60px 0;
  margin-bottom: 40px;
  border-radius: 10px;
}

.page-ban-ca__intro-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-ban-ca__why-choose-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-ban-ca__feature-card {
  text-align: center;
}

.page-ban-ca__feature-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-ban-ca__card {
  background-color: var(--page-ban-ca-card-bg);
  border: 1px solid var(--page-ban-ca-border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-ban-ca__card:hover {
  transform: translateY(-5px);
}

.page-ban-ca__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__card-description {
  font-size: 1em;
  color: var(--page-ban-ca-text-secondary);
}

.page-ban-ca__game-types-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-ban-ca__game-card img {
  width: 100%;
  height: 250px; /* Fixed height for game images */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-ban-ca__game-card .page-ban-ca__btn-primary {
  margin-top: 20px;
  width: 100%;
}

.page-ban-ca__guide-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-ban-ca__article-body {
  max-width: 900px;
  margin: 0 auto;
  color: var(--page-ban-ca-text-secondary);
}

.page-ban-ca__article-body h3 {
  color: var(--page-ban-ca-text-main);
  font-size: 1.3em;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-ban-ca__article-body ol,
.page-ban-ca__article-body ul {
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-ban-ca__article-body li {
  margin-bottom: 10px;
  color: var(--page-ban-ca-text-secondary);
}

.page-ban-ca__article-body a {
  color: var(--page-ban-ca-glow-color); /* Link color */
  text-decoration: underline;
}

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

.page-ban-ca__strategy-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-ban-ca__promotions-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-ban-ca__promo-card img {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-ban-ca__promo-card .page-ban-ca__btn-primary {
  margin-top: 20px;
  width: 100%;
}

.page-ban-ca__download-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-ban-ca__download-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-ban-ca__download-image {
  flex-shrink: 0;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ban-ca__download-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__download-text .page-ban-ca__btn-primary {
  margin-top: 30px;
  max-width: 300px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-ban-ca__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--page-ban-ca-border-color);
  overflow: hidden;
  background-color: var(--page-ban-ca-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;
  color: var(--page-ban-ca-text-main);
}
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-color: var(--page-ban-ca-deep-green);
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--page-ban-ca-text-secondary);
  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-color: var(--page-ban-ca-deep-green);
  border-radius: 0 0 5px 5px;
  color: var(--page-ban-ca-text-secondary);
}

.page-ban-ca__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-ban-ca__main-title {
    font-size: 2.8em;
  }
  .page-ban-ca__section-title {
    font-size: 2.2em;
  }
  .page-ban-ca__download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-ban-ca__download-image {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding */
    margin-bottom: 30px;
  }
  .page-ban-ca__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    border-radius: 5px;
  }
  .page-ban-ca__hero-content {
    padding: 20px 10px 30px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(2em, 8vw, 2.5em); /* Use clamp for H1 */
    margin-bottom: 10px;
  }
  .page-ban-ca__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-ban-ca__hero-cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    padding: 0 15px;
  }

  /* 通用图片与容器 */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ban-ca__container,
  .page-ban-ca__intro-section,
  .page-ban-ca__why-choose-section,
  .page-ban-ca__game-types-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__strategy-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__download-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__dark-section {
    padding: 40px 15px;
    margin-bottom: 30px;
  }

  /* 产品展示图区域 (features-grid, game-list, promo-grid) */
  .page-ban-ca__features-grid,
  .page-ban-ca__game-list,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr !important; /* Single column layout for mobile */
    gap: 20px;
    overflow-x: hidden;
  }
  .page-ban-ca__feature-card img,
  .page-ban-ca__game-card img,
  .page-ban-ca__promo-card img {
     /* Adjust image height for mobile cards */
  }
  .page-ban-ca__card {
    padding: 20px;
  }
  .page-ban-ca__card-title {
    font-size: 1.3em;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-ban-ca__section-title {
    font-size: clamp(1.8em, 7vw, 2em); /* Clamp for section titles */
    margin-bottom: 30px;
  }
  .page-ban-ca__text-block {
    font-size: 1em;
    text-align: left; /* Align text left for better readability on mobile */
  }
  .page-ban-ca__article-body {
    padding: 0;
  }
  .page-ban-ca__article-body h3 {
    font-size: 1.2em;
  }
  .page-ban-ca__article-figure {
    margin: 20px auto;
  }
  
  /* 按钮与按钮容器 */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-ban-ca__conclusion-cta {
    flex-direction: column !important; /* Ensure vertical stacking on mobile */
    gap: 15px;
  }
  .page-ban-ca__download-text .page-ban-ca__btn-primary {
    max-width: 100% !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;
  }

  .page-ban-ca__download-image {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 9vw, 2.2em);
  }
  .page-ban-ca__section-title {
    font-size: clamp(1.6em, 8vw, 1.8em);
  }
}