/* style/ban-ca.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #222222;
  --border-color: #e0e0e0;
}

.page-ban-ca {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-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(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

.page-ban-ca h1 {
  font-size: 2.8em;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca h2 {
  font-size: 2.2em;
  margin-top: 40px;
}

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

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

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

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

/* 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, rgba(255, 215, 0, 0.1), rgba(139, 0, 0, 0.1)); /* Light gradient 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;
}

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

.page-ban-ca .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca .hero-content p {
  font-size: 1.1em;
  color: var(--text-dark);
  max-width: 800px;
  margin: 15px auto 30px auto;
}

.page-ban-ca .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-light);
  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 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .cta-button:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-ban-ca .intro-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

/* Games Showcase */
.page-ban-ca .games-showcase {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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

.page-ban-ca .game-card {
  background: var(--text-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.page-ban-ca .game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

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

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

.page-ban-ca .game-card p {
  padding: 0 20px 15px;
  font-size: 0.95em;
  color: var(--text-dark);
  text-align: center;
}

.page-ban-ca .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-ban-ca .btn-small:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Guide Section */
.page-ban-ca .guide-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

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

.page-ban-ca .step-item:hover {
  transform: translateY(-8px);
}

.page-ban-ca .step-item img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-ban-ca .highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Promo Section */
.page-ban-ca .promo-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.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: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.page-ban-ca .promo-card p {
  padding: 0 20px 15px;
  font-size: 0.95em;
  color: var(--text-dark);
  text-align: center;
}

/* Why Choose Us Section */
.page-ban-ca .why-choose-us-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-ban-ca .why-choose-us-section ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ban-ca .why-choose-us-section li {
  background: var(--text-light);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  line-height: 1.8;
  border-left: 5px solid var(--primary-color);
}

.page-ban-ca .why-choose-us-section li strong {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-ban-ca .faq-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-ban-ca .faq-list {
  margin-top: 30px;
}

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

.page-ban-ca .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  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.2em;
  color: var(--text-dark);
  text-align: left;
}

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

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

.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: #fafafa;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color);
  border-top: none;
}

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

.page-ban-ca .faq-answer p {
  margin: 0;
  color: var(--text-dark);
}

/* CTA Bottom Section */
.page-ban-ca .cta-bottom-section {
  padding: 80px 0;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  color: var(--text-light);
  text-align: center;
}

.page-ban-ca .cta-bottom-section h2 {
  color: var(--text-light);
  font-size: 2.5em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-ban-ca .cta-bottom-section p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 20px auto 40px auto;
  color: var(--text-light);
}

.page-ban-ca .large-cta {
  padding: 20px 50px;
  font-size: 1.4em;
  background: var(--primary-color);
  color: var(--text-dark);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca .large-cta:hover {
  background: var(--text-light);
  color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-ban-ca h1 {
    font-size: 2.2em;
  }
  .page-ban-ca h2 {
    font-size: 1.8em;
  }
  .page-ban-ca .hero-image {
    margin-bottom: 20px;
  }
  .page-ban-ca .hero-content {
    padding: 20px;
  }
  .page-ban-ca .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-ban-ca .game-cards, .page-ban-ca .guide-steps, .page-ban-ca .promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-ban-ca .why-choose-us-section li {
    font-size: 1em;
    padding: 15px;
  }
  .page-ban-ca .faq-question h3 {
    font-size: 1.1em;
  }
  .page-ban-ca .cta-bottom-section h2 {
    font-size: 2em;
  }
  .page-ban-ca .cta-bottom-section p {
    font-size: 1em;
  }
  .page-ban-ca .large-cta {
    padding: 15px 40px;
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-ban-ca h1 {
    font-size: 1.8em;
  }
  .page-ban-ca h2 {
    font-size: 1.6em;
  }
  .page-ban-ca .hero-content p {
    font-size: 0.95em;
  }
  .page-ban-ca .game-card h3, .page-ban-ca .promo-card h3 {
    font-size: 1.3em;
  }
  .page-ban-ca .step-item h3 {
    font-size: 1.4em;
  }
  .page-ban-ca .faq-question h3 {
    font-size: 1em;
  }
  .page-ban-ca .cta-bottom-section h2 {
    font-size: 1.8em;
  }
  .page-ban-ca .cta-bottom-section p {
    font-size: 0.9em;
  }
  .page-ban-ca .large-cta {
    padding: 12px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-ban-ca h1 {
    font-size: 1.5em;
  }
  .page-ban-ca h2 {
    font-size: 1.4em;
  }
  .page-ban-ca .hero-content {
    padding: 15px;
  }
  .page-ban-ca .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-ban-ca .game-cards, .page-ban-ca .guide-steps, .page-ban-ca .promo-cards {
    grid-template-columns: 1fr;
  }
  .page-ban-ca .game-card img, .page-ban-ca .promo-card img, .page-ban-ca .step-item img {
    height: 180px;
  }
  .page-ban-ca .faq-question {
    padding: 15px;
  }
  .page-ban-ca .faq-question h3 {
    font-size: 0.9em;
  }
  .page-ban-ca .faq-toggle {
    font-size: 20px;
  }
  .page-ban-ca .faq-answer {
    padding: 15px;
  }
  .page-ban-ca .cta-bottom-section h2 {
    font-size: 1.6em;
  }
  .page-ban-ca .large-cta {
    padding: 10px 25px;
    font-size: 1em;
  }
}