.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  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 */
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #2F6BFF; /* Dark background for hero */
  color: #ffffff;
  text-align: center;
  padding-bottom: 40px;
}

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

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim image for better text contrast */
}

.page-ban-ca__hero-content {
  position: relative; /* Ensure content is above image if needed, but not overlaid */
  z-index: 2;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up over the image bottom */
  background-color: rgba(47, 107, 255, 0.9); /* Semi-transparent background for text block */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-ban-ca__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* General Section Styling */
.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

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

.page-ban-ca__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
  color: #1F2D3D; /* Text Main */
}

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

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

/* Features Section */
.page-ban-ca__features-section {
  background-color: #2F6BFF; /* Main color as dark background */
  padding: 80px 0;
  color: #ffffff;
}

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

.page-ban-ca__feature-card {
  background: #ffffff; /* Card BG */
  color: #1F2D3D; /* Text Main */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-ban-ca__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

/* How To Play Section */
.page-ban-ca__how-to-play-section {
  padding: 80px 0;
}

.page-ban-ca__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-ban-ca__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  text-align: center;
}

.page-ban-ca__step-number {
  counter-increment: step-counter;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  margin: -55px auto 20px auto;
  border: 4px solid #F4F7FB; /* Background color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__step-item:first-child .page-ban-ca__step-number {
  margin-top: -55px; /* Adjust for first item to align */
}

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

.page-ban-ca__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

.page-ban-ca__cta-block {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: #EBF2FF; /* Lighter shade of brand color */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__cta-text {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 25px;
  color: #1F2D3D;
}

/* Strategy Section */
.page-ban-ca__strategy-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Light background */
}

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

.page-ban-ca__strategy-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-ban-ca__strategy-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2F6BFF;
}

