.page-ban-ca {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  background: #F5F7FA; /* Background color for hero section */
}

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

.page-ban-ca__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #333333;
}

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

.page-ban-ca__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #333333;
}

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

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

.page-ban-ca__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-ban-ca__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

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

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

.page-ban-ca__intro-section,
.page-ban-ca__guide-section,
.page-ban-ca__promo-section,
.page-ban-ca__conclusion-section {
  padding: 60px 0;
}

.page-ban-ca__light-bg {
  background: #F5F7FA;
  color: #333333;
}

.page-ban-ca__dark-bg {
  background: #E53935;
  color: #ffffff;
}

.page-ban-ca__dark-bg .page-ban-ca__section-title {
  color: #ffffff;
}

.page-ban-ca__dark-bg p,
.page-ban-ca__dark-bg li {
  color: #ffffff;
}

.page-ban-ca__dark-bg .page-ban-ca__btn-secondary {
  background: #FF5A4F;
  color: #ffffff;
  border-color: #ffffff;
}

.page-ban-ca__dark-bg .page-ban-ca__btn-secondary:hover {
  background: #ffffff;
  color: #E53935;
}

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

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

.page-ban-ca__feature-item {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

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

.page-ban-ca__feature-image {
  width: 100%;
  height: auto;
  max-height: 200px; /* Limit height for uniform display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-ban-ca__guide-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-ban-ca__guide-steps {
  flex: 1 1 55%;
  min-width: 300px;
}

.page-ban-ca__guide-image {
  flex: 1 1 35%;
  min-width: 300px;
}

.page-ban-ca__ordered-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
}

.page-ban-ca__ordered-list li {
  counter-increment: step-counter;
  margin-bottom: 25px;
  position: relative;
  padding-left: 50px;
}

.page-ban-ca__ordered-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: #E53935;
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.page-ban-ca__step-title {
  font-size: 1.25rem;
  color: #E53935;
  margin-bottom: 5px;
}

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

.page-ban-ca__game-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-10px);
}

.page-ban-ca__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
}

.page-ban-ca__game-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #E53935;
  margin: 20px 20px 10px;
}

.page-ban-ca__game-card p {
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-ban-ca__game-card .page-ban-ca__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ban-ca__promo-list li {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-ban-ca__promo-list li strong {
  color: #E53935;
}

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

.page-ban-ca__faq-section {
  padding: 60px 0;
}

.page-ban-ca__faq-list {
  margin-top: 40px;
}

.page-ban-ca__faq-item {
  background: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
  overflow: hidden;
}

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

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

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

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

.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.5;
  color: #333333;
}

.page-ban-ca__conclusion-section {
  padding-bottom: 60px;
}

.page-ban-ca__copyright-info {
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #333333;
  background: #F5F7FA;
  border-top: 1px solid #E0E0E0;
}

/* General image responsiveness for all content images */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-container,
  .page-ban-ca__content-area {
    padding: 30px 20px;
  }

  .page-ban-ca__main-title {
    font-size: 3rem;
  }

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

  .page-ban-ca__features-grid,
  .page-ban-ca__game-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

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

  .page-ban-ca__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 30px;
  }

  .page-ban-ca__hero-content,
  .page-ban-ca__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-ban-ca__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    text-align: center;
  }

  .page-ban-ca__description {
    font-size: 1rem;
    text-align: center;
  }

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

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

  /* General content area */
  .page-ban-ca__content-area {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* Features Grid (Module 1 equivalent) */
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__feature-item {
    padding: 20px;
  }

  /* Guide Section */
  .page-ban-ca__guide-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-ban-ca__guide-steps,
  .page-ban-ca__guide-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-ban-ca__ordered-list li {
    padding-left: 45px;
  }

  .page-ban-ca__ordered-list li::before {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .page-ban-ca__step-title {
    font-size: 1.1rem;
  }

  /* Popular Games Cards */
  .page-ban-ca__game-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__game-card-title {
    font-size: 1.2rem;
  }

  /* Promo Section */
  .page-ban-ca__promo-list li {
    padding: 15px;
  }

  /* FAQ Section */
  .page-ban-ca__faq-question {
    padding: 15px;
    font-size: 1rem;
  }

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

  /* Conclusion Section & Copyright */
  .page-ban-ca__cta-center .page-ban-ca__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-ban-ca__copyright-info {
    padding: 15px;
  }

  /* All 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;
  }
}