.page-ban-ca {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #222222;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

/* 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(--secondary-color) 0%, #333333 100%); /* Dark gradient for premium feel */
  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: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.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-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-ban-ca .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-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 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-ban-ca .cta-button:hover {
  background: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-ban-ca section {
  padding: 60px 0;
  text-align: center;
}

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

.page-ban-ca h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-ban-ca h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-ban-ca h3 {
  font-size: 1.8em;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-ban-ca p {
  font-size: 1.1em;
  color: var(--text-dark);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca .btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-ban-ca .btn-secondary:hover {
  background: #A00000; /* Slightly darker red */
  transform: translateY(-2px);
}

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

.page-ban-ca .game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-ban-ca .game-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

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

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

.page-ban-ca .game-card p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 20px;
}

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

.page-ban-ca .btn-small:hover {
  background: #FFC107;
  transform: translateY(-1px);
}

/* Guide Section */
.page-ban-ca .guide-steps {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-ban-ca .step-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-ban-ca .step-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-ban-ca .guide-section ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca .guide-section ul li {
  background: #fff;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
  font-size: 1.05em;
}

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

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

.page-ban-ca .strategy-item {
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  border-left: 5px solid var(--primary-color);
}

.page-ban-ca .strategy-item h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-ban-ca .strategy-item p {
  font-size: 1em;
  color: #555;
}

/* Promotion 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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  border: 1px solid var(--primary-color);
}

.page-ban-ca .promo-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-ban-ca .promo-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-ban-ca .promo-item h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-ban-ca .promo-item h3 a:hover {
  text-decoration: underline;
}

.page-ban-ca .promo-item p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 15px;
}

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

.page-ban-ca .info-block {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  border-bottom: 5px solid var(--secondary-color);
}

.page-ban-ca .info-block img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

/* FAQ Section */
.page-ban-ca .faq-section {
  background-color: var(--bg-light);
}

.page-ban-ca .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-ban-ca .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-ban-ca .faq-question:hover {
  background: #f5f5f5;
  border-color: var(--primary-color);
}

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

.page-ban-ca .faq-toggle {
  font-size: 1.8em;
  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 25px;
  background: #fdfdfd;
  border-top: none;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.page-ban-ca .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
}

.page-ban-ca .faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #444;
  line-height: 1.8;
}

.page-ban-ca .faq-answer p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-ban-ca .faq-answer p a:hover {
  text-decoration: underline;
}

/* Latest News Section */
.page-ban-ca .latest-news-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-ban-ca .latest-news-section h2 {
  color: var(--primary-color);
}

.page-ban-ca .latest-news-section p {
  color: #ccc;
}

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

.page-ban-ca .news-item {
  background: #333333;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #444;
}

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

.page-ban-ca .news-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

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

.page-ban-ca .news-item h3 a:hover {
  text-decoration: underline;
}

.page-ban-ca .news-item p {
  font-size: 0.95em;
  color: #aaa;
  margin-bottom: 15px;
}

.page-ban-ca .news-item .news-date {
  font-size: 0.85em;
  color: #777;
}

/* Final CTA Section */
.page-ban-ca .final-cta-section {
  background: linear-gradient(90deg, var(--primary-color) 0%, #FFC107 100%);
  padding: 80px 0;
  color: var(--secondary-color);
}

.page-ban-ca .final-cta-section h2 {
  color: var(--secondary-color);
  font-size: 3em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca .final-cta-section .cta-button {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-ban-ca .final-cta-section .cta-button:hover {
  background: #A00000;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ban-ca .hero-content h1 {
    font-size: 3em;
  }
  .page-ban-ca h2 {
    font-size: 2.2em;
  }
  .page-ban-ca .game-cards, .page-ban-ca .guide-steps, .page-ban-ca .strategy-grid, .page-ban-ca .promo-grid, .page-ban-ca .info-blocks, .page-ban-ca .news-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-ban-ca .hero-section {
    padding: 40px 15px;
  }
  .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: 12px 30px;
    font-size: 1em;
  }
  .page-ban-ca section {
    padding: 40px 0;
  }
  .page-ban-ca h2 {
    font-size: 2em;
  }
  .page-ban-ca h3 {
    font-size: 1.5em;
  }
  .page-ban-ca .game-card, .page-ban-ca .step-item, .page-ban-ca .strategy-item, .page-ban-ca .promo-item, .page-ban-ca .info-block, .page-ban-ca .news-item {
    padding: 20px;
  }
  .page-ban-ca .faq-question {
    padding: 15px 20px;
  }
  .page-ban-ca .faq-question h3 {
    font-size: 1em;
  }
  .page-ban-ca .faq-toggle {
    font-size: 1.5em;
  }
  .page-ban-ca .faq-answer {
    padding: 0 20px;
  }
  .page-ban-ca .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-ban-ca .final-cta-section h2 {
    font-size: 2.5em;
  }
  .page-ban-ca .final-cta-section p {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-ban-ca .hero-content h1 {
    font-size: 2em;
  }
  .page-ban-ca h2 {
    font-size: 1.8em;
  }
  .page-ban-ca h3 {
    font-size: 1.3em;
  }
  .page-ban-ca .game-cards, .page-ban-ca .guide-steps, .page-ban-ca .strategy-grid, .page-ban-ca .promo-grid, .page-ban-ca .info-blocks, .page-ban-ca .news-list {
    grid-template-columns: 1fr;
  }
  .page-ban-ca .faq-question {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .page-ban-ca .faq-toggle {
    align-self: flex-end;
    margin-top: -30px; /* Adjust to keep toggle in corner */
  }
}