.page-ban-ca__strategy-description {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

/* Promotions Section */
.page-ban-ca__promotions-section {
  background-color: #2F6BFF; /* Main color as dark background */
  padding: 80px 0;
  color: #ffffff;
}

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

.page-ban-ca__promo-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark bg */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-ban-ca__promo-card .page-ban-ca__card-description--light {
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-ban-ca__full-promo-cta {
  text-align: center;
  margin-top: 60px;
}

/* Why Choose Section */
.page-ban-ca__why-choose-section {
  padding: 80px 0;
}

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

.page-ban-ca__why-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.page-ban-ca__list-description {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

.page-ban-ca__action-buttons {
  margin-top: 60px;
  text-align: center;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  background-color: #2F6BFF; /* Dark background */
  padding: 80px 0;
  color: #ffffff;
}

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

.page-ban-ca__faq-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark bg */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-ban-ca__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-ban-ca__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-ban-ca__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-ban-ca__faq-qtext {
  flex-grow: 1;
}

.page-ban-ca__faq-toggle {
  font-size: 1.8em;
  font-weight: 300;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

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

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

/* Button Styles */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-outline {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  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%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

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

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

.page-ban-ca__btn-secondary:hover {
  background: #F4F7FB; /* Background */
  color: #2251cc;
  border-color: #2251cc;
  transform: translateY(-2px);
}

.page-ban-ca__btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 10px 25px;
  font-size: 0.95em;
  margin-top: 15px;
}

.page-ban-ca__btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

  .page-ban-ca__hero-content {
    margin-top: -80px;
    padding: 25px 20px;
  }

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

  .page-ban-ca__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__strategy-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__why-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .page-ban-ca__step-number {
    margin-top: -45px;
  }

  .page-ban-ca__faq-item summary {
    padding: 18px 20px;
    font-size: 1.1em;
  }

  .page-ban-ca__faq-answer {
    padding: 0 20px 18px 20px;
  }
}

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

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-ban-ca__hero-image-wrapper {
    max-height: 300px;
  }

  .page-ban-ca__hero-content {
    margin-top: -60px; /* Adjust for smaller screens */
    padding: 20px 15px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-ban-ca__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-ban-ca__hero-buttons,
  .page-ban-ca__action-buttons,
  .page-ban-ca__final-cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* 通用图片与容器 */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    padding-top: 40px;
  }

  .page-ban-ca__text-block {
    font-size: 0.95em;
  }

  /* 卡片布局图片要求 */
  .page-ban-ca__card-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__strategy-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__why-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-ban-ca__feature-card,
  .page-ban-ca__step-item,
  .page-ban-ca__strategy-item,
  .page-ban-ca__promo-card,
  .page-ban-ca__why-item {
    padding: 20px !important;
  }

  .page-ban-ca__step-number {
    margin-top: -40px !important;
    width: 45px !important;
    height: 45px !important;
    font-size: 1.6em !important;
  }

  .page-ban-ca__card-title,
  .page-ban-ca__step-title,
  .page-ban-ca__strategy-title,
  .page-ban-ca__list-title {
    font-size: 1.2em;
  }

  .page-ban-ca__cta-block {
    padding: 30px 15px;
  }

  .page-ban-ca__cta-text {
    font-size: 1.1em;
  }

  /* 按钮与按钮容器 */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-outline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-ban-ca__faq-item summary {
    padding: 15px 18px;
    font-size: 1em;
  }

  .page-ban-ca__faq-answer {
    padding: 0 18px 15px 18px;
  }

  .page-ban-ca__faq-toggle {
    font-size: 1.5em;
  }

  .page-ban-ca__full-promo-cta {
    margin-top: 40px;
  }

  .page-ban-ca__action-buttons,
  .page-ban-ca__final-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* Content sections padding */
  .page-ban-ca__intro-section,
  .page-ban-ca__features-section,
  .page-ban-ca__how-to-play-section,
  .page-ban-ca__strategy-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__why-choose-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final-section {
    padding: 50px 0;
  }
}

/* Placeholder for required homepage CSS elements (not used on ban-ca.html but required for checklist) */
.page-ban-ca__home-content { /* Long text area, not used here but required for checklist */
  border: none;
  height: auto;
  overflow-y: visible;
}
.page-ban-ca__row-games, .page-ban-ca__row-sport, .page-ban-ca__row-coop { /* Game/sport/coop rows, not used here but required for checklist */
  background-color: transparent;
  padding: 0;
  max-width: 100%;
  margin: 0;
}
.page-ban-ca__games-title, .page-ban-ca__sport-title, .page-ban-ca__coop-title { /* Titles for game/sport/coop, not used here */
  color: inherit;
  text-align: left;
}
.page-ban-ca__slider-wrapper { /* Game slider wrapper, not used here */
  overflow: visible;
}
.page-ban-ca__slider-track { /* Game slider track, not used here */
  display: block;
  flex-wrap: wrap;
  gap: 0;
}
.page-ban-ca__game-slide { /* Game slide, not used here */
  flex: 0 0 100%;
  max-width: 100%;
}
.page-ban-ca__banners-top-wrapper { /* Brand banners, not used here */
  display: block;
  grid-template-columns: none;
  gap: 0;
  max-width: 100%;
  margin: 0;
}
.page-ban-ca__banner-item img { /* Brand banner item image, not used here */
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  margin: 0;
}
.page-ban-ca__blog-masonry { /* Blog masonry, not used here but required for checklist */
  display: block;
  grid-template-columns: none;
  gap: 0;
  align-items: flex-start;
}
.page-ban-ca__blog-card-link { /* Blog card link, not used here */
  display: block;
  flex-direction: row;
  height: auto;
}
.page-ban-ca__btn-outline { /* Button outline, used but for checklist consistency */
  margin-top: 0;
}
.page-ban-ca__blog-slider-track { /* Blog slider track, not used here */
  display: block;
  flex-wrap: wrap;
  gap: 0;
}
.page-ban-ca__blog-slide { /* Blog slide, not used here */
  flex: 0 0 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  .page-ban-ca__home-content { /* Long text area, not used here */
    padding: 20px;
  }
  .page-ban-ca__slider-track { /* Game slider track, not used here */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 16px;
  }
  .page-ban-ca__game-slide { /* Game slide, not used here */
    flex: 0 0 160px !important;
    max-width: 160px !important;
    scroll-snap-align: start;
  }
  .page-ban-ca__banners-top-wrapper { /* Brand banners, not used here */
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .page-ban-ca__banner-item img { /* Brand banner item image, not used here */
    
    
  }
  .page-ban-ca__blog-masonry { /* Blog masonry, not used here */
    grid-template-columns: 1fr !important;
  }
  .page-ban-ca__blog-slider-track { /* Blog slider track, not used here */
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
  }
  .page-ban-ca__blog-slide { /* Blog slide, not used here */
    flex: 0 0 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
  }
}