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

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

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  padding-bottom: 40px;
  text-align: center;
}

.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__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff; /* Text on dark background */
}

.page-ban-ca__hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff; /* Text on dark background */
}

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

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  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;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-ban-ca__btn-primary:hover {
  background: #d46c06;
  border-color: #d46c06;
}

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

.page-ban-ca__btn-secondary:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

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

.page-ban-ca__hero-main-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

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

.page-ban-ca__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-ban-ca__intro-section .page-ban-ca__section-title,
.page-ban-ca__game-list-section .page-ban-ca__section-title,
.page-ban-ca__guide-section .page-ban-ca__section-title,
.page-ban-ca__promo-section .page-ban-ca__section-title,
.page-ban-ca__faq-section .page-ban-ca__section-title {
  color: #333333; /* Dark text on light background */
}

.page-ban-ca__why-choose-section .page-ban-ca__section-title,
.page-ban-ca__tips-section .page-ban-ca__section-title,
.page-ban-ca__conclusion-cta-section .page-ban-ca__section-title {
  color: #ffffff; /* Light text on dark background */
}

.page-ban-ca__section-description {
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__intro-section .page-ban-ca__section-description,
.page-ban-ca__game-list-section .page-ban-ca__section-description,
.page-ban-ca__guide-section .page-ban-ca__section-description,
.page-ban-ca__promo-section .page-ban-ca__section-description,
.page-ban-ca__faq-section .page-ban-ca__section-description {
  color: #555555; /* Darker grey text on light background */
}

.page-ban-ca__why-choose-section .page-ban-ca__section-description,
.page-ban-ca__tips-section .page-ban-ca__section-description,
.page-ban-ca__conclusion-cta-section .page-ban-ca__section-description {
  color: #f0f0f0; /* Lighter grey text on dark background */
}

.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 {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.page-ban-ca__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%; /* Ensure perfect circle */
}

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

.page-ban-ca__feature-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #f0f0f0;
}

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

.page-ban-ca__game-card,
.page-ban-ca__promo-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-ban-ca__game-thumbnail,
.page-ban-ca__promo-img {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-ban-ca__game-card h3,
.page-ban-ca__promo-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 20px 15px 10px;
  color: #26A9E0;
}

.page-ban-ca__game-card p,
.page-ban-ca__promo-card p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 15px 20px;
  flex-grow: 1;
  color: #555555;
}

.page-ban-ca__btn-play,
.page-ban-ca__btn-details {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin: 0 15px 20px;
  transition: background 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: calc(100% - 30px);
}

.page-ban-ca__btn-play:hover,
.page-ban-ca__btn-details:hover {
  background: #1e87b7;
}

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

.page-ban-ca__guide-item {
  text-align: center;
  background: #f8f8f8;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: #333333;
}

.page-ban-ca__guide-img {
  max-width: 100%;
  height: 200px; /* Fixed height for guide images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__guide-step-title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-ban-ca__guide-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #555555;
}

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

.page-ban-ca__tip-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: #ffffff;
}

.page-ban-ca__tip-title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-ban-ca__tip-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #f0f0f0;
}

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

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  background: #e9f5ff;
  color: #26A9E0;
  border-bottom: 1px solid #d0e8ff;
  list-style: none; /* For details/summary */
}

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

.page-ban-ca__faq-qtext {
  flex-grow: 1;
}

.page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #26A9E0;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  border-bottom: 1px solid #d0e8ff;
}

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

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

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

.page-ban-ca__section,
.page-ban-ca__card,
.page-ban-ca__container,
.page-ban-ca__cta-buttons,
.page-ban-ca__button-group,
.page-ban-ca__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  /* HERO Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-ban-ca__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 20px;
  }
  .page-ban-ca__hero-content {
    text-align: center;
    order: 2; /* Content below image */
  }
  .page-ban-ca__hero-image {
    order: 1; /* Image above content */
  }
  .page-ban-ca__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust clamp for smaller screens */
    margin-bottom: 15px;
  }
  .page-ban-ca__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .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 sections */
  .page-ban-ca__container {
    padding: 30px 15px;
  }
  .page-ban-ca__section-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  .page-ban-ca__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* Module 1 (Features Grid) */
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__icon-box-media {
    width: 150px; /* Still square */
    height: 150px;
    margin-bottom: 15px;
    border-width: 3px;
  }
  .page-ban-ca__feature-title {
    font-size: 1.25rem;
  }
  .page-ban-ca__feature-text {
    font-size: 0.95rem;
  }

  /* Game List & Promo Grid */
  .page-ban-ca__game-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__game-card,
  .page-ban-ca__promo-card,
  .page-ban-ca__tip-card {
    padding: 15px;
  }
  .page-ban-ca__game-thumbnail,
  .page-ban-ca__promo-img {
     /* Adjust height for mobile */
  }
  .page-ban-ca__game-card h3,
  .page-ban-ca__promo-card h3,
  .page-ban-ca__tip-title {
    font-size: 1.125rem;
    margin-top: 15px;
    margin-bottom: 8px;
  }
  .page-ban-ca__game-card p,
  .page-ban-ca__promo-card p,
  .page-ban-ca__tip-text {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  .page-ban-ca__btn-play,
  .page-ban-ca__btn-details {
    max-width: calc(100% - 30px) !important;
    width: calc(100% - 30px) !important;
    padding: 10px 15px;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  /* Guide Section */
  .page-ban-ca__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__guide-item {
    padding: 15px;
  }
  .page-ban-ca__guide-img {
     /* Adjust height for mobile */
    margin-bottom: 15px;
  }
  .page-ban-ca__guide-step-title {
    font-size: 1.25rem;
  }
  .page-ban-ca__guide-text {
    font-size: 0.95rem;
  }

  /* FAQ Section */
  .page-ban-ca__faq-list {
    margin-top: 30px;
  }
  .page-ban-ca__faq-item {
    margin-bottom: 10px;
  }
  .page-ban-ca__faq-question {
    padding: 12px 15px;
    font-size: 1rem;
  }
  .page-ban-ca__faq-toggle {
    font-size: 1.2rem;
  }
  .page-ban-ca__faq-answer {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  /* Conclusion CTA */
  .page-ban-ca__conclusion-cta-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .page-ban-ca__cta-buttons--center {
    flex-direction: column;
  }

  /* General image and container responsiveness */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}