/* 页面主体背景色为 #0A0A0A (深色), 文字颜色使用 #FFF6D6 */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-top: 0; /* body padding-top handled by shared.css */
}

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

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

.page-ban-ca__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #F2C14E; /* 主色调 */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

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

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

.page-ban-ca__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFD36B; /* 辅助色 */
  margin-top: 35px;
  margin-bottom: 15px;
  text-align: left;
}

.page-ban-ca__text-block p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: left;
  color: #FFF6D6;
}

.page-ban-ca__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-ban-ca__list li {
  font-size: 17px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #FFF6D6;
}

.page-ban-ca__list li::before {
  content: '★';
  color: #FFD36B; /* Glow */
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  top: 0;
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Custom Color */
  color: #111111; /* Dark text for bright button */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E6B02A 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E; /* Main Color */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-ban-ca__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
  border-color: #FFD36B;
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
  transform: translateY(-2px);
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-ban-ca__cta-center {
  margin-top: 50px;
  text-align: center;
}

.page-ban-ca__inline-btn {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px 25px;
  font-size: 16px;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  overflow: hidden;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  background-color: #0A0A0A; /* Ensure dark background for contrast */
}

.page-ban-ca__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-ban-ca__main-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-ban-ca__subtitle {
  font-size: 20px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* General Images in content area */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-ban-ca__article-figure {
  margin: 30px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

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

.page-ban-ca__game-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  overflow: hidden;
  padding: 25px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFF6D6;
}

.page-ban-ca__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
}

.page-ban-ca__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-ban-ca__game-description {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__game-btn {
  margin-top: auto; /* Push button to bottom */
  width: 100%;
}

/* Promotion Grid */
.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: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  overflow: hidden;
  padding: 25px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFF6D6;
}

.page-ban-ca__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
}

.page-ban-ca__promo-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-ban-ca__promo-text {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__promo-btn {
  margin-top: auto; /* Push button to bottom */
  width: 100%;
}

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF6D6;
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question::-webkit-details-marker {
  display: none;
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question:hover {
  background: rgba(242, 193, 78, 0.05);
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}
.page-ban-ca__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 25px 25px;
  background: #0A0A0A;
  border-radius: 0 0 8px 8px;
  text-align: left;
  color: #FFF6D6;
}
details.page-ban-ca__faq-item .page-ban-ca__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__section-title {
    font-size: 34px;
  }
  .page-ban-ca__subtitle {
    font-size: 18px;
  }
  .page-ban-ca__game-card, .page-ban-ca__promo-card {
    padding: 20px;
  }
  .page-ban-ca__faq-qtext {
    font-size: 17px;
  }
  .page-ban-ca__faq-toggle {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    min-height: 450px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }
  .page-ban-ca__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
  .page-ban-ca__hero-content {
    padding: 20px 15px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(28px, 8vw, 45px);
    margin-bottom: 15px;
  }
  .page-ban-ca__subtitle {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-ban-ca__btn-primary, .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-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__section {
    padding: 40px 0;
  }
  .page-ban-ca__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-ban-ca__section-description {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-ban-ca__sub-title {
    font-size: 20px;
    text-align: center;
  }
  .page-ban-ca__text-block p, .page-ban-ca__list li {
    font-size: 15px;
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__list li::before {
    left: 15px;
  }
  .page-ban-ca__article-figure {
    margin: 20px auto;
    max-width: calc(100% - 30px) !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  /* General Images */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Game Grid & Promo Grid */
  .page-ban-ca__game-grid, .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden !important;
  }
  .page-ban-ca__game-card, .page-ban-ca__promo-card {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .page-ban-ca__game-image, .page-ban-ca__promo-image {
    height: 180px;
  }
  .page-ban-ca__game-title, .page-ban-ca__promo-title {
    font-size: 20px;
  }
  .page-ban-ca__game-description, .page-ban-ca__promo-text {
    font-size: 15px;
  }

  /* FAQ */
  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px 20px;
  }
  .page-ban-ca__faq-qtext {
    font-size: 16px;
  }
  .page-ban-ca__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    padding: 0 20px 20px;
  }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-ban-ca__section-title {
    font-size: 24px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(24px, 10vw, 38px);
  }
  .page-ban-ca__subtitle {
    font-size: 15px;
  }
  .page-ban-ca__btn-primary, .page-ban-ca__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-ban-ca__game-image, .page-ban-ca__promo-image {
    height: 150px;
  }
  .page-ban-ca__faq-qtext {
    font-size: 15px;
  }
}