/* style/ban-ca.css */
.page-ban-ca {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
}

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

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

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

.page-ban-ca__section {
  padding: 60px 0;
  text-align: center;
}

.page-ban-ca__section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__section-subtitle {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-ban-ca__section-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, relies on body for header offset */
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

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

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

.page-ban-ca__main-title {
  font-size: clamp(36px, 5vw, 56px); /* Use clamp for H1 */
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.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: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-ban-ca__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

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

.page-ban-ca__btn-large {
  padding: 20px 40px;
  font-size: 22px;
}

.page-ban-ca__intro-section {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 0;
}

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

.page-ban-ca__intro-section .page-ban-ca__section-description {
  color: #f0f0f0;
}

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

.page-ban-ca__feature-card,
.page-ban-ca__game-card,
.page-ban-ca__promo-card,
.page-ban-ca__reason-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__feature-card:hover,
.page-ban-ca__game-card:hover,
.page-ban-ca__promo-card:hover,
.page-ban-ca__reason-card:hover {
  transform: translateY(-5px);
}

.page-ban-ca__feature-image,
.page-ban-ca__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-ban-ca__feature-title,
.page-ban-ca__game-title,
.page-ban-ca__promo-title,
.page-ban-ca__reason-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-ban-ca__feature-description,
.page-ban-ca__game-description,
.page-ban-ca__promo-text,
.page-ban-ca__reason-description {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

.page-ban-ca__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-ban-ca__guide-item {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  border-radius: 8px;
}

.page-ban-ca__guide-step-title {
  font-size: 24px;
  color: #017439;
  margin-bottom: 10px;
}

.page-ban-ca__guide-item p {
  font-size: 17px;
  color: #444444;
  margin-bottom: 15px;
}

.page-ban-ca__tips-list {
  list-style: disc inside;
  text-align: left;
  max-width: 800px;
  margin: 40px auto 0;
  padding-left: 20px;
}

.page-ban-ca__tips-item {
  font-size: 17px;
  margin-bottom: 10px;
  color: #444444;
}

.page-ban-ca__game-trial-frame {
  border: none;
  border-radius: 8px;
  margin-bottom: 15px;
  width: 100%;
  min-height: 250px;
}

.page-ban-ca__promo-card {
  background-color: #017439;
  color: #ffffff;
  padding: 25px;
}

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

.page-ban-ca__promo-card .page-ban-ca__promo-text {
  color: #f0f0f0;
}

.page-ban-ca__cta-center {
  margin-top: 40px;
}

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

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #017439;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  position: relative;
}

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

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

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

.page-ban-ca__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  content: '−';
}

.page-ban-ca__faq-answer {
  padding: 20px 25px;
  background-color: #ffffff;
  color: #444444;
  font-size: 16px;
  border-top: 1px solid #eee;
}

.page-ban-ca__cta-final-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-ban-ca__cta-final-section .page-ban-ca__section-title {
  color: #ffffff;
}

.page-ban-ca__cta-final-section .page-ban-ca__section-description {
  color: #f0f0f0;
}

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

  .page-ban-ca__section-title {
    font-size: clamp(26px, 3.8vw, 36px);
  }

  .page-ban-ca__section-description {
    font-size: 17px;
  }

  .page-ban-ca__hero-content {
    padding: 0 20px 40px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }

  .page-ban-ca__hero-description {
    font-size: 18px;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__game-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__reasons-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    padding: 12px 25px;
    font-size: 17px;
  }
}

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

  .page-ban-ca__section {
    padding: 40px 0;
  }

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

  .page-ban-ca__section-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .page-ban-ca__section-subtitle {
    font-size: clamp(20px, 6vw, 26px);
  }

  .page-ban-ca__section-description {
    font-size: 16px;
  }

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Small top padding, relies on body for header offset */
    min-height: auto;
  }

  .page-ban-ca__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-ban-ca__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__hero-content {
    padding: 0 15px 30px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-ban-ca__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* 按钮与按钮容器 */
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-small,
  .page-ban-ca__btn-large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  /* 深色导语区 */
  .page-ban-ca__intro-section {
    padding: 40px 0;
  }

  /* 博客网格 (if present, adapting features grid for example) */
  .page-ban-ca__features-grid,
  .page-ban-ca__game-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-ban-ca__feature-card,
  .page-ban-ca__game-card,
  .page-ban-ca__promo-card,
  .page-ban-ca__reason-card {
    padding: 20px;
  }

  .page-ban-ca__feature-image,
  .page-ban-ca__promo-image {
    height: 180px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__feature-title,
  .page-ban-ca__game-title,
  .page-ban-ca__promo-title,
  .page-ban-ca__reason-title {
    font-size: 20px;
  }

  .page-ban-ca__guide-item {
    padding: 20px;
  }

  .page-ban-ca__guide-step-title {
    font-size: 20px;
  }

  .page-ban-ca__guide-item p,
  .page-ban-ca__tips-item {
    font-size: 15px;
  }

  .page-ban-ca__game-trial-frame {
    min-height: 200px;
  }

  /* FAQ */
  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

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

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

@media (max-width: 549px) {
  .page-ban-ca__features-grid,
  .page-ban-ca__game-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__reasons-grid {
    grid-template-columns: 1fr;
  }
}