/* style/ban-ca.css */

/* Variables for consistency */
:root {
  --page-ban-ca-primary-color: #FFD700; /* Gold */
  --page-ban-ca-secondary-color: #8B0000; /* Maroon */
  --page-ban-ca-text-dark: #333;
  --page-ban-ca-text-light: #fff;
  --page-ban-ca-bg-light: #f4f4f4;
  --page-ban-ca-bg-dark: #222;
  --page-ban-ca-hover-primary: #e6c200;
  --page-ban-ca-hover-secondary: #6b0000;
}

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

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

.page-ban-ca__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__section-title,
.page-ban-ca__section:nth-of-type(even) .page-ban-ca__section-intro,
.page-ban-ca__section:nth-of-type(even) .page-ban-ca__feature-title,
.page-ban-ca__section:nth-of-type(even) .page-ban-ca__game-title,
.page-ban-ca__section:nth-of-type(even) .page-ban-ca__promo-title,
.page-ban-ca__section:nth-of_type(even) .page-ban-ca__app-features li,
.page-ban-ca__section:nth-of-type(even) .page-ban-ca__security-title,
.page-ban-ca__section:nth-of-type(even) .page-ban-ca__tips-list li,
.page-ban-ca__section:nth-of-type(even) .page-ban-ca__faq-question,
.page-ban-ca__section:nth-of-type(even) .page-ban-ca__faq-answer {
  color: var(--page-ban-ca-text-light);
}

.page-ban-ca__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--page-ban-ca-secondary-color);
  position: relative;
  padding-bottom: 10px;
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__section-title {
  color: var(--page-ban-ca-primary-color);
}

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

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__section-title::after {
  background-color: var(--page-ban-ca-secondary-color);
}

