/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Main text color based on dark background */
  background-color: #140C0C; /* Page background color */
}

.page-ban-ca__dark-bg {
  background-color: #140C0C;
  color: #FFF1E8;
}

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

.page-ban-ca__section {
  padding: 40px 0;
  border-bottom: 1px solid #6A1E1E;
}

.page-ban-ca__section:last-of-type {
  border-bottom: none;
}

.page-ban-ca__heading {
  color: #F3C54D; /* Gold color for headings */
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5em;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-ban-ca__highlight {
  color: #FFB04A;
  font-weight: bold;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #140C0C;
}

.page-ban-ca__hero-image {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-ban-ca__main-title {
  color: #FFB04A; /* Gold/Orange gradient start for main title */
  font-size: 3.2em; /* Using fixed value for desktop, will adjust for mobile */
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 100%;
}

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

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C; /* Dark text for bright button */
  border: none;
}

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

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

.page-ban-ca__btn-secondary:hover {
  background: #FFB04A;
  color: #140C0C;
  transform: translateY(-2px);
}

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

.page-ban-ca__cta-full-width {
  text-align: center;
  margin-top: 40px;
}

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

.page-ban-ca__game-card {
  background-color: #2A1212; /* Card BG color */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFF1E8;
}

.page-ban-ca__game-card .page-ban-ca__game-trial-frame {
  border: 2px solid #6A1E1E;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-ban-ca__game-card .page-ban-ca__card-title {
  color: #F3C54D;
  font-size: 1.5em;
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-ban-ca__game-card .page-ban-ca__card-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Guide and Strategy Sections */
.page-ban-ca__ordered-list,
.page-ban-ca__unordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-ban-ca__ordered-list {
  list-style-type: decimal;
}

.page-ban-ca__unordered-list {
  list-style-type: disc;
}

.page-ban-ca__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-ban-ca__list-item strong {
  color: #FFB04A;
}

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

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

.page-ban-ca__promo-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-ban-ca__promo-card .page-ban-ca__card-title {
  color: #F3C54D;
  font-size: 1.4em;
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-ban-ca__promo-card .page-ban-ca__card-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Benefits Section */
.page-ban-ca__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
  text-align: center;
}

.page-ban-ca__feature-item {
  background-color: #2A1212;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF1E8;
}

.page-ban-ca__feature-item img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-ban-ca__feature-title {
  color: #FFB04A;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-ban-ca__feature-description {
  font-size: 0.95em;
}

/* FAQ Section */
.page-ban-ca__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__faq-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF1E8;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F3C54D;
  background-color: #2A1212;
  border-bottom: 1px solid transparent; /* Prevent double border */
}

.page-ban-ca__faq-question:hover {
  background-color: #3f1a1a;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  border-bottom-color: #6A1E1E;
}

.page-ban-ca__faq-qtext {
  flex-grow: 1;
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  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 15px 20px;
  font-size: 1em;
  color: #FFF1E8;
}

.page-ban-ca__faq-answer p {
  margin-bottom: 0;
  text-align: justify;
}

/* Conclusion Section */
.page-ban-ca__text-center {
  text-align: center;
}

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

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

  .page-ban-ca__main-title {
    font-size: 2.2em; /* Adjusted for mobile */
  }

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

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

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

  .page-ban-ca__heading {
    font-size: 2em;
    margin-bottom: 20px;
  }

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

  .page-ban-ca__game-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__feature-list {
    grid-template-columns: 1fr; /* Single column for grids */
    gap: 20px;
  }

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

  /* Ensure all images are responsive */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

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

  .page-ban-ca__list-item {
    font-size: 1em;
  }

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

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