.page-ban-ca {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light-gray: #f9f9f9;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-ban-ca .bg-dark-blue {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-ban-ca .bg-light-gray {
  background-color: var(--bg-light-gray);
}

.page-ban-ca .bg-gold-gradient {
  background: linear-gradient(135deg, var(--secondary-color), darken(var(--secondary-color), 10%));
  color: var(--primary-color); /* Dark text on gold */
}

.page-ban-ca .text-light {
  color: var(--text-light);
}

.page-ban-ca .text-dark {
  color: var(--text-dark);
}

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

.page-ban-ca h1, .page-ban-ca h2, .page-ban-ca h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca .bg-dark-blue h1, .page-ban-ca .bg-dark-blue h2, .page-ban-ca .bg-dark-blue h3 {
  color: var(--secondary-color);
}

.page-ban-ca .bg-gold-gradient h1, .page-ban-ca .bg-gold-gradient h2, .page-ban-ca .bg-gold-gradient h3 {
  color: var(--primary-color);
}

.page-ban-ca h1 {
  font-size: 3.2em;
  text-align: center;
}

.page-ban-ca h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
}

.page-ban-ca h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

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

.page-ban-ca .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-ban-ca .cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .cta-button-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-ban-ca .cta-button-small:hover {
  background: #e6c200;
  transform: translateY(-1px);
}

.page-ban-ca .button-small {
  display: inline-block;
  padding: 8px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-ban-ca .button-small:hover {
  background: #e6c200;
}

/* 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-color: var(--primary-color);
}

.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;
}

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

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

.page-ban-ca .hero-content h1 {
  color: var(--secondary-color);
  margin-top: 0;
  font-size: 3.5em;
}

.page-ban-ca .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

/* Intro Section */
.page-ban-ca .intro-section p {
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: center;
}

.page-ban-ca .intro-section .image-container {
    text-align: center;
    margin-top: 30px;
}

.page-ban-ca .intro-section .image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca .feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-ban-ca .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
}

.page-ban-ca .center-button {
    text-align: center;
    margin-top: 40px;
}

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

.page-ban-ca .step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-ban-ca .step-item .step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-ban-ca .step-item h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
}

.page-ban-ca .step-item p {
  color: var(--text-light);
}

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

.page-ban-ca .promo-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-ban-ca .promo-card p {
  color: var(--text-dark);
  flex-grow: 1;
}

.page-ban-ca .promo-note {
  text-align: center;
  margin-top: 30px;
  font-style: italic;
  color: var(--primary-color);
}

/* Tips Section */
.page-ban-ca .tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca .tips-list li {
  background-color: #ffffff;
  padding: 15px 25px;
  margin-bottom: 10px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

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

.page-ban-ca .tips-section .image-container {
    text-align: center;
    margin-top: 30px;
}

.page-ban-ca .tips-section .image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Security Support Section */
.page-ban-ca .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-ban-ca .info-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.page-ban-ca .info-item h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
}

.page-ban-ca .info-item p {
  color: var(--text-light);
}

/* FAQ Section */
.page-ban-ca .faq-list {
  margin-top: 30px;
}

.page-ban-ca .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: #ffffff;
}

.page-ban-ca .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-ban-ca .faq-question:hover {
  background: var(--bg-light-gray);
}

.page-ban-ca .faq-question h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.2em;
}

.page-ban-ca .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-ban-ca .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: var(--text-dark);
}

.page-ban-ca .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 20px;
  background: #fcfcfc;
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 5px 5px;
}

.page-ban-ca .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Latest Articles Section */
.page-ban-ca .article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-ban-ca .article-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-ban-ca .article-card img {
  max-width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

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

.page-ban-ca .article-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-ban-ca .article-card h3 a:hover {
  text-decoration: underline;
}

.page-ban-ca .article-card p {
  color: var(--text-dark);
  font-size: 0.95em;
  flex-grow: 1;
}

.page-ban-ca .read-more-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-ban-ca .read-more-link:hover {
  text-decoration: underline;
}

/* Final CTA Section */
.page-ban-ca .cta-final-section h2 {
  color: var(--secondary-color);
}

.page-ban-ca .cta-final-section p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ban-ca h1 {
    font-size: 2.8em;
  }
  .page-ban-ca h2 {
    font-size: 2em;
  }
  .page-ban-ca h3 {
    font-size: 1.6em;
  }
  .page-ban-ca .hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-ban-ca .section-padding {
    padding: 40px 0;
  }
  .page-ban-ca h1 {
    font-size: 2.2em;
  }
  .page-ban-ca h2 {
    font-size: 1.8em;
  }
  .page-ban-ca h3 {
    font-size: 1.4em;
  }
  .page-ban-ca .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-ban-ca .hero-image {
    margin-bottom: 20px;
  }
  .page-ban-ca .feature-grid, .page-ban-ca .step-by-step, .page-ban-ca .promo-grid, .page-ban-ca .info-grid, .page-ban-ca .article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca .faq-question {
    padding: 12px 15px;
  }
  .page-ban-ca .faq-question h3 {
    font-size: 1.1em;
  }
  .page-ban-ca .faq-toggle {
    font-size: 20px;
  }
  .page-ban-ca .faq-answer {
    padding: 0 15px;
  }
  .page-ban-ca .faq-item.active .faq-answer {
    padding: 15px;
  }
  .page-ban-ca .promo-card img, .page-ban-ca .article-card img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .page-ban-ca h1 {
    font-size: 1.8em;
  }
  .page-ban-ca h2 {
    font-size: 1.5em;
  }
  .page-ban-ca .hero-content p {
    font-size: 1em;
  }
  .page-ban-ca .cta-button {
    padding: 10px 25px;
    font-size: 14px;
  }
  .page-ban-ca .step-item .step-number {
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
}