.page-ban-ca {
  color: #F3F8FF; /* Main text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%); /* Dark gradient background for hero */
  color: #F3F8FF;
}

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

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

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

.page-ban-ca__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #AFC4E8; /* Secondary text color */
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  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 {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: 2px solid transparent;
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: #F3F8FF;
  border: 2px solid #2B73F6;
}

.page-ban-ca__btn-secondary:hover {
  background: #2B73F6;
  color: #F3F8FF;
  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 10px 30px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #F2C14E; /* Gold color for section titles */
}

.page-ban-ca__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #AFC4E8;
}

.page-ban-ca__intro-section,
.page-ban-ca__popular-games-section,
.page-ban-ca__guide-section,
.page-ban-ca__promo-section,
.page-ban-ca__faq-section,
.page-ban-ca__register-cta-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy background for sections */
}

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

.page-ban-ca__icon-box-media {
  width: 200px;
  height: 200px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #F2C14E; /* Gold border for circular icons */
  box-shadow: 0 0 15px #4FA8FF;
}

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

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

.page-ban-ca__feature-text {
  font-size: 1rem;
  color: #AFC4E8;
}

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

.page-ban-ca__game-card,
.page-ban-ca__promo-card {
  background-color: #10233F;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84;
  display: flex;
  flex-direction: column;
  color: #F3F8FF;
}

.page-ban-ca__game-image,
.page-ban-ca__promo-image {
  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 {
  padding: 15px 20px 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E;
}

.page-ban-ca__game-card h3 a,
.page-ban-ca__promo-card h3 a {
  color: #F2C14E;
  text-decoration: none;
}

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

.page-ban-ca__game-description,
.page-ban-ca__promo-text {
  padding: 0 20px 15px;
  font-size: 0.95rem;
  color: #AFC4E8;
  flex-grow: 1;
}

.page-ban-ca__btn-small {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 20px 20px;
  border-radius: 6px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: calc(100% - 40px);
}

.page-ban-ca__btn-small:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-1px);
}

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

.page-ban-ca__guide-image {
  flex: 1 1 45%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 300px;
}

.page-ban-ca__guide-list {
  flex: 1 1 45%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__guide-list li {
  background-color: #10233F;
  border: 1px solid #244D84;
  padding: 18px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #AFC4E8;
  position: relative;
  padding-left: 40px;
}

.page-ban-ca__guide-list li::before {
  content: counter(list-item) ".";
  counter-increment: list-item;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  color: #F2C14E;
  font-size: 1.2rem;
}

.page-ban-ca__guide-list li strong {
  color: #F3F8FF;
}

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

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

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

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

.page-ban-ca__faq-item {
  background-color: #10233F;
  border: 1px solid #244D84;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #AFC4E8;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F3F8FF;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #F2C14E;
}

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

.page-ban-ca__faq-answer {
  padding: 0 25px 18px;
  font-size: 1rem;
  color: #AFC4E8;
  line-height: 1.7;
}

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

.page-ban-ca__faq-answer a {
  color: #2B73F6;
  text-decoration: none;
}

.page-ban-ca__faq-answer a:hover {
  text-decoration: underline;
}

.page-ban-ca__register-cta-section {
  text-align: center;
  background: linear-gradient(90deg, #113B7A 0%, #1D5FD1 100%); /* Blue gradient background */
  padding: 80px 0;
  color: #F3F8FF;
}

.page-ban-ca__register-cta-section .page-ban-ca__section-title {
  color: #F3F8FF;
}

.page-ban-ca__register-cta-section .page-ban-ca__section-description {
  color: #F3F8FF;
}

.page-ban-ca__register-cta-section .page-ban-ca__cta-buttons {
  justify-content: center;
  margin: 40px auto 0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-ban-ca__hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-ban-ca__hero-content {
    order: 2;
  }

  .page-ban-ca__hero-image {
    order: 1;
    margin-bottom: 30px;
  }

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

  .page-ban-ca__guide-content {
    flex-direction: column;
  }

  .page-ban-ca__guide-image {
    order: 1;
    margin-bottom: 30px;
  }

  .page-ban-ca__guide-list {
    order: 2;
  }
}

@media (max-width: 768px) {
  .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: 2rem;
    margin-bottom: 15px;
  }

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

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px; /* Add padding to container */
  }

  .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;
    padding: 12px 15px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__container {
    padding: 30px 15px;
  }

  .page-ban-ca__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

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

  .page-ban-ca__features-grid,
  .page-ban-ca__game-list,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-ban-ca__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
  }

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

  .page-ban-ca__game-image,
  .page-ban-ca__promo-image {
    height: 180px;
  }

  .page-ban-ca__btn-small {
    max-width: calc(100% - 40px) !important;
    width: calc(100% - 40px) !important;
    font-size: 0.9rem;
  }

  .page-ban-ca__guide-content {
    gap: 20px;
  }

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

  .page-ban-ca__guide-list li {
    font-size: 0.95rem;
    padding: 15px 15px 15px 40px;
  }

  .page-ban-ca__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-ban-ca__faq-answer {
    font-size: 0.95rem;
    padding: 0 20px 15px;
  }

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

  /* All containers containing images */
  .page-ban-ca__hero-section,
  .page-ban-ca__intro-section,
  .page-ban-ca__popular-games-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__promo-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__register-cta-section,
  .page-ban-ca__game-card,
  .page-ban-ca__promo-card,
  .page-ban-ca__feature-item,
  .page-ban-ca__guide-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Ensure main container also gets padding */
  .page-ban-ca .page-ban-ca__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}