/* style/ban-ca.css */

.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

.page-ban-ca__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-ban-ca__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  padding-bottom: 50px;
}

.page-ban-ca__hero-image-wrap {
  width: 100%;
  max-width: 1920px;
  overflow: hidden;
}

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

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

.page-ban-ca__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-ban-ca__description {
  font-size: 1.15rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  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;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-ban-ca__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-ban-ca__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-ban-ca__btn--secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* Button gradient start color for contrast */
  border: 2px solid #2AD16F;
}

.page-ban-ca__btn--secondary:hover {
  background: #2AD16F;
  color: #F2FFF6; /* Text Main */
  transform: translateY(-3px);
}

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

.page-ban-ca__btn--full-width {
  width: 100%;
  max-width: 400px;
  margin-top: 30px;
}

.page-ban-ca__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 50px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-ban-ca__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-ban-ca__dark-bg {
  background-color: #11271B; /* Card BG */
  padding-bottom: 50px;
}

.page-ban-ca__intro-section, 
.page-ban-ca__features-section, 
.page-ban-ca__how-to-play-section, 
.page-ban-ca__tips-section, 
.page-ban-ca__popular-games-section, 
.page-ban-ca__promo-section, 
.page-ban-ca__why-choose-section, 
.page-ban-ca__faq-section, 
.page-ban-ca__final-cta-section {
  padding: 60px 0;
}

/* General image styling */
.page-ban-ca__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 680px;
}

.page-ban-ca__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

.page-ban-ca__figcaption {
  font-size: 0.9rem;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 10px;
}

.page-ban-ca__feature-list, .page-ban-ca__step-list, .page-ban-ca__tip-list, .page-ban-ca__reason-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  list-style: none;
  padding: 0;
}

.page-ban-ca__feature-item, .page-ban-ca__step-item, .page-ban-ca__tip-item, .page-ban-ca__reason-item, .page-ban-ca__promo-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-ban-ca__feature-title, .page-ban-ca__step-title, .page-ban-ca__tip-title, .page-ban-ca__reason-title, .page-ban-ca__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
}

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

.page-ban-ca__game-card {
  background-color: #0A4B2C; /* Deep Green */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  text-align: center;
}

.page-ban-ca__game-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-ban-ca__game-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-ban-ca__game-trial-frame {
  border: none;
  border-radius: 8px;
  width: 100%;
  height: 300px;
  background-color: #08160F;
}

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

.page-ban-ca__promo-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

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

.page-ban-ca__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
}

.page-ban-ca__faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: #57E38D; /* Glow */
  margin-bottom: 10px;
}

.page-ban-ca__faq-answer {
  font-size: 1rem;
  color: #F2FFF6; /* Text Main */
}

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

/* Divider */
.page-ban-ca__divider {
  height: 1px;
  background-color: #1E3A2A;
  margin: 50px auto;
  width: 80%;
}

/* Responsive Styles */

/* @media (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-ban-ca__article-wrap {
    padding: 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: clamp(1.6rem, 3.8vw, 2.5rem);
  }

  .page-ban-ca__feature-list, 
  .page-ban-ca__step-list, 
  .page-ban-ca__tip-list, 
  .page-ban-ca__reason-list, 
  .page-ban-ca__game-list, 
  .page-ban-ca__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

/* @media (max-width: 768px) - 必写清单 */
@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
    gap: 20px;
  }

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

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

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain buttons for better mobile look */
    margin: 0 auto;
  }

  .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: 12px 20px;
    font-size: 1rem;
  }

  /* 2. 单栏长文容器 */
  .page-ban-ca__article-wrap,
  .page-ban-ca__intro-section .page-ban-ca__article-wrap,
  .page-ban-ca__features-section .page-ban-ca__article-wrap,
  .page-ban-ca__how-to-play-section .page-ban-ca__article-wrap,
  .page-ban-ca__tips-section .page-ban-ca__article-wrap,
  .page-ban-ca__popular-games-section .page-ban-ca__article-wrap,
  .page-ban-ca__promo-section .page-ban-ca__article-wrap,
  .page-ban-ca__why-choose-section .page-ban-ca__article-wrap,
  .page-ban-ca__faq-section .page-ban-ca__article-wrap,
  .page-ban-ca__final-cta-section .page-ban-ca__article-wrap {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-ban-ca__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
    padding-top: 30px;
  }

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

  /* 3. 通用图片与 figure */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-ban-ca__figure {
    margin: 20px auto;
  }

  .page-ban-ca__figcaption {
    font-size: 0.85rem;
  }

  /* 4. 按钮与按钮容器 (already covered in top-section CTA, reinforcing here) */
  .page-ban-ca__btn--full-width {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-ban-ca__feature-list, 
  .page-ban-ca__step-list, 
  .page-ban-ca__tip-list, 
  .page-ban-ca__reason-list, 
  .page-ban-ca__game-list, 
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-ban-ca__feature-title, 
  .page-ban-ca__step-title, 
  .page-ban-ca__tip-title, 
  .page-ban-ca__reason-title, 
  .page-ban-ca__game-title, 
  .page-ban-ca__promo-title, 
  .page-ban-ca__faq-question {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .page-ban-ca__promo-description, .page-ban-ca__game-description, .page-ban-ca__faq-answer {
    font-size: 0.9rem;
  }

  /* 5. 注册教程与 FAQ 区块 (FAQ is just text, so general text rules apply) */
  /* No specific 4-step registration tutorial here, general step items are handled by .page-ban-ca__step-item */
  .page-ban-ca__faq-list {
    margin-top: 20px;
  }
}

/* End of Responsive Styles */