.page-ban-ca__section-intro,
.page-ban-ca__section-outro {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__highlight {
  color: var(--page-ban-ca-secondary-color);
}

.page-ban-ca__text-link {
  color: var(--page-ban-ca-secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-ban-ca__text-link:hover {
  text-decoration: underline;
  color: var(--page-ban-ca-primary-color);
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__text-link {
  color: var(--page-ban-ca-primary-color);
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__text-link:hover {
  color: var(--page-ban-ca-secondary-color);
}

/* Buttons */
.page-ban-ca__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

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

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

.page-ban-ca__btn--secondary {
  background-color: var(--page-ban-ca-secondary-color);
  color: var(--page-ban-ca-text-light);
  border: 2px solid var(--page-ban-ca-secondary-color);
}

.page-ban-ca__btn--secondary:hover {
  background-color: var(--page-ban-ca-hover-secondary);
  border-color: var(--page-ban-ca-hover-secondary);
}

.page-ban-ca__btn--small {
  padding: 8px 18px;
  font-size: 0.95em;
}

.page-ban-ca__cta-center {
  margin-top: 40px;
}

/* Hero Section */
.page-ban-ca__hero-section {
  background: linear-gradient(135deg, var(--page-ban-ca-primary-color), var(--page-ban-ca-secondary-color));
  color: var(--page-ban-ca-text-light);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-ban-ca__hero-content {
  text-align: left;
  flex: 1;
  max-width: 600px;
  margin-right: 40px;
}

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

.page-ban-ca__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-ban-ca__hero-actions {
  display: flex;
  gap: 20px;
}

.page-ban-ca__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ban-ca__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-ban-ca__feature-item {
  background-color: var(--page-ban-ca-text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--page-ban-ca-secondary-color);
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__feature-title {
  color: var(--page-ban-ca-primary-color);
}

/* Game List Section */
.page-ban-ca__game-list .page-ban-ca__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-ban-ca__game-card {
  background-color: var(--page-ban-ca-text-light);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__game-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-ban-ca__game-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: var(--page-ban-ca-secondary-color);
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__game-title {
  color: var(--page-ban-ca-primary-color);
}

.page-ban-ca__game-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How To Play Section */
.page-ban-ca__how-to-play .page-ban-ca__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__steps-list li {
  background-color: var(--page-ban-ca-text-light);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  position: relative;
  padding-left: 60px;
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__steps-list li {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--page-ban-ca-primary-color);
  color: var(--page-ban-ca-text-dark);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__steps-list li::before {
  background-color: var(--page-ban-ca-secondary-color);
  color: var(--page-ban-ca-text-light);
}

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

.page-ban-ca__promo-card {
  background-color: var(--page-ban-ca-text-light);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__promo-image {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__promo-title {
  color: var(--page-ban-ca-primary-color);
}

/* Mobile App Section */
.page-ban-ca__mobile-app {
  background-color: var(--page-ban-ca-secondary-color);
  color: var(--page-ban-ca-text-light);
}

.page-ban-ca__mobile-app .page-ban-ca__section-title {
  color: var(--page-ban-ca-primary-color);
}

.page-ban-ca__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-ban-ca__mobile-app-text {
  flex: 1;
}

.page-ban-ca__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-ban-ca__app-features li {
  margin-bottom: 10px;
  font-size: 1.1em;
  position: relative;
  padding-left: 30px;
}

.page-ban-ca__app-features li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--page-ban-ca-primary-color);
  font-weight: bold;
}

.page-ban-ca__mobile-app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.page-ban-ca__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-ban-ca__security-item {
  background-color: var(--page-ban-ca-text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__security-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  /* No filter property to change color */
}

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

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__security-title {
  color: var(--page-ban-ca-primary-color);
}

/* Tips Section */
.page-ban-ca__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__tips-list li {
  background-color: var(--page-ban-ca-text-light);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-left: 5px solid var(--page-ban-ca-primary-color);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__tips-list li {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border-left-color: var(--page-ban-ca-secondary-color);
}

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

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__tips-list li strong {
  color: var(--page-ban-ca-primary-color);
}

/* FAQ Section */
.page-ban-ca__faq-item {
  background-color: var(--page-ban-ca-text-light);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__faq-question {
  font-size: 1.3em;
  color: var(--page-ban-ca-secondary-color);
  margin-bottom: 10px;
  cursor: pointer;
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__faq-question {
  color: var(--page-ban-ca-primary-color);
}

.page-ban-ca__faq-answer {
  font-size: 1em;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-ban-ca__section:nth-of-type(even) .page-ban-ca__faq-answer {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.page-ban-ca__faq-answer.page-ban-ca__active {
  display: block;
}

/* Conclusion Section */
.page-ban-ca__conclusion .page-ban-ca__section-intro,
.page-ban-ca__conclusion .page-ban-ca__section-outro {
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-ban-ca__hero-section {
    flex-direction: column;
    padding: 60px 0;
    min-height: auto;
  }

  .page-ban-ca__hero-content {
    text-align: center;
    margin-right: 0;
    margin-bottom: 40px;
  }

  .page-ban-ca__hero-title {
    font-size: 2.8em;
  }

  .page-ban-ca__hero-description {
    font-size: 1.1em;
  }

  .page-ban-ca__hero-actions {
    justify-content: center;
  }

  .page-ban-ca__mobile-app-content {
    flex-direction: column;
  }

  .page-ban-ca__mobile-app-text,
  .page-ban-ca__mobile-app-image-wrapper {
    text-align: center;
  }

  .page-ban-ca__app-features {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__section {
    padding: 40px 0;
  }

  .page-ban-ca__section-title {
    font-size: 2.2em;
  }

  .page-ban-ca__hero-title {
    font-size: 2.5em;
  }

  .page-ban-ca__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-ban-ca__btn {
    width: 100%;
  }

  .page-ban-ca__feature-item,
  .page-ban-ca__game-card,
  .page-ban-ca__promo-card,
  .page-ban-ca__security-item {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .page-ban-ca__section-title {
    font-size: 1.8em;
  }

  .page-ban-ca__hero-title {
    font-size: 2em;
  }

  .page-ban-ca__hero-description {
    font-size: 1em;
  }

  .page-ban-ca__hero-actions {
    gap: 10px;
  }

  .page-ban-ca__btn {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-ban-ca__steps-list li,
  .page-ban-ca__app-features li,
  .page-ban-ca__tips-list li,
  .page-ban-ca__faq-item {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  .page-ban-ca__steps-list li::before {
    width: 25px;
    height: 25px;
    font-size: 1em;
    left: 15px;
  }

  .page-ban-ca__faq-question {
    font-size: 1.1em;
  }
}