.page-ban-ca {
  font-family: Arial, sans-serif;
  color: #FFF5E1; /* Main text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css, which is #B71C1C */
  line-height: 1.6;
  padding-bottom: 40px;
}

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

.page-ban-ca__section {
  padding: 40px 0;
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  color: #F4D34D; /* Gold color for main titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-link,
.page-ban-ca a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Base for responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button gradient */
  color: #000000; /* Black text for contrast on gold gradient */
  border: 2px solid #F2B544; /* Border color from palette */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__btn-secondary,
.page-ban-ca__btn-link {
  background: #D32F2F; /* Card BG color */
  color: #FFF5E1; /* Text Main color */
  border: 2px solid #F2B544; /* Border color from palette */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__btn-secondary:hover,
.page-ban-ca__btn-link:hover {
  background: #7A0E0E; /* Deep Red color */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Card styles */
.page-ban-ca__card {
  background-color: #D32F2F; /* Card BG color */
  color: #FFF5E1; /* Text Main color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-ban-ca__card-title {
  font-size: 1.4em;
  color: #F4D34D; /* Gold color */
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__card-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #FFF5E1;
}

/* Images */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default for most images */
}

/* M1: Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles main offset */
  margin-bottom: 40px;
  background-color: #B71C1C; /* Background color from palette for this section */
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.page-ban-ca__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.page-ban-ca__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Clamp for H1 font size */
  color: #FFCC66; /* Glow color for H1 */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.5);
}

.page-ban-ca__description {
  font-size: 1.2em;
  color: #FFF5E1;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

/* M2: Why Choose Us Section */
.page-ban-ca__why-choose-us {
  background-color: #7A0E0E; /* Deep Red for this section */
}

.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-card {
  padding: 30px;
}

.page-ban-ca__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  object-fit: contain;
}

/* M3: Highlight Features Section */
.page-ban-ca__highlight-features {
  background-color: #C91F17; /* Main brand color for dark section */
}

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

.page-ban-ca__feature-item {
  background-color: #D32F2F; /* Card BG color */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__feature-heading {
  font-size: 1.5em;
  color: #F4D34D; /* Gold color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__feature-text {
  font-size: 1em;
  color: #FFF5E1;
  line-height: 1.6;
}

/* M4: How To Play Section */
.page-ban-ca__how-to-play {
  background-color: #B71C1C; /* Background color from palette */
}

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

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

.page-ban-ca__step-number {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #000000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  border: 2px solid #F2B544;
}

/* M5: Popular Games Section */
.page-ban-ca__popular-games {
  background-color: #C91F17; /* Main brand color */
}

.page-ban-ca__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Desktop: 250x250 square */
  gap: 20px;
  margin-top: 40px;
}

.page-ban-ca__game-tile {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 0; /* Remove padding from card for full image */
}

.page-ban-ca__game-image {
  width: 100%;
  height: 250px; /* Desktop: 250x250 square */
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.page-ban-ca__game-tile:hover .page-ban-ca__game-image {
  transform: scale(1.05);
}

.page-ban-ca__game-title {
  font-size: 1.2em;
  color: #F4D34D;
  margin: 15px 0 10px 0;
  padding: 0 15px;
}

.page-ban-ca__game-play-btn {
  display: block;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #000000;
  padding: 10px 15px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.page-ban-ca__game-play-btn:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-ban-ca__view-all-games-container {
  text-align: center;
  margin-top: 50px;
}

/* M6: Promotions Section */
.page-ban-ca__promotions {
  background-color: #B71C1C; /* Background color from palette */
}

.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 {
  padding: 0; /* Remove padding for image to fill */
  overflow: hidden;
}

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

.page-ban-ca__promo-card .page-ban-ca__card-title,
.page-ban-ca__promo-card .page-ban-ca__card-description {
  padding: 0 20px;
  text-align: left;
}

.page-ban-ca__promo-card .page-ban-ca__card-title {
  margin-top: 20px;
}
.page-ban-ca__promo-card .page-ban-ca__btn-link {
  margin: 20px 20px 20px 20px;
  width: calc(100% - 40px);
}

.page-ban-ca__view-all-promos-container {
  text-align: center;
  margin-top: 50px;
}

/* M7: Tips Section */
.page-ban-ca__tips {
  background-color: #C91F17; /* Main brand color */
}

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

.page-ban-ca__tip-item {
  background-color: #D32F2F; /* Card BG color */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left; /* Align text left for tips */
}

.page-ban-ca__tip-heading {
  font-size: 1.5em;
  color: #F4D34D; /* Gold color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__tip-text {
  font-size: 1em;
  color: #FFF5E1;
  line-height: 1.6;
}

/* M8: FAQ Section */
.page-ban-ca__faq-section {
  background-color: #B71C1C; /* Background color from palette */
}

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

.page-ban-ca__faq-item {
  background-color: #D32F2F; /* Card BG color */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F4D34D; /* Gold color */
  cursor: pointer;
  background-color: #D32F2F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-ban-ca__faq-question:hover {
  background-color: #7A0E0E;
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 25px 25px 25px;
  font-size: 1em;
  color: #FFF5E1;
  line-height: 1.6;
  background-color: #D32F2F;
}

.page-ban-ca__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

.page-ban-ca__faq-answer a {
  color: #FFD86A;
  text-decoration: underline;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
  .page-ban-ca__section-title {
    font-size: 2em;
  }

  .page-ban-ca__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-ban-ca__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }

  .page-ban-ca__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-link {
    padding: 10px 20px;
    font-size: 0.95em;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

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

  .page-ban-ca__feature-heading,
  .page-ban-ca__tip-heading {
    font-size: 1.3em;
  }

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

  .page-ban-ca__faq-answer {
    padding: 10px 20px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-ban-ca__container {
    padding: 0 15px;
  }

  .page-ban-ca__section {
    padding: 30px 0;
  }

  .page-ban-ca__section-title {
    font-size: 1.8em;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em);
  }

  .page-ban-ca__card {
    padding: 20px;
  }

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

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

  .page-ban-ca__game-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__game-image {
    height: 200px;
  }
}