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

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

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  background-color: #000000; /* Dark background for hero to make image pop */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height of image wrapper */
  overflow: hidden;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability on top, if text were overlaid, but here it's below */
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 800px;
  color: #FFFFFF;
  margin-top: -100px; /* Pull content up slightly over the image for visual flow */
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

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

.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,
.page-ban-ca__btn-outline {
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-ban-ca__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

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

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

.page-ban-ca__btn-outline {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-ban-ca__btn-outline:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-ban-ca__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Why Choose Us Section */
.page-ban-ca__why-choose-us {
  background-color: #f9f9f9;
}

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

.page-ban-ca__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

.page-ban-ca__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

.page-ban-ca__feature-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Popular Games Section */
.page-ban-ca__popular-games {
  background-color: #FFFFFF;
}

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

.page-ban-ca__game-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

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

.page-ban-ca__game-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__game-short-desc {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How To Play Section */
.page-ban-ca__how-to-play {
  background-color: #f0f8ff;
}

.page-ban-ca__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-ban-ca__step-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-ban-ca__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__step-item p {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Winning Tips Section */
.page-ban-ca__winning-tips {
  background-color: #FFFFFF;
}

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

.page-ban-ca__tip-card {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  height: 100%;
  box-sizing: border-box;
}

.page-ban-ca__tip-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__tip-card p {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Promotions Section */
.page-ban-ca__promotions {
  background-color: #f0f8ff;
}

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

.page-ban-ca__promo-card {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

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

.page-ban-ca__promo-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__promo-card p {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-ban-ca__faq {
  background-color: #FFFFFF;
}

.page-ban-ca__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #eaf6ff;
  border-bottom: 1px solid #d0e8ff;
  list-style: none; /* For details/summary */
}

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

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-bottom-color: #26A9E0;
}

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

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

.page-ban-ca__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  text-align: left;
}

.page-ban-ca__faq-answer p {
  margin-bottom: 15px;
}

/* General image styling */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-ban-ca__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-ban-ca__hero-section {
    padding-top: 10px; /* Still small, rely on body padding */
    padding-bottom: 30px;
  }

  .page-ban-ca__hero-image-wrapper {
    max-height: 300px;
  }

  .page-ban-ca__hero-content {
    margin-top: -60px; /* Adjust for smaller screens */
    padding: 15px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-outline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__hero-section,
  .page-ban-ca__why-choose-us,
  .page-ban-ca__popular-games,
  .page-ban-ca__how-to-play,
  .page-ban-ca__winning-tips,
  .page-ban-ca__promotions,
  .page-ban-ca__faq {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific mobile adaptations for grids/lists */
  .page-ban-ca__features-grid,
  .page-ban-ca__game-list,
  .page-ban-ca__tips-grid,
  .page-ban-ca__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__feature-card,
  .page-ban-ca__game-card,
  .page-ban-ca__tip-card,
  .page-ban-ca__promo-card {
    padding: 20px;
  }

  .page-ban-ca__game-thumbnail,
  .page-ban-ca__promo-image {
    height: 180px;
  }

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

  .page-ban-ca__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }

  /* Placeholder for home-content, slider, banners if they were present - not for this page */
  /* .page-ban-ca__home-content { height: auto; overflow-y: visible; } */
  /* .page-ban-ca__slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; } */
  /* .page-ban-ca__game-slide { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); } */
  /* .page-ban-ca__banners-top-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); } */
  /* .page-ban-ca__blog-masonry { grid-template-columns: 1fr; } */
  /* .page-ban-ca__blog-slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; } */
  /* .page-ban-ca__blog-slide { flex: 0 0 100%; max-width: 100%; } */

}