.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D;
  background-color: #F4F7FB;
  line-height: 1.6;
}

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-align: center;
  padding-bottom: 40px;
  overflow: hidden;
}

.page-ban-ca__hero-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Adjust based on desired hero image width */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca__hero-text-content {
  max-width: 900px;
  text-align: center;
}

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

.page-ban-ca__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-ban-ca__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 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: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

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

.page-ban-ca__btn--secondary {
  background-color: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__btn--secondary:hover {
  background-color: #f0f0f0;
  color: #2F6BFF;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__btn--large {
  padding: 16px 35px;
  font-size: 1.1rem;
}

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

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

.page-ban-ca__dark-bg {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-ban-ca__dark-bg .page-ban-ca__section-title,
.page-ban-ca__dark-bg .page-ban-ca__description-small {
  color: #ffffff;
}

.page-ban-ca__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-ban-ca__description-small {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-ban-ca__dark-bg .page-ban-ca__description-small {
  color: #f0f0f0;
}

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

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

.page-ban-ca__text-block p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #1F2D3D;
}

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

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

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

.page-ban-ca__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1F2D3D;
}

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

.page-ban-ca__step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2F6BFF;
}

.page-ban-ca__step-card p {
  font-size: 1rem;
  color: #333333;
}

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

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

.page-ban-ca__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1F2D3D;
}

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

.page-ban-ca__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-ban-ca__game-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 20px 15px 10px 15px;
  color: #2F6BFF;
}

.page-ban-ca__game-description {
  font-size: 0.95rem;
  padding: 0 15px 20px 15px;
  color: #333333;
}

.page-ban-ca__game-card .page-ban-ca__btn {
  margin-bottom: 20px;
}

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

.page-ban-ca__tip-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1F2D3D;
}

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

.page-ban-ca__tip-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2F6BFF;
}

.page-ban-ca__tip-card p {
  font-size: 1rem;
  color: #333333;
}

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

.page-ban-ca__benefit-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
}

.page-ban-ca__benefit-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.25);
}

.page-ban-ca__benefit-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-ban-ca__benefit-item p {
  font-size: 1rem;
  color: #f0f0f0;
}

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

.page-ban-ca__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1F2D3D;
}

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

.page-ban-ca__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-ban-ca__promo-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 20px 15px 10px 15px;
  color: #2F6BFF;
}

.page-ban-ca__promo-card p {
  font-size: 0.95rem;
  padding: 0 15px 20px 15px;
  color: #333333;
}

.page-ban-ca__promo-card .page-ban-ca__btn {
  margin-bottom: 20px;
}

.page-ban-ca__call-to-action {
  text-align: center;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
  padding: 80px 20px;
}

.page-ban-ca__call-to-action .page-ban-ca__section-title {
  color: #ffffff;
}

.page-ban-ca__call-to-action .page-ban-ca__description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .page-ban-ca__hero-content-wrapper {
    padding: 0 15px;
  }

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

  .page-ban-ca__description {
    font-size: 1.1rem;
  }

  .page-ban-ca__section-title {
    font-size: 2.2rem;
  }

  .page-ban-ca__section {
    padding: 50px 15px;
  }

  .page-ban-ca__content-grid {
    flex-direction: column;
  }

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

  .page-ban-ca__steps-grid,
  .page-ban-ca__games-carousel,
  .page-ban-ca__tips-grid,
  .page-ban-ca__benefits-grid,
  .page-ban-ca__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* 顶区标题 + 双 CTA */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Small top padding, overriding any larger values */
    padding-bottom: 30px;
  }

  .page-ban-ca__hero-content-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    gap: 20px;
  }

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

  .page-ban-ca__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* 单栏长文容器 */
  .page-ban-ca__section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-ban-ca__description-small {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0 10px;
  }

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

  /* 通用图片与 figure */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min- /* Adjust min height for mobile if needed */
  }

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

  /* 按钮与按钮容器 */
  .page-ban-ca__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__cta-buttons,
  .page-ban-ca__center-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-ban-ca__steps-grid,
  .page-ban-ca__games-carousel,
  .page-ban-ca__tips-grid,
  .page-ban-ca__benefits-grid,
  .page-ban-ca__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px;
  }

  .page-ban-ca__step-card,
  .page-ban-ca__game-card,
  .page-ban-ca__tip-card,
  .page-ban-ca__benefit-item,
  .page-ban-ca__promo-card {
    padding: 25px;
  }

  .page-ban-ca__game-image,
  .page-ban-ca__promo-image {
    height: 180px; /* Adjust height for smaller screens */
  }

  .page-ban-ca__game-title,
  .page-ban-ca__promo-title,
  .page-ban-ca__step-title,
  .page-ban-ca__tip-title,
  .page-ban-ca__benefit-title {
    font-size: 1.25rem;
  }

  .page-ban-ca__call-to-action {
    padding: 60px 15px;
  }
}