/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
}

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

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FF8C1A; /* Main color */
  position: relative;
  padding-bottom: 10px;
}

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

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6; /* Text Main */
  border: none;
}

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

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

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

.page-ban-ca__btn-outline {
  background-color: transparent;
  color: #FF8C1A;
  border: 1px solid #A84F0C; /* Border color */
  padding: 8px 15px;
  font-size: 0.95em;
}

.page-ban-ca__btn-outline:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
}

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

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  background-color: #0D0E12;
  overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Adjust height as needed */
  overflow: hidden;
}

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

.page-ban-ca__hero-content-wrapper {
  padding: 40px 0;
  text-align: center;
  background-color: rgba(13, 14, 18, 0.7); /* Semi-transparent overlay for text */
  position: relative;
  z-index: 1;
}

.page-ban-ca__main-title {
  font-size: 3.2em;
  color: #FFB04D; /* Glow color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__description {
  font-size: 1.3em;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Introduction Section */
.page-ban-ca__introduction-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
}

/* Gameplay Section */
.page-ban-ca__gameplay-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

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

.page-ban-ca__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF3E6; /* Text Main */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__card-title {
  font-size: 1.5em;
  color: #FF8C1A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ban-ca__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Game Types Section */
.page-ban-ca__game-types-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
}

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

.page-ban-ca__game-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-ban-ca__game-name {
  font-size: 1.4em;
  color: #FFB04D;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__game-item p {
  flex-grow: 1;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-ban-ca__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
  margin-top: auto;
}

/* Tips Section */
.page-ban-ca__tips-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

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

.page-ban-ca__tip-item {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca__tip-item p {
  color: #FFF3E6;
}

/* Promotion Section */
.page-ban-ca__promotion-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
}

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

.page-ban-ca__promo-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-ban-ca__promo-item p {
  flex-grow: 1;
  margin-bottom: 20px;
  color: #FFF3E6;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

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

.page-ban-ca__faq-item {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FF8C1A;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-ban-ca__faq-question:hover {
  background-color: rgba(255, 139, 26, 0.1);
}

.page-ban-ca__faq-question::marker, /* Hide default marker for details */
.page-ban-ca__faq-question::-webkit-details-marker {
  display: none;
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFB04D;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  content: '-';
}

.page-ban-ca__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.1em;
  color: #FFF3E6;
}

/* Conclusion Section */
.page-ban-ca__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0D0E12; /* Background */
}

/* All images responsive */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All image containers responsive */
.page-ban-ca__hero-image-wrapper,
.page-ban-ca__content-grid,
.page-ban-ca__game-list,
.page-ban-ca__promo-list {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-ban-ca__main-title {
    font-size: 2.8em;
  }

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

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

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Small top padding */
  }

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

  .page-ban-ca__hero-content-wrapper {
    padding: 20px 0;
  }

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

  .page-ban-ca__description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }

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

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca a[class*="button"],
  .page-ban-ca a[class*="btn"] {
    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__btn-center {
    max-width: 90% !important;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  /* General Image and Container */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__game-item,
  .page-ban-ca__promo-item,
  .page-ban-ca__tip-item,
  .page-ban-ca__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__content-grid,
  .page-ban-ca__game-list,
  .page-ban-ca__promo-list {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

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

  .page-ban-ca__card-title {
    font-size: 1.3em;
  }

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

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

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

  /* No specific long text gold frame or game/brand carousels on this page, but including general responsive rules for completeness as per checklist */
  /* Long text gold frame (if present) */
  .page-ban-ca__home-content { /* Placeholder, not used on this page */ }

  /* Game carousel (if present) */
  .page-ban-ca__slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; } /* Placeholder, not used on this page */
  .page-ban-ca__game-slide { flex: 0 0 calc(100% - 30px); margin-right: 15px; scroll-snap-align: start; } /* Placeholder, not used on this page */

  /* Cooperative brand six-grid (if present) */
  .page-ban-ca__banners-top-wrapper { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; } /* Placeholder, not used on this page */
  .page-ban-ca__banner-item img {   } /* Placeholder, not used on this page */

  /* Blog card section (if present) */
  .page-ban-ca__blog-masonry { grid-template-columns: 1fr !important; } /* Placeholder, not used on this page */
  .page-ban-ca__blog-slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; } /* Placeholder, not used on this page */
  .page-ban-ca__blog-slide { flex: 0 0 calc(100% - 30px); margin-right: 15px; scroll-snap-align: start; } /* Placeholder, not used on this page */
}