/* style/ban-ca.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Deep Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f4f4;
  --background-dark: #000040;
  --accent-color: #FF6347; /* Tomato for highlights */
}

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

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

.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%, #000040 100%); /* Darker blue gradient */
  color: var(--text-light);
  overflow: hidden;
}

.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;
  z-index: 2;
}

.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 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease-in-out;
}

.page-ban-ca__hero-image img:hover {
  transform: scale(1.02);
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.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);
  line-height: 1.2;
}

.page-ban-ca__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-ban-ca__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.3em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.page-ban-ca__introduction, .page-ban-ca__how-to-play, .page-ban-ca__game-versions, .page-ban-ca__strategy, .page-ban-ca__promotions, .page-ban-ca__why-choose, .page-ban-ca__faq, .page-ban-ca__latest-news {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-ban-ca__introduction h2, .page-ban-ca__how-to-play h2, .page-ban-ca__game-versions h2, .page-ban-ca__strategy h2, .page-ban-ca__promotions h2, .page-ban-ca__why-choose h2, .page-ban-ca__faq h2, .page-ban-ca__latest-news h2 {
  font-size: 2.8em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-ban-ca__introduction h2::after, .page-ban-ca__how-to-play h2::after, .page-ban-ca__game-versions h2::after, .page-ban-ca__strategy h2::after, .page-ban-ca__promotions h2::after, .page-ban-ca__why-choose h2::after, .page-ban-ca__faq h2::after, .page-ban-ca__latest-news h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-ban-ca__introduction p, .page-ban-ca__how-to-play p, .page-ban-ca__strategy p, .page-ban-ca__why-choose p, .page-ban-ca__promotions p, .page-ban-ca__latest-news p {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
}

.page-ban-ca__introduction a, .page-ban-ca__how-to-play a, .page-ban-ca__game-versions a, .page-ban-ca__strategy a, .page-ban-ca__promotions a, .page-ban-ca__latest-news a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-ban-ca__introduction a:hover, .page-ban-ca__how-to-play a:hover, .page-ban-ca__game-versions a:hover, .page-ban-ca__strategy a:hover, .page-ban-ca__promotions a:hover, .page-ban-ca__latest-news a:hover {
  color: var(--primary-color);
}

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

.page-ban-ca__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px 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(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__feature-item img {
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-ban-ca__feature-item h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-ban-ca__feature-item p {
  font-size: 1em;
  color: #555555;
}

.page-ban-ca__how-to-play ol {
  list-style: none;
  counter-reset: my-awesome-counter;
  padding: 0;
  margin-top: 40px;
}

.page-ban-ca__how-to-play ol li {
  counter-increment: my-awesome-counter;
  margin-bottom: 30px;
  padding-left: 60px;
  position: relative;
}

.page-ban-ca__how-to-play ol li::before {
  content: counter(my-awesome-counter);
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-size: 1.8em;
  font-weight: bold;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__how-to-play ol li h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-ban-ca__how-to-play ol li p {
  font-size: 1.05em;
  color: #555555;
}

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

.page-ban-ca__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-ban-ca__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__game-card h3 {
  font-size: 1.4em;
  margin: 20px 20px 10px;
  color: var(--secondary-color);
}

.page-ban-ca__game-card h3 a {
  color: inherit;
  text-decoration: none;
}

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

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

.page-ban-ca__more-games {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

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

.page-ban-ca__strategy-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-ban-ca__strategy-item h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-ban-ca__strategy-item p {
  font-size: 1.05em;
  color: #555555;
  text-align: justify;
}

.page-ban-ca__strategy-call-to-action {
  text-align: center;
  margin-top: 50px;
  font-size: 1.2em;
  font-weight: bold;
}

.page-ban-ca__strategy-call-to-action a {
  color: var(--accent-color);
}

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

.page-ban-ca__promotions h2 {
  color: var(--primary-color);
}

.page-ban-ca__promotions h2::after {
  background-color: var(--primary-color);
}

.page-ban-ca__promotions p {
  color: #cccccc;
}

.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-card {
  background-color: #000050; /* Slightly lighter deep blue */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-ban-ca__promo-card:hover {
  transform: translateY(-10px);
  background-color: #000060;
}

.page-ban-ca__promo-card img {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
}

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

.page-ban-ca__promo-card h3 a {
  color: inherit;
  text-decoration: none;
}

.page-ban-ca__promo-card h3 a:hover {
  color: #FFC107;
}

.page-ban-ca__promo-card p {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-ban-ca__promo-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-ban-ca__promo-button:hover {
  background: #FFC107;
  transform: translateY(-2px);
}

.page-ban-ca__promotion-note {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  color: #aaaaaa;
}

.page-ban-ca__why-choose ul {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-ban-ca__why-choose ul li {
  background-color: #ffffff;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
  position: relative;
  padding-left: 60px;
  font-size: 1.1em;
  color: #444444;
}

.page-ban-ca__why-choose ul li strong {
  color: var(--secondary-color);
  font-size: 1.2em;
}

.page-ban-ca__why-choose ul li::before {
  content: '✔';
  color: var(--primary-color);
  font-size: 2em;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

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

.page-ban-ca__faq .faq-list {
  margin-top: 40px;
}

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

.page-ban-ca__faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-ban-ca__faq .faq-question:hover {
  background: #f0f0f0;
}

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

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

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

.page-ban-ca__faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555555;
}

.page-ban-ca__faq .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.page-ban-ca__faq .faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

.page-ban-ca__faq .faq-answer a {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-ban-ca__latest-news {
  background-color: #f0f0f0;
}

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

.page-ban-ca__news-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-ban-ca__news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__news-card h3 {
  font-size: 1.4em;
  margin: 20px 20px 10px;
  color: var(--secondary-color);
}

.page-ban-ca__news-card h3 a {
  color: inherit;
  text-decoration: none;
}

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

.page-ban-ca__news-card p {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 15px;
}

.page-ban-ca__read-more {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: all 0.3s ease;
}

.page-ban-ca__read-more:hover {
  background: #FFC107;
  transform: translateY(-2px);
}

.page-ban-ca__view-all-news {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-ban-ca__view-all-news:hover {
  background: #000060;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ban-ca__hero-content h1 {
    font-size: 2.8em;
  }
  .page-ban-ca__hero-content p {
    font-size: 1.1em;
  }
  .page-ban-ca__introduction h2, .page-ban-ca__how-to-play h2, .page-ban-ca__game-versions h2, .page-ban-ca__strategy h2, .page-ban-ca__promotions h2, .page-ban-ca__why-choose h2, .page-ban-ca__faq h2, .page-ban-ca__latest-news h2 {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding: 40px 15px;
  }
  .page-ban-ca__hero-content h1 {
    font-size: 2.2em;
  }
  .page-ban-ca__hero-content p {
    font-size: 1em;
  }
  .page-ban-ca__cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-ban-ca__introduction, .page-ban-ca__how-to-play, .page-ban-ca__game-versions, .page-ban-ca__strategy, .page-ban-ca__promotions, .page-ban-ca__why-choose, .page-ban-ca__faq, .page-ban-ca__latest-news {
    padding: 50px 0;
  }
  .page-ban-ca__introduction h2, .page-ban-ca__how-to-play h2, .page-ban-ca__game-versions h2, .page-ban-ca__strategy h2, .page-ban-ca__promotions h2, .page-ban-ca__why-choose h2, .page-ban-ca__faq h2, .page-ban-ca__latest-news h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-ban-ca__feature-grid, .page-ban-ca__game-grid, .page-ban-ca__promo-grid, .page-ban-ca__news-grid {
    grid-template-columns: 1fr;
  }
  .page-ban-ca__how-to-play ol li {
    padding-left: 50px;
  }
  .page-ban-ca__how-to-play ol li::before {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
  .page-ban-ca__faq .faq-question h3 {
    font-size: 1.1em;
  }
  .page-ban-ca__faq .faq-toggle {
    font-size: 1.5em;
  }
  .page-ban-ca__why-choose ul li {
    padding-left: 50px;
    font-size: 1em;
  }
  .page-ban-ca__why-choose ul li::before {
    font-size: 1.8em;
    left: 15px;
  }
}

@media (max-width: 480px) {
  .page-ban-ca__hero-content h1 {
    font-size: 1.8em;
  }
  .page-ban-ca__hero-content p {
    font-size: 0.95em;
  }
  .page-ban-ca__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-ban-ca__introduction h2, .page-ban-ca__how-to-play h2, .page-ban-ca__game-versions h2, .page-ban-ca__strategy h2, .page-ban-ca__promotions h2, .page-ban-ca__why-choose h2, .page-ban-ca__faq h2, .page-ban-ca__latest-news h2 {
    font-size: 1.5em;
  }
  .page-ban-ca__feature-item h3, .page-ban-ca__game-card h3, .page-ban-ca__promo-card h3, .page-ban-ca__news-card h3 {
    font-size: 1.3em;
  }
  .page-ban-ca__strategy-item h3 {
    font-size: 1.4em;
  }
  .page-ban-ca__faq .faq-question {
    padding: 15px 20px;
  }
  .page-ban-ca__faq .faq-answer {
    padding: 0 20px;
  }
  .page-ban-ca__faq .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}