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

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Ensure background color for the section */
}

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

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

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

.page-ban-ca__hero-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

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

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

.page-ban-ca__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.4);
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play-now {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure responsiveness */
}

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

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color for text */
  border: 2px solid #F2C14E; /* Main color for border */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-ban-ca__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

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

.page-ban-ca__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #FFD36B; /* Accent color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-ban-ca__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFD36B 0%, #F2C14E 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-ban-ca__text-block {
  font-size: 1rem;
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__intro-section {
  background-color: #0A0A0A;
}

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

.page-ban-ca__icon-box {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(242, 193, 78, 0.3);
}

.page-ban-ca__icon-box-media {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 4px solid #F2C14E;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

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

.page-ban-ca__icon-box-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-ban-ca__icon-box-description {
  font-size: 0.95rem;
  color: #FFF6D6;
}

.page-ban-ca__guide-section {
  background-color: #0A0A0A;
}

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

.page-ban-ca__guide-step-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__guide-step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 211, 107, 0.3);
}

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

.page-ban-ca__guide-step-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Accent color */
  margin-bottom: 10px;
}

.page-ban-ca__guide-step-description {
  font-size: 0.95rem;
  color: #FFF6D6;
}

.page-ban-ca__game-halls-section {
  background-color: #0A0A0A;
}

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

.page-ban-ca__game-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(242, 193, 78, 0.3);
}

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

.page-ban-ca__game-card-title {
  font-size: 1.3rem;
  color: #F2C14E;
  padding: 15px 20px 5px;
}

.page-ban-ca__game-card-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-ban-ca__game-card-description {
  font-size: 0.9rem;
  color: #FFF6D6;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-ban-ca__btn-play-now {
  margin: 0 20px 20px;
  text-align: center;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
}

.page-ban-ca__btn-play-now:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-ban-ca__strategy-section {
  background-color: #0A0A0A;
}

.page-ban-ca__strategy-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 900px;
}

.page-ban-ca__strategy-list li {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #FFF6D6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__strategy-list li strong {
  color: #F2C14E;
}

.page-ban-ca__promo-section {
  background-color: #0A0A0A;
}

.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-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 211, 107, 0.3);
}

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

.page-ban-ca__promo-card-title {
  font-size: 1.3rem;
  color: #F2C14E;
  padding: 15px 20px 5px;
}

.page-ban-ca__promo-card-description {
  font-size: 0.9rem;
  color: #FFF6D6;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-ban-ca__promo-card .page-ban-ca__btn-primary {
  margin: 0 20px 20px;
  text-align: center;
}

.page-ban-ca__faq-section {
  background-color: #0A0A0A;
}

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

.page-ban-ca__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.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: #F2C14E;
  cursor: pointer;
  position: relative;
  list-style: none; /* Remove default marker */
}

.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.5rem;
  font-weight: 700;
  color: #FFD36B;
  margin-left: 15px;
  line-height: 1;
  user-select: none;
}

.page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF6D6;
}

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

.page-ban-ca__conclusion-section {
  background-color: #0A0A0A;
  padding-bottom: 80px;
}

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

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

/* Mobile Styles */
@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-ban-ca__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 15px;
  }

  .page-ban-ca__hero-content {
    text-align: center;
    flex: 1 1 100%;
  }

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

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

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

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play-now {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-ban-ca__hero-image {
    flex: 1 1 100%;
  }

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

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

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

  .page-ban-ca__features-grid,
  .page-ban-ca__guide-steps,
  .page-ban-ca__game-halls-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .page-ban-ca__icon-box-media {
    width: 150px;
    height: 150px;
    border-width: 3px;
  }

  .page-ban-ca__icon-box-title {
    font-size: 1.3rem;
  }

  .page-ban-ca__icon-box-description {
    font-size: 0.9rem;
  }

  .page-ban-ca__guide-step-title {
    font-size: 1.2rem;
  }

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

  .page-ban-ca__game-card-title,
  .page-ban-ca__promo-card-title {
    font-size: 1.15rem;
  }

  .page-ban-ca__game-card-description,
  .page-ban-ca__promo-card-description {
    font-size: 0.85rem;
  }

  .page-ban-ca__strategy-list {
    margin-top: 30px;
  }

  .page-ban-ca__strategy-list li {
    font-size: 0.95rem;
    padding: 18px;
    margin-bottom: 10px;
  }

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

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

  /* Ensure all images are responsive */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all containers handle overflow */
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__hero-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: hidden;
  }

  .page-ban-ca__hero-cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}