.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: var(--background-color, #F4F7FB); /* Background */
  line-height: 1.6;
}

.page-ban-ca__section {
  padding: 60px 0;
  margin: 0 auto;
}

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

.page-ban-ca__text-center {
  text-align: center;
}

.page-ban-ca__mt-small {
  margin-top: 15px;
}

.page-ban-ca__mt-medium {
  margin-top: 30px;
}

.page-ban-ca__mt-large {
  margin-top: 50px;
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-ban-ca__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  border-radius: 2px;
}

.page-ban-ca__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-ban-ca__text-block {
  font-size: 1.1em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-ban-ca__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
}

.page-ban-ca__list-item {
  margin-bottom: 10px;
  line-height: 1.5;
}

.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 */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #2F6BFF; /* Dark bg for contrast */
  color: #ffffff;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

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

.page-ban-ca__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.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-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  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: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Main color */
}

.page-ban-ca__btn-secondary:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-ban-ca__image-text-layout:nth-of-type(even) {
  flex-direction: row-reverse;
}

.page-ban-ca__image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-ban-ca__card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
  color: #1F2D3D; /* Text Main */
}

.page-ban-ca__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__dark-section {
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
}

.page-ban-ca__dark-section .page-ban-ca__section-title,
.page-ban-ca__dark-section .page-ban-ca__sub-title,
.page-ban-ca__dark-section .page-ban-ca__text-block,
.page-ban-ca__dark-section .page-ban-ca__list-item {
  color: #ffffff;
}

.page-ban-ca__dark-section .page-ban-ca__section-title::after {
  background: #A5C4FF; /* Glow */
}

.page-ban-ca__light-bg {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

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

.page-ban-ca__step-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-ban-ca__step-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #D6E2FF; /* Border */
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-ban-ca__step-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
}

.page-ban-ca__step-description {
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__step-button {
  width: fit-content;
  margin-top: auto; /* Push button to bottom */
}

.page-ban-ca__tips-block {
  margin-top: 60px;
  padding: 30px;
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF; /* Border */
}

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

.page-ban-ca__game-tile {
  text-align: center;
  padding: 20px;
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-ban-ca__game-image {
  width: 100%;
  max-width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-ban-ca__game-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
}

.page-ban-ca__game-description {
  font-size: 0.95em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-ban-ca__promotion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.page-ban-ca__promotion-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-ban-ca__promotion-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
}

.page-ban-ca__promotion-description {
  font-size: 0.95em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  color: #1F2D3D; /* Text Main */
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  cursor: pointer;
  background-color: #F4F7FB; /* Background */
  border-bottom: 1px solid #D6E2FF; /* Border */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-ban-ca__faq-item[open] > .page-ban-ca__faq-question {
  background-color: #D6E2FF; /* Border */
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2F6BFF;
}

.page-ban-ca__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
  text-align: justify;
}

.page-ban-ca__cta-final {
  padding: 80px 0;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__section {
    padding: 40px 0;
  }

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

  .page-ban-ca__sub-title {
    font-size: 1.5em;
  }

  .page-ban-ca__hero-content {
    max-width: 700px;
  }

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

  .page-ban-ca__image-text-layout {
    flex-direction: column;
    gap: 30px;
  }

  .page-ban-ca__image-text-layout:nth-of-type(even) {
    flex-direction: column;
  }

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

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

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

  .page-ban-ca__faq-answer {
    padding: 12px 20px 15px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__section {
    padding: 30px 0 !important;
  }

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

  /* 1. Hero 奖池区 - 全端上图下文；移动主图 object-fit:contain、禁止 cover 裁两侧；aspect-ratio:unset；max-height:none */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px !important;
  }

  .page-ban-ca__hero-image-wrapper {
    max-height: none !important;
    margin-bottom: 20px !important;
  }

  .page-ban-ca__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }

  .page-ban-ca__main-title {
    font-size: 2.2em !important;
    margin-bottom: 15px !important;
  }

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

  /* 2. 游戏图库区 - 768px 下 2 列、aspect-ratio:1/1；overflow-x:hidden */
  .page-ban-ca__game-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    overflow-x: hidden !important;
  }

  .page-ban-ca__game-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important; /* Force square aspect ratio */
    object-fit: cover !important;
  }

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

  .page-ban-ca__image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__card {
    padding: 20px !important;
  }

  /* 4. 按钮与按钮容器 */
  .page-ban-ca__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__step-button,
  .page-ban-ca__game-tile .page-ban-ca__btn-primary,
  .page-ban-ca__promotion-card .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 15px !important;
    font-size: 1em !important;
  }

  .page-ban-ca__cta-buttons,
  .page-ban-ca__step-item .page-ban-ca__btn-primary,
  .page-ban-ca__step-item .page-ban-ca__btn-secondary {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 5. 中奖榜 (Not applicable for this page, but must be present if it were) */
  /* This page does not have winner list/jackpot, skipping specific rules for them. */

  /* 6. 其他内容模块 */
  .page-ban-ca__section-title {
    font-size: 1.8em !important;
    margin-bottom: 25px !important;
  }

  .page-ban-ca__section-title::after {
    width: 60px !important;
  }

  .page-ban-ca__sub-title {
    font-size: 1.3em !important;
    margin-top: 20px !important;
    margin-bottom: 15px !important;
  }

  .page-ban-ca__text-block,
  .page-ban-ca__list-item,
  .page-ban-ca__step-description,
  .page-ban-ca__game-description,
  .page-ban-ca__promotion-description,
  .page-ban-ca__faq-answer p {
    font-size: 0.95em !important;
  }

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

  .page-ban-ca__faq-answer {
    padding: 10px 18px 15px !important;
  }

  .page-ban-ca__cta-final {
    padding: 50px 0 !important;
  }

  .page-ban-ca__cta-image {
    margin-bottom: 20px !important;
  }

  .page-ban-ca__image-text-layout {
    flex-direction: column !important;
  }

  .page-ban-ca__image-text-layout:nth-of-type(even) {
    flex-direction: column !important;
  }

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

  .page-ban-ca__step-icon {
    width: 100px !important;
    height: 100px !important;
  }
}