/* BEM styles for page-ban-ca */

/* Reset & base within scope */
.page-ban-ca {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #140C0C;
  color: #FFF1E8;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Utility */
.page-ban-ca *,
.page-ban-ca *::before,
.page-ban-ca *::after {
  box-sizing: border-box;
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 0;
  margin-top: 0;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #140C0C 0%, #2A1212 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 0;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(198, 31, 31, 0.3);
}

.page-ban-ca__hero-content {
  width: 100%;
  max-width: 1200px;
  padding: 24px 16px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__hero-title {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.5px;
  color: #F3C54D;
  margin: 0 0 16px;
  max-width: 900px;
}

.page-ban-ca__hero-desc {
  font-size: 1.05rem;
  color: #FFF1E8;
  max-width: 800px;
  margin: 0 auto 24px;
  text-align: center;
}

.page-ban-ca__hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Buttons */
.page-ban-ca__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.3;
}

.page-ban-ca__btn--primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  box-shadow: 0 4px 12px rgba(216, 106, 20, 0.4);
}

.page-ban-ca__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(216, 106, 20, 0.6);
}

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

.page-ban-ca__btn--secondary:hover {
  background: #7E0D0D;
  color: #FFF1E8;
  transform: translateY(-2px);
}

/* Section generic */
.page-ban-ca section {
  padding: 40px 16px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.page-ban-ca__section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #F3C54D;
  text-align: center;
  margin: 0 0 24px;
  position: relative;
  padding-bottom: 12px;
}

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

/* Intro */
.page-ban-ca__intro-text {
  font-size: 1.05rem;
  color: #FFF1E8;
  margin-bottom: 16px;
  text-align: justify;
}

/* Advantages Grid */
.page-ban-ca__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.page-ban-ca__advantage-card {
  background: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-ban-ca__advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(198, 31, 31, 0.4);
  border-color: #F3C54D;
}

.page-ban-ca__advantage-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #F3C54D;
  margin: 0 0 12px;
}

.page-ban-ca__advantage-text {
  font-size: 0.98rem;
  color: #FFF1E8;
  margin: 0;
}

/* Guide Section */
.page-ban-ca__guide-list {
  list-style: none;
  counter-reset: guide-counter;
  padding: 0;
  margin: 20px 0 0;
}

.page-ban-ca__guide-item {
  counter-increment: guide-counter;
  position: relative;
  padding: 16px 16px 16px 60px;
  margin-bottom: 12px;
  background: #2A1212;
  border-left: 4px solid #C61F1F;
  border-radius: 8px;
  color: #FFF1E8;
  font-size: 1rem;
}

.page-ban-ca__guide-item::before {
  content: counter(guide-counter);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

/* Tips Section */
.page-ban-ca__tips-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.page-ban-ca__tip-item {
  position: relative;
  padding: 14px 16px 14px 40px;
  margin-bottom: 10px;
  background: #2A1212;
  border-radius: 8px;
  color: #FFF1E8;
  font-size: 1rem;
  border: 1px solid #6A1E1E;
}

.page-ban-ca__tip-item::before {
  content: '🐟';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
}

.page-ban-ca__tip-item strong {
  color: #F3C54D;
}

/* Scoring Section */
.page-ban-ca__scoring-text {
  font-size: 1.05rem;
  color: #FFF1E8;
  text-align: justify;
  background: #2A1212;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #6A1E1E;
}

/* Promo Section */
.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-ban-ca__promo-item {
  position: relative;
  padding: 14px 16px 14px 44px;
  margin-bottom: 10px;
  background: #2A1212;
  border-radius: 8px;
  color: #FFF1E8;
  font-size: 1rem;
  border-left: 4px solid #F3C54D;
}

.page-ban-ca__promo-item::before {
  content: '🎁';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
}

.page-ban-ca__promo-text {
  font-size: 1.05rem;
  color: #FFF1E8;
  margin-bottom: 16px;
}

.page-ban-ca__promo-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* FAQ Section */
.page-ban-ca__faq-item {
  background: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.page-ban-ca__faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: #F3C54D;
  margin: 0 0 10px;
}

.page-ban-ca__faq-answer {
  font-size: 1rem;
  color: #FFF1E8;
  margin: 0;
}

/* Closing Section */
.page-ban-ca__closing-text {
  font-size: 1.05rem;
  color: #FFF1E8;
  text-align: justify;
  margin-bottom: 24px;
}

.page-ban-ca__closing-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .page-ban-ca {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-ban-ca__hero-image-wrapper {
    padding: 10px 12px 0;
  }

  .page-ban-ca__hero-content {
    padding: 20px 12px 24px;
  }

  .page-ban-ca__hero-title {
    font-size: 1.35rem;
  }

  .page-ban-ca__hero-desc {
    font-size: 0.98rem;
  }

  .page-ban-ca__btn {
    padding: 12px 20px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 100%;
  }

  .page-ban-ca__hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  .page-ban-ca__advantages-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__advantage-card {
    padding: 18px;
  }

  .page-ban-ca__guide-item {
    padding: 14px 12px 14px 52px;
    font-size: 0.95rem;
  }

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

  .page-ban-ca__scoring-text {
    font-size: 0.95rem;
    padding: 18px;
  }

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

  .page-ban-ca__promo-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .page-ban-ca__faq-question {
    font-size: 1.05rem;
  }

  .page-ban-ca__faq-answer {
    font-size: 0.95rem;
  }

  .page-ban-ca__closing-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

/* Desktop large screens */
@media (min-width: 1200px) {
  .page-ban-ca__hero-title {
    font-size: 2.2rem;
  }

  .page-ban-ca__section-title {
    font-size: 2rem;
  }
}