/* Base styles for the page-ban-ca */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

.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: 3em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Main Color */
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

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

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  color: #FFF6D6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
}

.page-ban-ca__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up over image slightly for visual flow */
  background: rgba(17, 17, 17, 0.85); /* Card B G with transparency */
  border-radius: 15px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.3);
  text-align: center;
}

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

.page-ban-ca__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff;
  border: none;
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

.page-ban-ca__btn-secondary {
  background: #111111; /* Card B G */
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E;
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-3px);
  background: #F2C14E;
  color: #111111;
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

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

/* Why Choose Section */
.page-ban-ca__why-choose {
  background-color: #0A0A0A; /* Background */
}

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

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

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

.page-ban-ca__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

.page-ban-ca__text-content {
  flex: 2;
  color: #FFF6D6;
}

.page-ban-ca__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__feature-item {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__feature-title {
  font-size: 1.4em;
  color: #FFD36B; /* Glow */
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__feature-item p {
  font-size: 1em;
  color: #FFF6D6;
}

/* Popular Games Section */
.page-ban-ca__popular-games {
  background-color: #0A0A0A; /* Background */
}

.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: #111111; /* Card B G */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-ban-ca__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main Color */
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__game-card p {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Play Section */
.page-ban-ca__how-to-play {
  background-color: #0A0A0A; /* Background */
}

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

.page-ban-ca__step-card {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-ban-ca__step-icon {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

.page-ban-ca__step-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow */
  margin-top: 0;
  margin-bottom: 15px;
}

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

.page-ban-ca__image-block {
  max-width: 800px;
  margin: 0 auto;
}

.page-ban-ca__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

/* Strategy Tips Section */
.page-ban-ca__strategy-tips {
  background-color: #0A0A0A; /* Background */
}

.page-ban-ca__tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__tip-item {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__tip-title {
  font-size: 1.4em;
  color: #FFD36B; /* Glow */
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__tip-item p {
  font-size: 1em;
  color: #FFF6D6;
}

/* Promotions Section */
.page-ban-ca__promotions {
  background-color: #0A0A0A; /* Background */
}

.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: #111111; /* Card B G */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-ban-ca__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__promo-card p {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__cta-full-width {
  margin-top: 50px;
}

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card B G */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
}

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.1); /* Main Color with transparency */
}

.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}

.page-ban-ca__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  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 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
}

.page-ban-ca__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Final CTA Section */
.page-ban-ca__cta-final {
  padding-bottom: 0; /* Image at bottom */
}

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

.page-ban-ca__cta-final .page-ban-ca__section-description {
  margin-bottom: 50px;
}

.page-ban-ca__image-block--bottom {
  margin-top: 50px;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
}

.page-ban-ca__image-block--bottom img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 10px 10px 0 0;
  border-top: 1px solid #3A2A12;
}

/* Global image settings for content area */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-ban-ca__container {
    padding: 20px 30px;
  }

  .page-ban-ca__section-title {
    font-size: 2.5em;
  }

  .page-ban-ca__hero-content {
    margin-top: -80px;
    padding: 30px;
    max-width: 800px;
  }

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

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

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

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

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

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

  .page-ban-ca__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px;
  }

  .page-ban-ca__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    height: auto !important;
    filter: brightness(0.8);
  }

  .page-ban-ca__hero-content {
    margin-top: -50px; /* Adjust for mobile */
    padding: 20px;
    border-radius: 10px;
  }

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

  .page-ban-ca__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  /* 按钮与按钮容器 */
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    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 {
    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: 1em;
  }

  /* 通用图片与容器 */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__image-wrapper,
  .page-ban-ca__image-block,
  .page-ban-ca__image-block--bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* 产品展示图区域 (Game Grid) */
  .page-ban-ca__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden; /* Ensure no horizontal scroll */
  }

  .page-ban-ca__game-card img {
    
  }

  .page-ban-ca__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-ban-ca__promo-card img {
    
  }

  .page-ban-ca__feature-item,
  .page-ban-ca__tip-item,
  .page-ban-ca__step-card {
    padding: 15px;
    margin-bottom: 10px;
  }

  .page-ban-ca__feature-title,
  .page-ban-ca__tip-title,
  .page-ban-ca__step-title {
    font-size: 1.2em;
  }

  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px;
  }

  .page-ban-ca__faq-qtext {
    font-size: 1em;
  }

  .page-ban-ca__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    margin-left: 10px;
  }

  details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    padding: 0 15px 15px;
  }
}