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

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

.page-ban-ca__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-ban-ca__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  color: inherit;
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

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

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

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

.page-ban-ca__hero-content {
  max-width: 900px;
  padding: 0 15px;
}

.page-ban-ca__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-ban-ca__hero-cta-buttons,
.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-ban-ca__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-ban-ca__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-ban-ca__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Intro Section */
.page-ban-ca__intro-section {
  padding: 60px 0;
}

.page-ban-ca__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

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

.page-ban-ca__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #333333;
}

.page-ban-ca__image-block {
  flex: 1;
  min-width: 300px;
}

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

/* Featured Games Section */
.page-ban-ca__featured-games-section {
  padding: 60px 0;
}

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

.page-ban-ca__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #333333;
}

.page-ban-ca__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-ban-ca__game-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-ban-ca__game-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Advantages Section */
.page-ban-ca__advantages-section {
  padding: 60px 0;
}

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

.page-ban-ca__advantage-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.page-ban-ca__advantage-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-ban-ca__advantage-item p {
  font-size: 0.95em;
  color: #555555;
}

.page-ban-ca__center-cta {
  text-align: center;
  margin-top: 30px;
}

/* Guide Section */
.page-ban-ca__guide-section {
  padding: 60px 0;
}

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

.page-ban-ca__guide-step-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-ban-ca__step-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-ban-ca__guide-step-item p {
  font-size: 0.95em;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* Tips Section */
.page-ban-ca__tips-section {
  padding: 60px 0;
}

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

.page-ban-ca__tip-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.page-ban-ca__tip-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-ban-ca__tip-item p {
  font-size: 0.95em;
  color: #555555;
}

/* Promotions Section */
.page-ban-ca__promotions-section {
  padding: 60px 0;
}

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

.page-ban-ca__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-ban-ca__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-ban-ca__promo-card p {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-ban-ca__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf7ff;
  border-bottom: 1px solid #d0e9ff;
  list-style: none; /* For details/summary */
}

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

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  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: 15px 25px 25px;
  font-size: 0.95em;
  color: #555555;
  background-color: #ffffff;
}

.page-ban-ca__faq-answer p {
  margin-bottom: 10px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-ban-ca__section-title {
    font-size: 2em;
  }

  .page-ban-ca__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-ban-ca__image-block {
    min-width: unset;
    width: 100%;
  }

  .page-ban-ca__game-grid,
  .page-ban-ca__advantages-grid,
  .page-ban-ca__guide-steps,
  .page-ban-ca__tips-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-ban-ca__hero-image,
  .page-ban-ca__content-image,
  .page-ban-ca__game-thumbnail,
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-ban-ca__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-ban-ca__hero-description {
    font-size: 1em;
  }

  .page-ban-ca__hero-cta-buttons,
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 按钮与按钮容器 */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-small,
  .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__section-title {
    font-size: 1.8em;
  }

  .page-ban-ca__section-description {
    font-size: 0.95em;
  }

  .page-ban-ca__container,
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__content-wrapper,
  .page-ban-ca__game-grid,
  .page-ban-ca__advantages-grid,
  .page-ban-ca__guide-steps,
  .page-ban-ca__tips-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  .page-ban-ca__game-grid,
  .page-ban-ca__advantages-grid,
  .page-ban-ca__guide-steps,
  .page-ban-ca__tips-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
  }

  /* 长文金框区 (General content text blocks) */
  .page-ban-ca__text-block p {
    font-size: 1em;
  }

  /* 游戏轮播 (Placeholder for general carousel rules) */
  .page-ban-ca__slider-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .page-ban-ca__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 15px;
  }
  .page-ban-ca__game-slide {
    flex: 0 0 80% !important;
    max-width: 80% !important;
  }

  /* 合作品牌六宫格 (Placeholder for general grid rules) */
  .page-ban-ca__banners-top-wrapper {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
  }
  .page-ban-ca__banner-item img {
    
    
  }

  /* 博客卡片区 (Placeholder for general blog rules) */
  .page-ban-ca__blog-masonry {
    grid-template-columns: 1fr !important;
  }
  .page-ban-ca__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .page-ban-ca__blog-slide {
    flex: 0 0 90% !important;
    max-width: 90% !important;
  }

  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-ban-ca__faq-answer {
    padding: 10px 20px 20px;
  }
}