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

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, rgba(242, 193, 78, 0.1) 0%, rgba(255, 211, 107, 0.05) 100%);
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-ban-ca__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-ban-ca__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-ban-ca__hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  max-width: 600px;
}

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

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color text */
  border: 2px solid #F2C14E;
}

.page-ban-ca__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
}

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

.page-ban-ca__main-game-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__intro-section,
.page-ban-ca__features-section,
.page-ban-ca__guide-section,
.page-ban-ca__tips-section,
.page-ban-ca__promo-section,
.page-ban-ca__faq-section {
  padding: 60px 0;
  border-bottom: 1px solid #3A2A12; /* Border */
}

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

.page-ban-ca__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 30px;
}

.page-ban-ca__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF6D6;
}

.page-ban-ca__icon-box-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-ban-ca__icon-box-item {
  flex: 1 1 30%;
  min-width: 280px;
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-ban-ca__icon-box-media {
  width: 200px;
  height: 200px;
  aspect-ratio: 1/1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #FFD36B; /* Glow */
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ban-ca__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Ensure image inside is also circular */
  display: block;
}

.page-ban-ca__icon-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-ban-ca__icon-box-text {
  font-size: 1rem;
  color: #FFF6D6;
}

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

.page-ban-ca__feature-item {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

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

.page-ban-ca__feature-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color */
  padding: 20px 25px 10px;
}

.page-ban-ca__feature-text {
  font-size: 1rem;
  color: #FFF6D6;
  padding: 0 25px 25px;
}

.page-ban-ca__guide-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-ban-ca__guide-item {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #F2C14E; /* Main color */
}

.page-ban-ca__guide-step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

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

.page-ban-ca__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
}

.page-ban-ca__tips-item {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 4px solid #FFD36B; /* Auxiliary color */
  color: #FFF6D6;
  font-size: 1rem;
}

.page-ban-ca__tips-item strong {
  color: #F2C14E; /* Main color */
}

.page-ban-ca__tips-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
}

.page-ban-ca__promo-item {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 4px solid #F2C14E; /* Main color */
  color: #FFF6D6;
  font-size: 1rem;
}

.page-ban-ca__promo-item strong {
  color: #FFD36B; /* Auxiliary color */
}

.page-ban-ca__promo-cta {
  text-align: center;
  margin-top: 40px;
}

.page-ban-ca__promo-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2C14E; /* Main color */
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: 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: #FFD36B; /* Auxiliary color */
}

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

.page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF6D6;
}

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

.page-ban-ca__faq-btn {
  margin-top: 15px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* General image responsive styles */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-ban-ca__hero-content {
    text-align: center;
  }

  .page-ban-ca__hero-cta-buttons {
    justify-content: center;
  }

  .page-ban-ca__hero-title,
  .page-ban-ca__hero-description {
    max-width: 100%;
  }

  .page-ban-ca__icon-box-item {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Specific mobile top padding */
    padding-bottom: 30px;
  }

  .page-ban-ca__hero-container {
    padding: 30px 10px;
    gap: 30px;
  }

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

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

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

  /* Buttons general mobile adaptation */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca a[class*="button"],
  .page-ban-ca a[class*="btn"] {
    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;
  }

  /* Button containers mobile adaptation */
  .page-ban-ca__hero-cta-buttons,
  .page-ban-ca__promo-cta,
  .page-ban-ca__faq-btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Module 1 (Intro Section) */
  .page-ban-ca__intro-section {
    padding: 40px 0;
  }

  .page-ban-ca__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
  }

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

  .page-ban-ca__icon-box-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-ban-ca__icon-box-item {
    min-width: unset;
    padding: 25px;
  }

  .page-ban-ca__icon-box-media {
    width: 150px; /* Smaller square for mobile */
    height: 150px;
    border-width: 2px;
  }

  /* Features Section */
  .page-ban-ca__features-section {
    padding: 40px 0;
  }

  .page-ban-ca__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__feature-title {
    font-size: 1.4rem;
  }

  .page-ban-ca__feature-text {
    font-size: 0.95rem;
  }

  /* Guide Section */
  .page-ban-ca__guide-section {
    padding: 40px 0;
  }

  .page-ban-ca__guide-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-ban-ca__guide-step-title {
    font-size: 1.2rem;
  }

  .page-ban-ca__guide-item p {
    font-size: 0.95rem;
  }

  /* Tips Section */
  .page-ban-ca__tips-section {
    padding: 40px 0;
  }

  .page-ban-ca__tips-item {
    padding: 18px 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
  }

  /* Promo Section */
  .page-ban-ca__promo-section {
    padding: 40px 0;
  }

  .page-ban-ca__promo-item {
    padding: 18px 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
  }

  /* FAQ Section */
  .page-ban-ca__faq-section {
    padding: 40px 0;
  }

  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-ban-ca__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* General images for content areas */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* All containing elements for content */
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}