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

.page-ban-ca__section-spacing {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-ban-ca__section-title--large {
  font-size: 3em;
  color: #F3C54D;
}

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

.page-ban-ca__text-block--center {
  text-align: center;
}

.page-ban-ca__card {
  background-color: #2A1212; /* Card B G */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play,
.page-ban-ca__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #FFF1E8; /* Text Main */
  border: none;
}

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

.page-ban-ca__btn-secondary {
  background-color: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold */
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(243, 197, 77, 0.1);
}

.page-ban-ca__btn-play {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 15px;
}

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

.page-ban-ca__btn-small {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 15px;
  display: block;
  width: fit-content;
}

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

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Ensure image is above text */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
}

.page-ban-ca__hero-image-container {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  overflow: hidden;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover the container, potentially cropping */
  min-height: 300px; /* Ensure minimum size */
}

.page-ban-ca__hero-content {
  position: relative; /* Not absolute to avoid overlaying image */
  padding: 30px 20px;
  max-width: 900px;
  z-index: 2;
  margin-top: -100px; /* Pull content slightly over image, but not over text */
  background: rgba(20, 12, 12, 0.7); /* Semi-transparent background for readability */
  border-radius: 10px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #F3C54D;
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
}

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

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

/* Games Showcase Section */
.page-ban-ca__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-ban-ca__game-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 350px;
}

.page-ban-ca__game-thumbnail {
  width: 250px;
  height: 250px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 15px;
  border: 1px solid #6A1E1E;
}

.page-ban-ca__game-title {
  font-size: 1.5em;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-ban-ca__game-description {
  font-size: 0.95em;
  color: #FFF1E8;
  flex-grow: 1;
}

/* Features Section */
.page-ban-ca__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-ban-ca__feature-item {
  text-align: center;
}

.page-ban-ca__feature-icon {
  width: 300px; /* Recommended size for content images */
  height: 200px; /* Recommended size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #6A1E1E;
}

.page-ban-ca__feature-title {
  font-size: 1.4em;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-ban-ca__feature-description {
  font-size: 0.95em;
  color: #FFF1E8;
}

/* How to Play Section */
.page-ban-ca__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-ban-ca__step-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__step-title {
  font-size: 1.3em;
  color: #F3C54D;
  margin-bottom: 15px;
}

/* Promotions Section */
.page-ban-ca__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-ban-ca__promo-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__promo-image {
  width: 400px; /* Recommended size */
  height: 250px; /* Recommended size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #6A1E1E;
}

.page-ban-ca__promo-title {
  font-size: 1.4em;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-ban-ca__promo-description {
  font-size: 0.95em;
  color: #FFF1E8;
  flex-grow: 1;
}

/* Strategy Section */
.page-ban-ca__strategy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-ban-ca__strategy-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__strategy-title {
  font-size: 1.3em;
  color: #F3C54D;
  margin-bottom: 15px;
}

/* Why Choose Us Section */
.page-ban-ca__why-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.page-ban-ca__why-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__why-title {
  font-size: 1.4em;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-ban-ca__why-item p {
  font-size: 0.95em;
  color: #FFF1E8;
}

/* FAQ Section */
.page-ban-ca__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__faq-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  color: #F3C54D;
  cursor: pointer;
  background-color: #7E0D0D; /* Deep Red */
  border-bottom: 1px solid #6A1E1E;
  list-style: none; /* For details/summary */
}

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

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

.page-ban-ca__faq-qtext {
  flex-grow: 1;
}

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

.page-ban-ca__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #FFF1E8;
}

/* Final CTA */
.page-ban-ca__cta-final {
  text-align: center;
  padding: 60px 20px;
}

.page-ban-ca__cta-buttons--center {
  justify-content: center;
  gap: 20px;
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}

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

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

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

  .page-ban-ca__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
  }

  .page-ban-ca__hero-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

  .page-ban-ca__game-grid,
  .page-ban-ca__features-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__strategy-list,
  .page-ban-ca__why-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-ban-ca__game-thumbnail,
  .page-ban-ca__feature-icon,
  .page-ban-ca__promo-image {
    width: 100%;
    max-width: 300px; /* Constrain for slightly smaller screens */
    height: auto;
  }

  .page-ban-ca__game-card,
  .page-ban-ca__promo-card {
    min-height: unset;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__section-spacing {
    padding: 20px 15px;
  }

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

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

  .page-ban-ca__text-block {
    font-size: 1em;
  }

  /* Hero Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
  }

  .page-ban-ca__hero-image {
    object-fit: contain !important; /* Mobile: contain, not cover */
    aspect-ratio: unset !important;
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__hero-content {
    margin-top: -50px; /* Adjust margin */
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-ban-ca__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons - Mobile specific */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play,
  .page-ban-ca__btn-small,
  .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;
  }
  
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-ban-ca__cta-buttons--center {
    flex-direction: column; /* Ensure vertical stacking for centered buttons */
  }

  /* Game Grid */
  .page-ban-ca__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden;
  }

  .page-ban-ca__game-thumbnail {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    aspect-ratio: 1/1; /* Maintain square aspect ratio */
    object-fit: cover;
  }

  /* Features Grid */
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__feature-icon {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  /* Steps Grid */
  .page-ban-ca__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Promotions Grid */
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__promo-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  /* Strategy List */
  .page-ban-ca__strategy-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Why Choose Us List */
  .page-ban-ca__why-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  /* General content images */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
}