/* CSS cho trang Bắn Cá (ban-ca.css) */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for main offset */
  background-color: #0f0000; /* Dark background for hero area */
  text-align: center;
}

.page-ban-ca__hero-image {
  margin-bottom: 20px;
}

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

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

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-ban-ca__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF1E8;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #140C0C; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
  background-color: transparent;
  color: #F3C54D; /* Gold text */
  border: 2px solid #F3C54D; /* Gold border */
}

.page-ban-ca__btn-secondary:hover {
  background-color: #F3C54D;
  color: #140C0C; /* Dark text on hover */
  transform: translateY(-2px);
}

.page-ban-ca__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  padding-top: 60px;
}

.page-ban-ca__introduction-section,
.page-ban-ca__how-to-play-section,
.page-ban-ca__tips-section,
.page-ban-ca__download-app-section,
.page-ban-ca__conclusion-section {
  background-color: #140C0C; /* Background */
}

.page-ban-ca__features-section,
.page-ban-ca__popular-games-section,
.page-ban-ca__promotions-section,
.page-ban-ca__faq-section {
  background-color: #0f0000; /* Slightly darker to differentiate sections */
}

.page-ban-ca__dark-section {
  background-color: #140C0C; /* Background */
}

.page-ban-ca__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #FFF1E8;
  text-align: justify;
}

.page-ban-ca__highlight {
  color: #F3C54D; /* Gold */
  font-weight: 600;
}

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

.page-ban-ca__card {
  background-color: #2A1212; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-ban-ca__feature-image,
.page-ban-ca__game-image {
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-ban-ca__card-title {
  font-size: 1.5rem;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ban-ca__card-description {
  font-size: 1rem;
  color: #FFF1E8;
  text-align: center;
}

.page-ban-ca__ordered-list,
.page-ban-ca__unordered-list {
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
}

.page-ban-ca__ordered-list li,
.page-ban-ca__unordered-list li {
  background-color: #2A1212; /* Card BG */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #F3C54D; /* Gold */
  font-size: 1.05rem;
  color: #FFF1E8;
  text-align: justify;
}

.page-ban-ca__ordered-list li strong,
.page-ban-ca__unordered-list li strong {
  color: #F3C54D; /* Gold */
}

.page-ban-ca__text-link {
  color: #FFB04A; /* Lighter gold for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-ban-ca__text-link:hover {
  color: #D86A14; /* Darker orange on hover */
}

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

.page-ban-ca__app-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.page-ban-ca__app-features .page-ban-ca__unordered-list {
  flex: 1;
  min-width: 280px;
}

.page-ban-ca__app-image {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  height: auto;
  min-height: 200px;
  object-fit: contain;
  display: block;
}

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

.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-left: 5px solid #7E0D0D; /* Deep Red */
  background-color: #2A1212; /* Card BG */
  color: #FFF1E8;
  border-radius: 8px;
  padding: 0;
}

.page-ban-ca__faq-item summary {
  display: block;
  padding: 20px;
  cursor: pointer;
  position: relative;
  list-style: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F3C54D; /* Gold */
}

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  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 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF1E8;
  text-align: justify;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 15px;
  }

  .page-ban-ca__hero-section {
    padding-top: 10px; /* Ensure small padding */
  }

  .page-ban-ca__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-ban-ca__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

  .page-ban-ca__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-top: 40px;
  }

  .page-ban-ca__text-block,
  .page-ban-ca__ordered-list li,
  .page-ban-ca__unordered-list li,
  .page-ban-ca__card-description,
  .page-ban-ca__faq-answer p {
    font-size: 0.95rem;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__card {
    padding: 20px;
  }

  .page-ban-ca__feature-image,
  .page-ban-ca__game-image,
  .page-ban-ca__app-image,
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important; /* Ensure minimum size */
    box-sizing: border-box !important;
  }

  .page-ban-ca__app-features {
    flex-direction: column;
    gap: 20px;
  }

  .page-ban-ca__app-features .page-ban-ca__unordered-list {
    width: 100%;
  }

  .page-ban-ca__app-image {
    max-width: 100%;
  }

  .page-ban-ca__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

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

  /* Ensure content containers are responsive */
  .page-ban-ca__introduction-section,
  .page-ban-ca__features-section,
  .page-ban-ca__how-to-play-section,
  .page-ban-ca__popular-games-section,
  .page-ban-ca__tips-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__download-app-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-ban-ca__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}