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

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

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

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

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  text-align: center;
  padding-bottom: 40px;
  overflow: hidden;
}

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

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

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

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

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

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

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

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

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

.page-ban-ca__btn-secondary:hover {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
}

.page-ban-ca__btn-outline {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

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

.page-ban-ca__section-text {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: inherit;
}

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

.page-ban-ca__introduction-section,
.page-ban-ca__guide-section,
.page-ban-ca__promotions-section,
.page-ban-ca__advantages-section,
.page-ban-ca__faq-section,
.page-ban-ca__conclusion-section {
  padding: 60px 0;
}

.page-ban-ca__game-types {
  padding: 60px 0;
}

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

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

.page-ban-ca__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-ban-ca__card-description {
  font-size: 1em;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__game-card .page-ban-ca__btn-outline {
  margin-top: auto;
  align-self: center;
}

.page-ban-ca__guide-list,
.page-ban-ca__strategy-list,
.page-ban-ca__promo-list {
  list-style-type: disc;
  padding-left: 30px;
  margin-top: 20px;
  color: inherit;
}

.page-ban-ca__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-ban-ca__advantage-item {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

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

.page-ban-ca__faq-list {
  margin-top: 30px;
}

.page-ban-ca__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  color: #333333;
  background-color: #f0f0f0;
  list-style: none;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  background-color: #e6e6e6;
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  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 20px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

.page-ban-ca__faq-answer p {
  margin: 0;
}

.page-ban-ca__conclusion-section .page-ban-ca__section-text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: #f0f0f0;
}

.page-ban-ca__conclusion-section .page-ban-ca__btn-primary {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* --- CSS for Homepage modules, required even if not used in HTML --- */
/* This section is included as per "首页模块3-6必出CSS模板" requirement */
.page-ban-ca__home-content {
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: 650px;
  overflow-y: auto;
  padding: 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.page-ban-ca__row-games,
.page-ban-ca__row-sport,
.page-ban-ca__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-ban-ca__games-title,
.page-ban-ca__sport-title,
.page-ban-ca__coop-title {
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
}

.page-ban-ca__slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 0 40px;
}

.page-ban-ca__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
}

.page-ban-ca__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  background-color: #333;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 15px;
}

.page-ban-ca__game-slide img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}

.page-ban-ca__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.page-ban-ca__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-ban-ca__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
}

.page-ban-ca__blog-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-ban-ca__blog-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.page-ban-ca__blog-card-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__blog-card-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
  text-decoration: none;
}

.page-ban-ca__blog-card-title:hover {
  text-decoration: underline;
}

.page-ban-ca__blog-card-excerpt {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-ban-ca__blog-card-link {
  display: inline-block;
  text-decoration: none;
  color: #26A9E0;
  font-weight: bold;
  margin-top: auto;
}

.page-ban-ca__blog-card-link:hover {
  text-decoration: underline;
}

.page-ban-ca__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.page-ban-ca__blog-slide {
  flex: 0 0 calc(33.333% - 14px); /* For 3 items with 20px gap */
  max-width: calc(33.333% - 14px);
}

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

  .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: 20px !important;
  }

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

  .page-ban-ca__hero-title {
    font-size: 2em !important;
  }

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

  .page-ban-ca__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 按钮与按钮容器 */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-outline,
  .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__hero-buttons,
  .page-ban-ca__game-card .page-ban-ca__btn-outline,
  .page-ban-ca__conclusion-section .page-ban-ca__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* For multiple buttons */
    gap: 10px;
  }

  /* 通用图片与容器 */
  .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__game-grid,
  .page-ban-ca__advantage-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__section-title {
    font-size: 1.8em !important;
  }

  .page-ban-ca__section-text {
    font-size: 1em !important;
  }

  /* 长文金框区 (if present, for homepage) */
  .page-ban-ca__home-content {
    height: auto !important;
    overflow-y: visible !important;
    padding: 15px !important;
    margin: 20px auto !important;
  }

  /* 游戏轮播 (if present, for homepage) */
  .page-ban-ca__slider-wrapper {
    padding: 0 15px !important;
  }
  .page-ban-ca__slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
  }
  .page-ban-ca__slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  .page-ban-ca__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    scroll-snap-align: start;
  }

  /* 合作品牌六宫格 (if present, for homepage) */
  .page-ban-ca__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 15px 0 !important;
  }
  .page-ban-ca__banner-item img {
    
    
  }

  /* 博客卡片区 */
  .page-ban-ca__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-ban-ca__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
  }
  .page-ban-ca__blog-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  .page-ban-ca__blog-slide {
    flex: 0 0 90% !important;
    max-width: 90% !important;
    scroll-snap-align: start;
  }

  .page-ban-ca__game-grid,
  .page-ban-ca__advantage-grid {
    grid-template-columns: 1fr !important;
  }

  .page-ban-ca__game-card,
  .page-ban-ca__advantage-item {
    padding: 20px !important;
  }

  .page-ban-ca__card-image {
    height: 180px !important;
  }

  .page-ban-ca__faq-question {
    font-size: 1em !important;
    padding: 12px 15px !important;
  }

  .page-ban-ca__faq-answer {
    font-size: 0.95em !important;
    padding: 12px 15px !important;
  }

  .page-ban-ca__faq-toggle {
    font-size: 1.2em !important;
  }
}