.page-ban-ca {
  font-family: Arial, sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from body */
}

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  background-color: #08162B;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-ban-ca__hero-content-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 0 16px;
}

.page-ban-ca__hero-text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-ban-ca__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  max-width: 800px;
}

.page-ban-ca__hero-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  line-height: 1.6;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play,
.page-ban-ca__btn-promo,
.page-ban-ca__btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-large {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button custom color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-ban-ca__btn-primary:hover,
.page-ban-ca__btn-large:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.6); /* Glow */
}

.page-ban-ca__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border */
}

.page-ban-ca__btn-secondary:hover {
  background-color: #244D84; /* Border */
  color: #ffffff;
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.6); /* Glow */
}

.page-ban-ca__hero-image-block {
  flex: 1;
  text-align: center;
}

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

.page-ban-ca__intro-section,
.page-ban-ca__game-types-section,
.page-ban-ca__guide-section,
.page-ban-ca__promotion-section,
.page-ban-ca__faq-section,
.page-ban-ca__cta-final-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 16px;
  text-align: center;
}

.page-ban-ca__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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 {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-ban-ca__icon-box-media {
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #244D84; /* Border */
  box-shadow: 0 0 20px rgba(79, 168, 255, 0.4); /* Glow */
}

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

.page-ban-ca__feature-title {
  font-size: 1.6em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-ban-ca__feature-text {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.5;
}

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

.page-ban-ca__game-card,
.page-ban-ca__promo-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #F3F8FF;
}

.page-ban-ca__game-card-image,
.page-ban-ca__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-ban-ca__game-card-title,
.page-ban-ca__promo-card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-ban-ca__game-card-title a,
.page-ban-ca__promo-card-title a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
}

.page-ban-ca__game-card-title a:hover,
.page-ban-ca__promo-card-title a:hover {
  text-decoration: underline;
}

.page-ban-ca__game-card-text,
.page-ban-ca__promo-card-text {
  font-size: 0.95em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__btn-play,
.page-ban-ca__btn-promo {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button custom color */
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
  width: auto; /* Allow button to size to content on desktop */
  align-self: center;
}

.page-ban-ca__btn-play:hover,
.page-ban-ca__btn-promo:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 0 10px rgba(79, 168, 255, 0.5); /* Glow */
}

.page-ban-ca__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.page-ban-ca__guide-step {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-ban-ca__guide-step:nth-child(even) {
  flex-direction: row-reverse;
}

.page-ban-ca__guide-step-media {
  flex: 1;
  max-width: 50%;
}

.page-ban-ca__guide-step-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-ban-ca__guide-step-content {
  flex: 1;
  max-width: 50%;
}

.page-ban-ca__guide-step-title {
  font-size: 1.8em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-ban-ca__guide-step-text {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

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

.page-ban-ca__faq-item {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #F3F8FF;
  border: 1px solid #244D84; /* Border */
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #F3F8FF; /* Text Main */
  list-style: none;
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  content: '−';
}

.page-ban-ca__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

.page-ban-ca__faq-answer p {
  margin: 0;
}

.page-ban-ca__cta-final-section {
  padding-bottom: 80px;
}

.page-ban-ca__btn-large {
  font-size: 1.3em;
  padding: 18px 40px;
  margin-top: 30px;
}

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

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
  .page-ban-ca__hero-content-wrapper {
    flex-direction: column;
  }
  .page-ban-ca__hero-text-block,
  .page-ban-ca__hero-image-block {
    flex: none;
    width: 100%;
  }
  .page-ban-ca__guide-step {
    flex-direction: column;
    text-align: center;
  }
  .page-ban-ca__guide-step:nth-child(even) {
    flex-direction: column;
  }
  .page-ban-ca__guide-step-media,
  .page-ban-ca__guide-step-content {
    max-width: 100%;
    width: 100%;
  }
  .page-ban-ca__btn-play,
  .page-ban-ca__btn-promo {
    align-self: center;
  }
}

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

  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em) !important;
    margin-bottom: 15px !important;
  }

  .page-ban-ca__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

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

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

  /* General Section Padding */
  .page-ban-ca__intro-section,
  .page-ban-ca__game-types-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__promotion-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final-section {
    padding: 40px 15px !important;
  }

  .page-ban-ca__section-title {
    font-size: 2em !important;
    margin-bottom: 15px !important;
  }

  .page-ban-ca__section-description {
    font-size: 0.95em !important;
    margin-bottom: 30px !important;
  }

  /* Module 1: Three-column circular images */
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .page-ban-ca__icon-box-media {
    width: 150px !important;
    height: 150px !important;
    margin-bottom: 15px !important;
  }
  
  .page-ban-ca__feature-title {
    font-size: 1.4em !important;
  }

  .page-ban-ca__feature-text {
    font-size: 0.9em !important;
  }

  /* Game Grid / Promo Grid */
  .page-ban-ca__game-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .page-ban-ca__game-card-image,
  .page-ban-ca__promo-card-image {
    height: 180px !important; /* Adjust height for mobile card images */
  }

  .page-ban-ca__game-card-title,
  .page-ban-ca__promo-card-title {
    font-size: 1.3em !important;
  }

  .page-ban-ca__game-card-text,
  .page-ban-ca__promo-card-text {
    font-size: 0.9em !important;
  }

  .page-ban-ca__btn-play,
  .page-ban-ca__btn-promo {
    max-width: 100% !important;
    width: 100% !important;
    align-self: stretch !important; /* Ensure buttons stretch full width */
  }

  /* Guide Section */
  .page-ban-ca__guide-steps {
    gap: 40px !important;
  }
  
  .page-ban-ca__guide-step-title {
    font-size: 1.6em !important;
  }

  .page-ban-ca__guide-step-text {
    font-size: 0.95em !important;
  }

  /* FAQ Section */
  .page-ban-ca__faq-question {
    font-size: 1.1em !important;
    padding: 15px !important;
  }

  .page-ban-ca__faq-answer {
    padding: 0 15px 15px !important;
    font-size: 0.95em !important;
  }

  /* All images in content area */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* All containers with images */
  .page-ban-ca__hero-content-wrapper,
  .page-ban-ca__intro-section,
  .page-ban-ca__game-types-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__promotion-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final-section,
  .page-ban-ca__feature-item,
  .page-ban-ca__game-card,
  .page-ban-ca__promo-card,
  .page-ban-ca__guide-step {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
}

/* Ensure no CSS filters are used for images */
.page-ban-ca img {
  filter: none !important;
}