.page-ban-ca {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #212529;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
}

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

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

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

.page-ban-ca .bg-dark h2, .page-ban-ca .bg-dark p {
  color: var(--text-color-light);
}

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

.page-ban-ca h1, .page-ban-ca h2, .page-ban-ca h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-ban-ca h1 {
  font-size: 3em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-ban-ca a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-ban-ca a:hover {
  color: var(--secondary-color);
}

.page-ban-ca .btn-primary, .page-ban-ca .btn-secondary, .page-ban-ca .btn-small, .page-ban-ca .cta-button, .page-ban-ca .btn-cta-large {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin-top: 20px;
}

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

.page-ban-ca .btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca .btn-secondary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: #6c757d;
  color: var(--text-color-light);
}

.page-ban-ca .btn-small:hover {
  background-color: #5a6268;
}

.page-ban-ca .cta-button {
  background: linear-gradient(90deg, var(--secondary-color), #ffdb58);
  color: var(--text-color-dark);
  padding: 15px 40px;
  font-size: 1.2em;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .cta-button:hover {
  background: linear-gradient(90deg, #ffdb58, var(--secondary-color));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-ban-ca .btn-cta-large {
  background: linear-gradient(90deg, var(--primary-color), #0056b3);
  color: var(--text-color-light);
  padding: 20px 50px;
  font-size: 1.5em;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .btn-cta-large:hover {
  background: linear-gradient(90deg, #0056b3, var(--primary-color));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 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: 80px 20px 60px;
  overflow: hidden;
  background-color: #003366; /* Fallback background */
}

.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;
  position: relative;
  z-index: 1;
}

.page-ban-ca .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-ban-ca .hero-content h1 {
  color: var(--text-color-light);
  margin-bottom: 20px;
  font-size: 3.5em;
  line-height: 1.2;
}

.page-ban-ca .hero-content p {
  color: #e0e0e0;
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Intro Section */
.page-ban-ca .intro-section h2 {
  color: var(--primary-color);
}

/* Gameplay Section */
.page-ban-ca .gameplay-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.page-ban-ca .gameplay-section .text-content, .page-ban-ca .gameplay-section .image-content {
  flex: 1;
  min-width: 300px;
}

.page-ban-ca .gameplay-section .image-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca ol {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-ban-ca ol li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-ban-ca .game-card {
  background-color: var(--text-color-light);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca .game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .game-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-ban-ca .game-card h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.5em;
}

.page-ban-ca .game-card h3 a {
  color: var(--primary-color);
}

.page-ban-ca .game-card h3 a:hover {
  color: var(--secondary-color);
}

.page-ban-ca .game-card p {
  padding: 0 20px;
  font-size: 1em;
  color: #666;
}

/* Strategy Section */
.page-ban-ca .strategy-section ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ban-ca .strategy-section ul li {
  background-color: var(--text-color-light);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
}

.page-ban-ca .strategy-section ul li strong {
  color: var(--primary-color);
}

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

.page-ban-ca .promo-card {
  background-color: var(--text-color-light);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

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

.page-ban-ca .promo-card h3 a {
  color: var(--primary-color);
}

.page-ban-ca .promo-card h3 a:hover {
  color: var(--secondary-color);
}

.page-ban-ca .promo-card p {
  padding: 0 20px;
  font-size: 1em;
  color: #666;
}

/* Safety Section */
.page-ban-ca .safety-section p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

.page-ban-ca .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

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

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

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

.page-ban-ca .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-ban-ca .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: #555;
}

.page-ban-ca .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px;
}

.page-ban-ca .faq-answer p {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-ban-ca .cta-final-section {
  background-color: var(--bg-dark);
  color: var(--text-color-light);
  text-align: center;
  padding: 80px 20px;
}

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

.page-ban-ca .cta-final-section p {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-ban-ca h1 {
    font-size: 2.8em;
  }
  .page-ban-ca h2 {
    font-size: 2em;
  }
  .page-ban-ca .hero-content p {
    font-size: 1.1em;
  }
  .page-ban-ca .gameplay-section .content-wrapper {
    flex-direction: column;
  }
  .page-ban-ca .gameplay-section .image-content {
    order: -1; /* Image first on smaller screens */
  }
  .page-ban-ca .game-cards, .page-ban-ca .promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-ban-ca .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-ban-ca .btn-cta-large {
    padding: 15px 40px;
    font-size: 1.2em;
  }
}

@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;
    margin-bottom: 30px;
  }
  .page-ban-ca h3 {
    font-size: 1.4em;
  }
  .page-ban-ca p {
    font-size: 1em;
  }
  .page-ban-ca .hero-section {
    padding: 60px 15px 40px;
  }
  .page-ban-ca .hero-image img {
    border-radius: 8px;
  }
  .page-ban-ca .hero-content h1 {
    font-size: 2.5em;
  }
  .page-ban-ca .hero-content p {
    font-size: 1em;
  }
  .page-ban-ca .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-ban-ca .game-card img, .page-ban-ca .promo-card img {
    height: 180px;
  }
  .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: 15px;
  }
  .page-ban-ca .cta-final-section h2 {
    font-size: 2em;
  }
  .page-ban-ca .cta-final-section p {
    font-size: 1.1em;
  }
  .page-ban-ca .btn-cta-large {
    padding: 12px 30px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-ban-ca h1 {
    font-size: 1.8em;
  }
  .page-ban-ca h2 {
    font-size: 1.6em;
  }
  .page-ban-ca .hero-content h1 {
    font-size: 2em;
  }
  .page-ban-ca .game-cards, .page-ban-ca .promo-cards {
    grid-template-columns: 1fr;
  }
  .page-ban-ca .strategy-section ul li {
    font-size: 1em;
  }
  .page-ban-ca .faq-question h3 {
    font-size: 1em;
  }
}