/* style/ban-ca.css */
:root {
  --page-ban-ca-primary-color: #11A84E;
  --page-ban-ca-secondary-color: #22C768;
  --page-ban-ca-bg-color: #08160F;
  --page-ban-ca-card-bg: #11271B;
  --page-ban-ca-text-main: #F2FFF6;
  --page-ban-ca-text-secondary: #A7D9B8;
  --page-ban-ca-border-color: #2E7A4E;
  --page-ban-ca-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-ban-ca-glow-color: #57E38D;
  --page-ban-ca-gold-color: #F2C14E;
  --page-ban-ca-divider-color: #1E3A2A;
  --page-ban-ca-deep-green: #0A4B2C;
}

.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: var(--page-ban-ca-text-main); /* Light text on dark body background */
  background-color: var(--page-ban-ca-bg-color); /* Inherited from body, but good to define */
}

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

.page-ban-ca__dark-section {
  background-color: var(--page-ban-ca-bg-color);
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__card {
  background-color: var(--page-ban-ca-card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-ban-ca-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--page-ban-ca-glow-color);
}

.page-ban-ca__section-title {
  font-size: 2.8em;
  color: var(--page-ban-ca-gold-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.6);
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  color: var(--page-ban-ca-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

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

.page-ban-ca__btn-primary {
  background: var(--page-ban-ca-button-gradient);
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-ban-ca__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(42, 209, 111, 0.6);
}

.page-ban-ca__btn-secondary {
  background-color: transparent;
  color: var(--page-ban-ca-gold-color);
  border: 2px solid var(--page-ban-ca-gold-color);
  box-shadow: 0 2px 8px rgba(242, 193, 78, 0.2);
}

.page-ban-ca__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 193, 78, 0.4);
}

.page-ban-ca__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 6px;
}

.page-ban-ca__btn-large {
  padding: 16px 32px;
  font-size: 1.2em;
  border-radius: 10px;
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

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

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

.page-ban-ca__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 25px var(--page-ban-ca-glow-color);
  display: block;
}

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

.page-ban-ca__main-title {
  font-size: 3.5em;
  color: var(--page-ban-ca-gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(242, 193, 78, 0.8);
}

.page-ban-ca__hero-description {
  font-size: 1.2em;
  color: var(--page-ban-ca-text-secondary);
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 450px;
}

/* Intro Section (Module 1) */
.page-ban-ca__intro-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

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

.page-ban-ca__icon-box-media {
  width: 240px;
  height: 240px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--page-ban-ca-glow-color);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

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

.page-ban-ca__feature-title {
  font-size: 1.8em;
  color: var(--page-ban-ca-text-main);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-ban-ca__feature-text {
  font-size: 1em;
  color: var(--page-ban-ca-text-secondary);
  line-height: 1.6;
}

/* Game Showcase Section */
.page-ban-ca__game-showcase {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-ban-ca__game-card {
  text-align: center;
  overflow: hidden;
}

.page-ban-ca__game-card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-ban-ca__game-title {
  font-size: 2em;
  color: var(--page-ban-ca-gold-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-ban-ca__game-text {
  font-size: 1em;
  color: var(--page-ban-ca-text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-ban-ca__game-trial-frame {
  border: 2px solid var(--page-ban-ca-border-color);
  border-radius: 8px;
  width: 100%;
  height: 400px; /* Fixed height for game iframe */
  margin-bottom: 20px;
}

/* Tips Section */
.page-ban-ca__tips-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-ban-ca__tips-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-ban-ca__tips-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-ban-ca__tips-text p {
  font-size: 1.1em;
  color: var(--page-ban-ca-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.page-ban-ca__tips-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23F2C14E"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--page-ban-ca-text-main);
  font-size: 1.05em;
  line-height: 1.5;
}

.page-ban-ca__tips-list li strong {
  color: var(--page-ban-ca-gold-color);
}

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

.page-ban-ca__tips-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 25px var(--page-ban-ca-deep-green);
  display: block;
}

/* Promo Section */
.page-ban-ca__promo-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.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 img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-ban-ca__promo-title {
  font-size: 1.8em;
  color: var(--page-ban-ca-text-main);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-ban-ca__promo-text {
  font-size: 1em;
  color: var(--page-ban-ca-text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-ban-ca__center-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-ban-ca__faq-list {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

.page-ban-ca__faq-item {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-ban-ca-text-main);
  background-color: var(--page-ban-ca-deep-green);
  border-bottom: 1px solid var(--page-ban-ca-divider-color);
  list-style: none; /* For details/summary */
}

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

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  background-color: var(--page-ban-ca-primary-color);
  color: #ffffff;
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  color: var(--page-ban-ca-gold-color);
  transition: transform 0.3s ease;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.page-ban-ca__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--page-ban-ca-text-secondary);
  line-height: 1.6;
  background-color: var(--page-ban-ca-card-bg);
  border-top: 1px solid var(--page-ban-ca-divider-color);
}

.page-ban-ca__faq-answer p {
  margin-bottom: 15px;
}

.page-ban-ca__faq-answer .page-ban-ca__btn-small {
  margin-top: 10px;
}

/* Final CTA Section */
.page-ban-ca__cta-final {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

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

  .page-ban-ca__hero-container,
  .page-ban-ca__tips-content {
    flex-direction: column;
    text-align: center;
  }

  .page-ban-ca__hero-content {
    text-align: center;
  }

  .page-ban-ca__cta-buttons {
    justify-content: center;
    margin: 0 auto;
  }

  .page-ban-ca__tips-text p,
  .page-ban-ca__tips-list,
  .page-ban-ca__tips-list li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Specific mobile override for top padding */
    padding-bottom: 40px;
  }

  .page-ban-ca__hero-container {
    padding: 20px 15px;
    gap: 30px;
  }

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

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

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

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

  /* Intro Section (Module 1) */
  .page-ban-ca__intro-section,
  .page-ban-ca__game-showcase,
  .page-ban-ca__tips-section,
  .page-ban-ca__promo-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page-ban-ca__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-ban-ca__features-grid,
  .page-ban-ca__game-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-ban-ca__feature-item,
  .page-ban-ca__game-card,
  .page-ban-ca__promo-card {
    padding: 20px;
  }

  /* Module 1 Round Images */
  .page-ban-ca__icon-box-media {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
  }

  .page-ban-ca__feature-title {
    font-size: 1.5em;
  }

  /* Game Showcase */
  .page-ban-ca__game-title {
    font-size: 1.6em;
  }

  .page-ban-ca__game-trial-frame {
    height: 300px; /* Adjust iframe height for mobile */
  }

  /* Tips Section */
  .page-ban-ca__tips-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-ban-ca__tips-text,
  .page-ban-ca__tips-image {
    min-width: unset;
    width: 100%;
  }

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

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

  /* General Image Responsiveness */
  .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;
  }

  /* Button Containers */
  .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 {
    flex-direction: column;
  }
}