.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #FFFFFF;
}

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

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
}

.page-ban-ca__section-title--white {
  color: #FFFFFF;
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__section-description--white {
  color: #f0f0f0;
}

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

.page-ban-ca__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-ban-ca__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
}

.page-ban-ca__btn-primary--large,
.page-ban-ca__btn-secondary--large {
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-ban-ca__btn-primary--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-ban-ca__cta-center {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* HERO Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: #FFFFFF;
  color: #333333;
}

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

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

.page-ban-ca__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Using clamp for responsive H1 */
  font-weight: 800;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

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

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

/* Intro Section */
.page-ban-ca__intro-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-ban-ca__intro-item {
  text-align: center;
  padding: 25px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-ban-ca__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #017439;
}

.page-ban-ca__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-ban-ca__intro-item-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-ban-ca__intro-item-description {
  font-size: 1em;
  color: #555555;
}

/* Game List Section */
.page-ban-ca__game-list-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

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

.page-ban-ca__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

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

.page-ban-ca__game-card-content {
  padding: 20px;
  color: #333333;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__game-card-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-ban-ca__game-card-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

/* Guide Section */
.page-ban-ca__guide-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-ban-ca__guide-step {
  text-align: center;
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-ban-ca__guide-step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__guide-step-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

.page-ban-ca__guide-step-text {
  font-size: 1em;
  color: #555555;
}

/* Strategy Section */
.page-ban-ca__strategy-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

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

.page-ban-ca__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-ban-ca__strategy-item-title {
  font-size: 1.4em;
  color: #FFFF00; /* Yellow for emphasis */
  margin-bottom: 10px;
}

.page-ban-ca__strategy-item-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

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

.page-ban-ca__promo-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-ban-ca__promo-item::before {
  content: '★';
  color: #C30808;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

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

/* Why Choose Us Section */
.page-ban-ca__why-choose-us-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

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

.page-ban-ca__benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.page-ban-ca__benefit-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-ban-ca__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

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

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7ee;
  border-bottom: 1px solid #d0e8df;
  list-style: none; /* For details/summary */
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  border-bottom: none;
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  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: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-ban-ca__hero-text-content,
  .page-ban-ca__hero-image-wrapper {
    flex: 1 1 100%;
  }
  .page-ban-ca__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-ban-ca__cta-buttons {
    justify-content: center;
  }
  .page-ban-ca__icon-box-media {
    width: 180px;
    height: 180px;
  }
  .page-ban-ca__game-card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-ban-ca__hero-description {
    font-size: 1em;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .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;
  }
  .page-ban-ca__cta-center {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Module 1: Intro Section - Three columns to one */
  .page-ban-ca__intro-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-ban-ca__intro-item {
    padding: 20px;
  }
  .page-ban-ca__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
    border-width: 3px;
  }

  /* Game List Section - Cards stack */
  .page-ban-ca__game-cards-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-ban-ca__game-card-image {
    height: 160px;
  }
  .page-ban-ca__game-card-content {
    padding: 15px;
  }

  /* Guide Section - Steps stack */
  .page-ban-ca__guide-steps-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-ban-ca__guide-step {
    padding: 20px;
  }

  /* Strategy Section - Items stack */
  .page-ban-ca__strategy-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-ban-ca__strategy-image {
    padding: 0 15px;
  }

  /* Promo Section - List formatting */
  .page-ban-ca__promo-list {
    padding: 0 15px;
  }
  .page-ban-ca__promo-item {
    padding-left: 25px;
    font-size: 1em;
  }
  .page-ban-ca__promo-item::before {
    font-size: 1em;
  }
  .page-ban-ca__promo-image {
    padding: 0 15px;
  }

  /* Why Choose Us Section - Benefits stack */
  .page-ban-ca__benefits-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-ban-ca__benefits-image {
    padding: 0 15px;
  }

  /* FAQ Section - Adjust padding */
  .page-ban-ca__faq-list {
    padding: 0 15px;
  }
  .page-ban-ca__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-ban-ca__faq-answer {
    padding: 10px 20px 15px;
  }

  /* General content area padding and image responsiveness */
  .page-ban-ca__container,
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  /* Exception for square images in intro section */
  .page-ban-ca__icon-box-media img {
    height: 100% !important; /* Keep height 100% to fill the circular container */
    object-fit: cover !important;
  }

  .page-ban-ca__section-title {
    font-size: 2em;
  }
  .page-ban-ca__section-description {
    font-size: 1em;
  }
}