:root {
  --page-ban-ca-primary-color: #C91F17;
  --page-ban-ca-secondary-color: #E53935;
  --page-ban-ca-bg-card: #D32F2F;
  --page-ban-ca-bg-main: #B71C1C;
  --page-ban-ca-text-main: #FFF5E1;
  --page-ban-ca-border-gold: #F2B544;
  --page-ban-ca-glow-gold: #FFCC66;
  --page-ban-ca-gold: #F4D34D;
  --page-ban-ca-deep-red: #7A0E0E;
  --page-ban-ca-btn-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
}

.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: var(--page-ban-ca-text-main); /* Text Main on main background */
  background-color: var(--page-ban-ca-bg-main); /* Background */
  line-height: 1.6;
}

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

.page-ban-ca__center-text {
  text-align: center;
}

/* Top section spacing, ~10px padding-top to avoid double header offset */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding */
  position: relative;
  overflow: hidden;
  color: var(--page-ban-ca-text-main);
  padding-bottom: 40px;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  margin-bottom: 20px;
}

.page-ban-ca__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-ban-ca__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  font-weight: 700;
  color: var(--page-ban-ca-gold); /* Gold */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.7); /* Glow */
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__hero-buttons,
.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding in width */
}

.page-ban-ca__btn-primary {
  background: var(--page-ban-ca-btn-gradient);
  color: var(--page-ban-ca-deep-red); /* Deep Red for contrast on gold button */
  border: 2px solid var(--page-ban-ca-border-gold); /* Border */
}

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

.page-ban-ca__btn-secondary {
  background: var(--page-ban-ca-bg-card); /* Card BG */
  color: var(--page-ban-ca-text-main); /* Text Main */
  border: 2px solid var(--page-ban-ca-border-gold); /* Border */
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-ban-ca-gold); /* Gold */
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.5);
}

.page-ban-ca__section-description {
  font-size: 1.05em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__dark-section {
  background-color: var(--page-ban-ca-primary-color); /* Primary color */
  color: var(--page-ban-ca-text-main);
  padding: 60px 0;
}

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

.page-ban-ca__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__feature-item {
  background: var(--page-ban-ca-bg-card); /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-ban-ca-border-gold); /* Border */
}

.page-ban-ca__feature-heading {
  font-size: 1.5em;
  color: var(--page-ban-ca-gold); /* Gold */
  margin-bottom: 15px;
}

.page-ban-ca__feature-item p {
  font-size: 1em;
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__popular-games {
  padding: 60px 0;
}

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

.page-ban-ca__game-card {
  background: var(--page-ban-ca-bg-card); /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--page-ban-ca-border-gold); /* Border */
}

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

.page-ban-ca__game-title {
  font-size: 1.4em;
  color: var(--page-ban-ca-gold); /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-ban-ca__game-desc {
  font-size: 0.95em;
  color: var(--page-ban-ca-text-main);
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-ban-ca__btn-play {
  background: var(--page-ban-ca-btn-gradient);
  color: var(--page-ban-ca-deep-red); /* Deep Red for contrast on gold button */
  border: 2px solid var(--page-ban-ca-border-gold); /* Border */
  padding: 10px 25px;
  font-size: 1em;
  border-radius: 30px;
}

.page-ban-ca__btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 204, 102, 0.4);
}

.page-ban-ca__how-to-play {
  padding: 60px 0;
}

.page-ban-ca__steps-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Dual column layout */
  gap: 40px;
  align-items: center;
}

.page-ban-ca__step-image-wrapper {
  text-align: center;
}

.page-ban-ca__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure no extra space below image */
  margin: 0 auto;
}

.page-ban-ca__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__step-item {
  background: var(--page-ban-ca-bg-card); /* Card BG */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-ban-ca-border-gold); /* Border */
}

.page-ban-ca__step-item:last-child {
  margin-bottom: 0;
}

.page-ban-ca__step-heading {
  font-size: 1.3em;
  color: var(--page-ban-ca-gold); /* Gold */
  margin-bottom: 10px;
}

.page-ban-ca__step-item p {
  font-size: 1em;
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__center-buttons {
  margin-top: 40px;
}

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

.page-ban-ca__promo-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* Dual column layout */
  gap: 40px;
  align-items: center;
}

.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__promo-item {
  background: var(--page-ban-ca-bg-card); /* Card BG */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-ban-ca-border-gold); /* Border */
}

.page-ban-ca__promo-item:last-child {
  margin-bottom: 0;
}

