/* style/ban-ca.css */
.page-ban-ca {
  color: #FFF3E6; /* Text Main */
  background-color: transparent; /* Body background handled by shared.css var(--bg-color) */
}

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

/* Intro Section */
.page-ban-ca__intro-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #0D0E12;
}

.page-ban-ca__intro-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-ban-ca__intro-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-ban-ca__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-ban-ca__intro-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-ban-ca__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* CTA Button */
.page-ban-ca__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-ban-ca__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-ban-ca__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

/* Section Title */
.page-ban-ca__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #FFF3E6;
  position: relative;
}

.page-ban-ca__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #FFA53A;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Features Section */
.page-ban-ca__features-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-ban-ca__feature-item {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border */
  transition: transform 0.3s ease;
}

.page-ban-ca__feature-item:hover {
  transform: translateY(-5px);
}

.page-ban-ca__feature-media {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #FF8C1A;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-ban-ca__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF3E6;
}

/* Gameplay Section */
.page-ban-ca__gameplay-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-ban-ca__step-item {
  background-color: #17191F;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid #A84F0C;
}

.page-ban-ca__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFA53A;
}

.page-ban-ca__step-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF3E6;
  margin-bottom: 15px;
}

.page-ban-ca__gameplay-image {
  text-align: center;
}

/* Promo Section */
.page-ban-ca__promo-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-ban-ca__promo-card {
  background-color: #17191F;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  transition: transform 0.3s ease;
}

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

.page-ban-ca__promo-media {
  height: 200px;
  overflow: hidden;
}

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

.page-ban-ca__promo-card .page-ban-ca__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 20px 20px 10px;
  color: #FF8C1A;
}

.page-ban-ca__promo-card .page-ban-ca__promo-description {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 20px 20px;
  color: #FFF3E6;
}

.page-ban-ca__promo-card .page-ban-ca__cta-button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* Why Choose Section */
.page-ban-ca__why-choose-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-ban-ca__why-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 800px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #FFF3E6;
}

.page-ban-ca__why-list li {
  background-color: #17191F;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #FF8C1A;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__list-highlight {
  color: #FFA53A;
}

.page-ban-ca__why-choose-section .page-ban-ca__cta-button {
  margin: 0 auto;
  display: block;
  max-width: 350px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-ban-ca__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-ban-ca__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FF8C1A;
  cursor: pointer;
  background-color: transparent;
  position: relative;
  list-style: none;
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFA53A;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  transform: rotate(45deg);
}

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

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

.page-ban-ca__faq-answer .page-ban-ca__cta-button {
  margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__intro-content {
    flex: 1 1 100%;
    text-align: center;
  }
  .page-ban-ca__intro-image {
    flex: 1 1 100%;
    order: -1; /* Image above content on smaller screens */
  }
  .page-ban-ca__main-title,
  .page-ban-ca__intro-text {
    text-align: center;
  }
  .page-ban-ca__cta-button {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__intro-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-ban-ca__main-title {
    font-size: 2rem;
  }
  .page-ban-ca__intro-text {
    font-size: 1rem;
  }
  .page-ban-ca__section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  /* General image responsiveness */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__intro-image,
  .page-ban-ca__gameplay-image,
  .page-ban-ca__promo-media {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 15px;
  }

  /* Feature Media (round images) */
  .page-ban-ca__feature-media {
    width: 120px;
    height: 120px;
    border-width: 2px;
  }

  /* Buttons */
  .page-ban-ca__cta-button,
  .page-ban-ca__cta-button--small,
  .page-ban-ca__cta-button--large {
    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;
    margin-bottom: 15px;
  }
  .page-ban-ca__cta-button:last-child {
    margin-bottom: 0;
  }

  /* Button containers */
  .page-ban-ca__intro-content .page-ban-ca__cta-button,
  .page-ban-ca__why-choose-section .page-ban-ca__cta-button {
    max-width: 100% !important;
  }
  .page-ban-ca__gameplay-steps .page-ban-ca__cta-button--small {
    width: auto !important;
    max-width: fit-content !important;
    margin-left: 0;
    margin-right: 0;
  }
  .page-ban-ca__promo-card .page-ban-ca__cta-button {
    width: calc(100% - 40px) !important;
  }

  /* Layout adjustments */
  .page-ban-ca__container {
    padding: 0 15px;
  }
  .page-ban-ca__features-grid,
  .page-ban-ca__gameplay-steps,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__why-list li {
    padding: 15px;
  }
  .page-ban-ca__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-ban-ca__faq-answer {
    font-size: 0.95rem;
    padding: 0 15px 15px;
  }
}