/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text on light body background */
  background-color: #FFFFFF;
}

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

.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 40px;
  background-color: #f0f0f0;
  text-align: center;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
}

.page-ban-ca__hero-content {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #017439;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

.page-ban-ca__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

.page-ban-ca__hero-buttons,
.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 300px; /* Limit button width for consistency */
}

.page-ban-ca__btn-primary {
  background-color: #C30808; /* Custom color for Login/Register */
  color: #FFFF00; /* Custom font color for Login/Register */
  border: 2px solid #C30808;
}

.page-ban-ca__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-ban-ca__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #017439;
}

.page-ban-ca__btn-center {
  margin: 30px auto;
  display: block;
  max-width: 350px;
}

.page-ban-ca__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-ban-ca__intro-section,
.page-ban-ca__how-to-play-section,
.page-ban-ca__promotions-section,
.page-ban-ca__faq-section,
.page-ban-ca__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-ban-ca__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-ban-ca__dark-section .page-ban-ca__section-title {
  color: #ffffff;
}

.page-ban-ca__dark-section .page-ban-ca__text-block {
  color: #f0f0f0;
}

.page-ban-ca__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-ban-ca__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-ban-ca__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-ban-ca__feature-item .page-ban-ca__feature-heading {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ban-ca__feature-item .page-ban-ca__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-ban-ca__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-ban-ca__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  position: relative;
  padding-left: 60px;
}

.page-ban-ca__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2em;
}

.page-ban-ca__step-heading {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 5px;
  font-weight: 600;
}

.page-ban-ca__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-ban-ca__step-item a {
  color: #017439;
  text-decoration: underline;
}

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

.page-ban-ca__tip-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__tip-heading {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ban-ca__tip-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-ban-ca__faq-list {
  max-width: 900px;
  margin: 30px auto 0 auto;
}

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  list-style: none;
  user-select: none;
  position: relative;
}

.page-ban-ca__faq-question::-webkit-details-marker {
  display: none;
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.page-ban-ca__faq-answer p {
  margin: 0;
}

.page-ban-ca__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

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

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

  .page-ban-ca__hero-buttons,
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__btn-center {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0;
    margin-right: 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-ban-ca__intro-section,
  .page-ban-ca__features-section,
  .page-ban-ca__how-to-play-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-section {
    padding: 40px 0;
  }

  .page-ban-ca__text-block {
    font-size: 0.95em;
  }

  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    min-width: unset;
    min-height: unset;
  }

  .page-ban-ca__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__feature-item {
    padding: 20px;
  }

  .page-ban-ca__feature-item .page-ban-ca__feature-heading {
    font-size: 1.3em;
  }

  .page-ban-ca__step-item {
    padding-left: 50px;
  }

  .page-ban-ca__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.1em;
  }

  .page-ban-ca__step-heading {
    font-size: 1.2em;
  }

  .page-ban-ca__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__tip-heading {
    font-size: 1.3em;
  }

  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-ban-ca__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

/* No long text gold border or game carousel/partner grid on non-homepage */
/* The following classes are intentionally left empty or not defined as they are only for homepage */
.page-ban-ca__home-content { /* Not applicable for ban-ca.html as per rules */ }
.page-ban-ca__row-games { /* Not applicable for ban-ca.html as per rules */ }
.page-ban-ca__slider-wrapper { /* Not applicable for ban-ca.html as per rules */ }
.page-ban-ca__slider-track { /* Not applicable for ban-ca.html as per rules */ }
.page-ban-ca__game-slide { /* Not applicable for ban-ca.html as per rules */ }
.page-ban-ca__banners-top-wrapper { /* Not applicable for ban-ca.html as per rules */ }
.page-ban-ca__banner-item img { /* Not applicable for ban-ca.html as per rules */ }
.page-ban-ca__blog-masonry { /* No specific masonry layout required, regular cards used */ }
.page-ban-ca__blog-card-link { /* No specific blog card layout required, generic links used */ }
.page-ban-ca__btn-outline { /* Not used in this page */ }
.page-ban-ca__blog-slider-track { /* No blog slider required */ }
.page-ban-ca__blog-slide { /* No blog slider required */ }