.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

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

.page-ban-ca__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-ban-ca__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-ban-ca__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
  opacity: 0.9;
}

.page-ban-ca__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #3A2A12; /* Border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-3px);
  background: #222222;
  color: #FFF6D6; /* Text Main */
  border-color: #FFD36B;
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-ban-ca__text-block {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-ban-ca__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-ban-ca__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #F2C14E; /* Primary */
  margin-top: 15px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-ban-ca__card-description {
  font-size: 1em;
  line-height: 1.5;
  flex-grow: 1;
}

.page-ban-ca__intro-section {
  padding: 80px 0;
}

.page-ban-ca__features-section,
.page-ban-ca__games-showcase-section,
.page-ban-ca__how-to-play-section,
.page-ban-ca__tips-section,
.page-ban-ca__promotions-section,
.page-ban-ca__faq-section,
.page-ban-ca__cta-section {
  padding: 60px 0;
}

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

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

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

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

.page-ban-ca__step-card {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-ban-ca__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.5);
}

.page-ban-ca__step-card .page-ban-ca__card-title {
  margin-top: 15px;
  color: #FFD36B;
}

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

.page-ban-ca__list-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #FFF6D6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__list-item strong {
  color: #F2C14E; /* Primary */
}

.page-ban-ca__list-item a {
  color: #FFD36B; /* Glow */
  text-decoration: underline;
}

.page-ban-ca__list-item a:hover {
  color: #FFF6D6;
}

.page-ban-ca__promotions-grid .page-ban-ca__btn-secondary {
  margin-top: 20px;
  align-self: flex-start;
}

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

.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #222222;
  color: #F2C14E; /* Primary */
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-ban-ca__faq-question:hover {
  background-color: #2a2a2a;
}

.page-ban-ca__faq-question::marker, /* Hide default marker 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.5em;
  font-weight: 700;
  margin-left: 15px;
  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 20px;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
  font-size: 1em;
  line-height: 1.6;
  border-top: 1px solid #3A2A12;
}

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

.page-ban-ca__faq-answer a {
  color: #FFD36B; /* Glow */
  text-decoration: underline;
}

.page-ban-ca__faq-answer a:hover {
  color: #F2C14E;
}

.page-ban-ca__cta-section {
  background-color: #0A0A0A;
  padding: 80px 0;
  text-align: center;
}

.page-ban-ca__cta-inner {
  max-width: 800px;
}

.page-ban-ca__cta-inner .page-ban-ca__section-title {
  margin-top: 0;
}

.page-ban-ca__cta-inner .page-ban-ca__text-block {
  margin-bottom: 30px;
}

.page-ban-ca__cta-inner .page-ban-ca__btn-primary,
.page-ban-ca__cta-inner .page-ban-ca__btn-secondary {
  margin: 0 10px;
}

.page-ban-ca a {
  color: #FFD36B;
  text-decoration: none;
}

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

/* Ensure all images are responsive by default */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 15px;
  }

  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  .page-ban-ca__hero-image-wrapper {
    max-height: 300px;
  }

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

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

  .page-ban-ca__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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;
    margin: 0 auto; /* Center buttons if in a column */
  }

  .page-ban-ca__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-ban-ca__text-block {
    font-size: 0.95em;
    text-align: left;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__games-grid,
  .page-ban-ca__promotions-grid,
  .page-ban-ca__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

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

  .page-ban-ca__card-title {
    font-size: 1.3em;
  }

  .page-ban-ca__card-description {
    font-size: 0.9em;
  }

  .page-ban-ca__step-card {
    padding-top: 50px;
  }

  .page-ban-ca__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.5em;
  }

  .page-ban-ca__list-item {
    padding: 15px;
    font-size: 1em;
  }

  .page-ban-ca__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-ban-ca__faq-toggle {
    font-size: 1.2em;
  }

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

  .page-ban-ca__cta-section {
    padding: 60px 0;
  }

  /* General image and container responsiveness for mobile */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}