.page-ban-ca {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Assuming shared provides light background */
}

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

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

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

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

.page-ban-ca__description {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555555;
}

.page-ban-ca__description--light {
  color: #f0f0f0;
}

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

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

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

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

.page-ban-ca__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-ban-ca__btn-play,
.page-ban-ca__btn-promo {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
  font-size: 0.95em;
  padding: 10px 20px;
}

.page-ban-ca__btn-play:hover,
.page-ban-ca__btn-promo:hover {
  background-color: #c46406;
  border-color: #c46406;
}

.page-ban-ca__btn-small {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  font-size: 0.9em;
  padding: 8px 18px;
  margin-top: 15px;
}

.page-ban-ca__btn-small:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #26A9E0 0%, #4aaffa 100%); /* Example gradient for hero */
  color: #ffffff;
}

.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 50%;
  min-width: 300px;
  text-align: left;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
}

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

.page-ban-ca__hero-side-image {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.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;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-ban-ca__icon-box-media {
  width: 180px;
  height: 180px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #26A9E0;
  box-shadow: 0 0 0 8px rgba(38, 169, 224, 0.2);
}

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

.page-ban-ca__feature-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-ban-ca__feature-text {
  font-size: 1em;
  color: #666666;
}

/* Game Types Section */
.page-ban-ca__game-types-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-ban-ca__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

.page-ban-ca__game-card-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #26A9E0;
  margin: 20px 15px 10px;
}

.page-ban-ca__game-card-text {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px 20px;
}

.page-ban-ca__btn-play {
  margin-bottom: 20px;
}

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

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

.page-ban-ca__guide-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

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

.page-ban-ca__guide-step-text {
  color: #555555;
  margin-bottom: 15px;
}

.page-ban-ca__guide-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

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

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

.page-ban-ca__promo-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-ban-ca__promo-card:hover {
  transform: translateY(-5px);
}

.page-ban-ca__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for promo images */
  object-fit: cover;
}

.page-ban-ca__promo-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #26A9E0;
  margin: 20px 15px 10px;
}

.page-ban-ca__promo-text {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px 20px;
}

.page-ban-ca__btn-promo {
  margin-bottom: 20px;
}

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

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

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* Hide default marker */
}

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

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

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

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

/* Call to Action Bottom Section */
.page-ban-ca__call-to-action-bottom {
  padding: 60px 0;
  text-align: center;
}

.page-ban-ca__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 15px;
  padding: 50px 30px;
}

.page-ban-ca__dark-section .page-ban-ca__cta-buttons .page-ban-ca__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-ban-ca__dark-section .page-ban-ca__cta-buttons .page-ban-ca__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
  border-color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-ban-ca__hero-content {
    text-align: center;
  }
  .page-ban-ca__hero-image {
    order: -1; /* Image above content on smaller screens */
    margin-bottom: 30px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }
  .page-ban-ca__section-title {
    font-size: 2em;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    width: 80%;
    max-width: 300px;
  }
  .page-ban-ca__features-grid,
  .page-ban-ca__game-cards-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-ban-ca__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-ban-ca__description {
    font-size: 1em;
  }
  .page-ban-ca__hero-image {
    margin-bottom: 20px;
  }

  /* Buttons & Button Containers */
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play,
  .page-ban-ca__btn-promo,
  .page-ban-ca__btn-small,
  .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-buttons,
  .page-ban-ca__button-group,
  .page-ban-ca__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;
  }

  /* General Content Area & Images */
  .page-ban-ca__content-area,
  .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;
  }
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Intro Section (Feature Grid) */
  .page-ban-ca__intro-section {
    padding: 40px 0;
  }
  .page-ban-ca__section-title {
    font-size: 1.8em;
  }
  .page-ban-ca__section-description {
    font-size: 0.95em;
  }
  .page-ban-ca__icon-box-media {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-width: 3px;
    box-shadow: 0 0 0 6px rgba(38, 169, 224, 0.2);
  }
  .page-ban-ca__feature-title {
    font-size: 1.2em;
  }
  .page-ban-ca__feature-text {
    font-size: 0.9em;
  }

  /* Game Types Section (Game Cards) */
  .page-ban-ca__game-types-section {
    padding: 40px 0;
  }
  .page-ban-ca__game-card-image {
    height: 180px; /* Adjust height for mobile */
  }
  .page-ban-ca__game-card-title {
    font-size: 1.2em;
  }
  .page-ban-ca__game-card-text {
    font-size: 0.9em;
  }

  /* Guide Section */
  .page-ban-ca__guide-section {
    padding: 40px 0;
  }
  .page-ban-ca__guide-item {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-ban-ca__guide-step-title {
    font-size: 1.2em;
  }
  .page-ban-ca__guide-step-text {
    font-size: 0.95em;
  }

  /* Promo Section (Promo Cards) */
  .page-ban-ca__promo-section {
    padding: 40px 0;
  }
  .page-ban-ca__promo-image {
    height: 180px; /* Adjust height for mobile */
  }
  .page-ban-ca__promo-title {
    font-size: 1.2em;
  }
  .page-ban-ca__promo-text {
    font-size: 0.9em;
  }

  /* FAQ Section */
  .page-ban-ca__faq-section {
    padding: 40px 0;
  }
  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-ban-ca__faq-toggle {
    font-size: 1.3em;
  }
  .page-ban-ca__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }

  /* Call to Action Bottom Section */
  .page-ban-ca__call-to-action-bottom {
    padding: 40px 0;
  }
  .page-ban-ca__dark-section {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .page-ban-ca__section-title {
    font-size: 1.6em;
  }
  .page-ban-ca__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }
  .page-ban-ca__icon-box-media {
    width: 120px;
    height: 120px;
  }
}