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

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

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  background-color: #26A9E0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 600px;
  justify-content: center;
}

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

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

.page-ban-ca__hero-content {
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for readability */
  width: 100%;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.page-ban-ca__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

/* General Section Styling */
.page-ban-ca__intro-section,
.page-ban-ca__features-section,
.page-ban-ca__guide-section,
.page-ban-ca__strategy-section,
.page-ban-ca__promo-section,
.page-ban-ca__why-choose-section,
.page-ban-ca__faq-section,
.page-ban-ca__cta-final-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-ban-ca__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: inherit; /* Inherits from parent, so white on dark-bg, dark on light-bg */
}

.page-ban-ca__section-description {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

/* Intro Section */
.page-ban-ca__intro-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-ban-ca__intro-text {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

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

.page-ban-ca__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-ban-ca__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__game-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 15px 20px 10px 20px;
  color: #26A9E0;
}

.page-ban-ca__game-description {
  font-size: 0.95rem;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

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

/* Guide Section */
.page-ban-ca__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-ban-ca__step-item {
  background-color: #333d4a;
  border-radius: 10px;
  padding: 30px;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-ban-ca__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-ban-ca__step-text {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__step-item .page-ban-ca__btn-primary {
  align-self: flex-start;
}

/* Strategy Section */
.page-ban-ca__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-ban-ca__strategy-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  color: #333333;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__strategy-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-ban-ca__strategy-text {
  font-size: 0.95rem;
  flex-grow: 1;
}

.page-ban-ca__strategy-footer-text {
  margin-top: 40px;
  font-style: italic;
  color: #555555;
}

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

.page-ban-ca__promo-card {
  background-color: #333d4a;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-ban-ca__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 15px 20px 10px 20px;
  color: #26A9E0;
}

.page-ban-ca__promo-text {
  font-size: 0.95rem;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

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

.page-ban-ca__promo-cta {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-ban-ca__promo-cta p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Why Choose Section */
.page-ban-ca__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca__why-choose-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  color: #333333;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__why-choose-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-ban-ca__why-choose-text {
  font-size: 0.95rem;
  flex-grow: 1;
}

/* FAQ Section */
.page-ban-ca__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #3b4657;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

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

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

.page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

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

.page-ban-ca__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-ban-ca__faq-answer p {
  margin-bottom: 15px;
}

.page-ban-ca__faq-answer .page-ban-ca__btn-primary {
  margin-top: 10px;
  display: inline-block;
}

/* Final CTA Section */
.page-ban-ca__cta-final-section {
  background: linear-gradient(135deg, #26A9E0, #1a7fb0);
  color: #ffffff;
}

.page-ban-ca__cta-final-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-ban-ca__cta-final-description {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #ffffff;
}

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

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

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

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

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

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

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

/* Specific button color for login */
.page-ban-ca a[href*="login.html"],
.page-ban-ca a[href*="register.html"] {
  background-color: #EA7C07;
  border-color: #EA7C07;
  color: #ffffff;
}

.page-ban-ca a[href*="login.html"]:hover,
.page-ban-ca a[href*="register.html"]:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

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

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

  .page-ban-ca__hero-description {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  }

  .page-ban-ca__game-grid,
  .page-ban-ca__guide-steps,
  .page-ban-ca__strategy-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__why-choose-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-ban-ca__container {
    padding: 15px;
  }

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Small top padding */
    min-height: 450px;
  }

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

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

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

  .page-ban-ca__hero-description {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    margin-bottom: 20px;
  }

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

  /* 深色导语区 */
  .page-ban-ca__intro-section,
  .page-ban-ca__features-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__strategy-section,
  .page-ban-ca__promo-section,
  .page-ban-ca__why-choose-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final-section {
    padding: 40px 0;
  }

  .page-ban-ca__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-ban-ca__section-description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    margin-bottom: 30px;
  }

  .page-ban-ca__intro-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-ban-ca__intro-text {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
 }}