.page-ban-ca__promo-heading {
  font-size: 1.3em;
  color: var(--page-ban-ca-gold); /* Gold */
  margin-bottom: 10px;
}

.page-ban-ca__promo-item p {
  font-size: 1em;
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__promo-image-wrapper {
  text-align: center;
}

.page-ban-ca__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-ban-ca__tips-strategies {
  padding: 60px 0;
}

.page-ban-ca__tips-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Dual column layout */
  gap: 40px;
  align-items: center;
}

.page-ban-ca__tips-image-wrapper {
  text-align: center;
}

.page-ban-ca__tips-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

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

.page-ban-ca__tip-item {
  background: var(--page-ban-ca-bg-card); /* Card BG */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-ban-ca-border-gold); /* Border */
}

.page-ban-ca__tip-item:last-child {
  margin-bottom: 0;
}

.page-ban-ca__tip-heading {
  font-size: 1.3em;
  color: var(--page-ban-ca-gold); /* Gold */
  margin-bottom: 10px;
}

.page-ban-ca__tip-item p {
  font-size: 1em;
  color: var(--page-ban-ca-text-main);
}

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

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

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--page-ban-ca-border-gold); /* Border */
  overflow: hidden;
  background: var(--page-ban-ca-bg-card); /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--page-ban-ca-gold); /* Gold */
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question::-webkit-details-marker {
  display: none;
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question:hover {
  background: rgba(255, 255, 255, 0.1); /* Slight hover effect */
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--page-ban-ca-gold); /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  background: rgba(0, 0, 0, 0.1); /* Slightly darker background for answer */
  border-radius: 0 0 10px 10px;
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__cta-final {
  padding: 60px 0;
  text-align: center;
}

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

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

  /* Hero Section */
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 30px;
  }
  .page-ban-ca__hero-content {
    padding: 15px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(2em, 8vw, 2.5em) !important; /* Smaller H1 for mobile */
    margin-bottom: 15px;
  }
  .page-ban-ca__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-ban-ca__hero-buttons,
  .page-ban-ca__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  /* Buttons general mobile */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* General Section Title & Description */
  .page-ban-ca__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-ban-ca__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* About Section / Feature List */
  .page-ban-ca__dark-section,
  .page-ban-ca__about-section,
  .page-ban-ca__popular-games,
  .page-ban-ca__how-to-play,
  .page-ban-ca__promotions-section,
  .page-ban-ca__tips-strategies,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final {
    padding: 40px 0;
  }
  .page-ban-ca__container {
    padding: 0 15px;
  }

  .page-ban-ca__feature-list {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-ban-ca__feature-item {
    padding: 25px;
  }
  .page-ban-ca__feature-heading {
    font-size: 1.3em;
  }

  /* Popular Games */
  .page-ban-ca__game-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-ban-ca__game-image {
    height: 180px;
  }
  .page-ban-ca__game-title {
    font-size: 1.2em;
  }
  .page-ban-ca__game-desc {
    font-size: 0.9em;
  }

  /* How to Play */
  .page-ban-ca__steps-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 30px;
  }
  .page-ban-ca__step-image {
    width: 100%;
    height: auto;
  }
  .page-ban-ca__step-item {
    padding: 20px;
    margin-bottom: 15px;
  }
  .page-ban-ca__step-heading {
    font-size: 1.2em;
  }

  /* Promotions */
  .page-ban-ca__promo-content {
    grid-template-columns: 1fr; /* Single column */
    gap: 30px;
  }
  .page-ban-ca__promo-item {
    padding: 20px;
    margin-bottom: 15px;
  }
  .page-ban-ca__promo-heading {
    font-size: 1.2em;
  }

  /* Tips & Strategies */
  .page-ban-ca__tips-content {
    grid-template-columns: 1fr; /* Single column */
    gap: 30px;
  }
  .page-ban-ca__tips-image {
    width: 100%;
    height: auto;
  }
  .page-ban-ca__tip-item {
    padding: 20px;
    margin-bottom: 15px;
  }
  .page-ban-ca__tip-heading {
    font-size: 1.2em;
  }

  /* FAQ Section */
  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px 20px;
  }
  .page-ban-ca__faq-qtext {
    font-size: 1em;
  }
  .page-ban-ca__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    padding: 0 20px 15px;
  }

  /* Ensure all images are responsive */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__hero-image-wrapper,
  .page-ban-ca__step-image-wrapper,
  .page-ban-ca__promo-image-wrapper,
  .page-ban-ca__tips-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}