/* style/ban-ca.css */
:root {
  --primary-color: #1A202C; /* Deep Charcoal */
  --secondary-color: #FFD700; /* Gold */
  --accent-color: #E53E3E; /* Red for emphasis/alerts */
  --text-light: #F7FAFC; /* Light text for dark backgrounds */
  --text-dark: #2D3748; /* Dark text for light backgrounds */
  --background-dark: #1A202C;
  --background-light: #ffffff;
  --border-color: #E2E8F0;
}

.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

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

.page-ban-ca section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-ban-ca section:nth-of-type(odd) {
  background-color: var(--background-light);
}

.page-ban-ca section:nth-of-type(even) {
  background-color: #f0f2f5;
}

.page-ban-ca .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-ban-ca .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a475a 100%); /* Darker gradient */
  color: var(--text-light);
}

.page-ban-ca .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-ban-ca .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-ban-ca .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-ban-ca .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-ban-ca .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-weight: bold;
  line-height: 1.2;
}

.page-ban-ca .hero-description {
  font-size: 1.25em;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-ban-ca .cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

/* Feature Grid */
.page-ban-ca .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca .feature-item {
  background: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca .feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-ban-ca .feature-icon {
  width: 150px; /* Increased size */
  height: 150px; /* Increased size */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-ban-ca .feature-heading {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-ban-ca .feature-text {
  font-size: 1em;
  color: var(--text-dark);
}

/* How To Play Section */
.page-ban-ca .step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca .step-item {
  background: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  padding-top: 60px; /* Space for number */
}

.page-ban-ca .step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  border: 4px solid var(--background-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .step-heading {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-ban-ca .step-text {
  font-size: 1em;
  color: var(--text-dark);
}

.page-ban-ca .how-to-play-cta {
  text-align: center;
  margin-top: 60px;
}

/* Strategies Section */
.page-ban-ca .strategy-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 900px;
}

.page-ban-ca .strategy-item {
  background: var(--background-light);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--secondary-color);
}

.page-ban-ca .strategy-heading {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-ban-ca .strategy-text {
  font-size: 1em;
  color: var(--text-dark);
}

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

/* Promotions Section */
.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-item {
  background: var(--background-light);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-ban-ca .promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-ban-ca .promo-heading {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-ban-ca .promo-text {
  font-size: 1em;
  color: var(--text-dark);
}

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

/* FAQ Section */
.page-ban-ca .faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--background-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question-title {
  font-size: 1.1em;
  color: var(--primary-color);
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}

/* Final CTA Section */
.page-ban-ca .section-cta-final {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a475a 100%);
  color: var(--text-light);
  text-align: center;
  padding: 80px 20px;
}

.page-ban-ca .section-cta-final .section-title {
  color: var(--secondary-color);
  font-size: 3em;
  margin-bottom: 25px;
}

.page-ban-ca .section-cta-final .section-description {
  color: var(--text-light);
  font-size: 1.15em;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-ban-ca .big-button {
  padding: 20px 60px;
  font-size: 1.4em;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ban-ca .hero-title {
    font-size: 3em;
  }
  .page-ban-ca .section-title {
    font-size: 2.2em;
  }
  .page-ban-ca .hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-ban-ca section {
    padding: 40px 0;
  }
  .page-ban-ca .hero-section {
    padding: 40px 15px;
  }
  .page-ban-ca .hero-title {
    font-size: 2.5em;
  }
  .page-ban-ca .hero-description {
    font-size: 1em;
  }
  .page-ban-ca .cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-ban-ca .section-title {
    font-size: 1.8em;
  }
  .page-ban-ca .section-description {
    font-size: 0.95em;
  }
  .page-ban-ca .feature-item, .page-ban-ca .step-item, .page-ban-ca .promo-item {
    padding: 25px;
  }
  .page-ban-ca .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    top: -15px;
  }
  .page-ban-ca .step-item {
    padding-top: 50px;
  }
  .page-ban-ca .faq-question {
    padding: 12px 15px;
  }
  .page-ban-ca .faq-question-title {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .page-ban-ca .faq-answer {
    padding: 15px;
  }
  .page-ban-ca .section-cta-final {
    padding: 60px 15px;
  }
  .page-ban-ca .section-cta-final .section-title {
    font-size: 2.2em;
  }
  .page-ban-ca .big-button {
    padding: 15px 40px;
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-ban-ca .hero-title {
    font-size: 2em;
  }
  .page-ban-ca .hero-description {
    font-size: 0.9em;
  }
  .page-ban-ca .section-title {
    font-size: 1.6em;
  }
  .page-ban-ca .feature-icon {
    width: 100px;
    height: 100px;
  }
  .page-ban-ca .feature-heading, .page-ban-ca .step-heading, .page-ban-ca .promo-heading {
    font-size: 1.2em;
  }
  .page-ban-ca .section-cta-final .section-title {
    font-size: 1.8em;
  }
  .page-ban-ca .big-button {
    font-size: 1.1em;
    padding: 12px 30px;
  }
}