/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from custom colors */
}

.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 body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #08162B; /* Deep Navy */
  overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-ban-ca__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-ban-ca__description {
  font-size: 1.2em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

.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,
.page-ban-ca__btn-outline {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(17, 67, 166, 0.4);
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.2);
}

.page-ban-ca__btn-secondary:hover {
  background: #F2C14E;
  color: #08162B; /* Deep Navy */
  transform: translateY(-2px);
}

.page-ban-ca__btn-outline {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 1px solid #F2C14E; /* Gold */
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-ban-ca__btn-outline:hover {
  background: #F2C14E;
  color: #08162B; /* Deep Navy */
}

.page-ban-ca__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  padding-top: 40px;
}

.page-ban-ca__sub-title {
  font-size: 1.6em;
  color: #F3F8FF; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-ban-ca__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #AFC4E8; /* Text Secondary */
}

.page-ban-ca__text-block a {
  color: #2B73F6; /* A shade of blue from button gradient */
  text-decoration: underline;
}

.page-ban-ca__text-block a:hover {
  color: #F2C14E; /* Gold */
}

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

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

.page-ban-ca__card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensure cards in a row have equal height */
  justify-content: space-between;
}

.page-ban-ca__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-ban-ca__card-title {
  font-size: 1.4em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__card-text {
  font-size: 0.95em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Lists */
.page-ban-ca__ordered-list,
.page-ban-ca__unordered-list {
  margin-bottom: 20px;
  padding-left: 25px;
  color: #AFC4E8; /* Text Secondary */
}

.page-ban-ca__ordered-list li,
.page-ban-ca__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  line-height: 1.5;
}

.page-ban-ca__ordered-list li strong,
.page-ban-ca__unordered-list li strong {
  color: #F3F8FF; /* Text Main */
}

/* FAQ Section */
.page-ban-ca__faq-list {
  margin-top: 30px;
}

.page-ban-ca__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  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: bold;
  color: #F3F8FF; /* Text Main */
  cursor: pointer;
  list-style: none;
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  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 25px 20px;
  font-size: 1.05em;
  color: #AFC4E8; /* Text Secondary */
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__container {
    padding: 20px 30px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-ban-ca__description {
    font-size: 1.1em;
  }
  .page-ban-ca__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }
  .page-ban-ca__game-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-ban-ca__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Small top padding, relying on body for header offset */
    padding-bottom: 30px;
  }
  .page-ban-ca__hero-image-wrapper {
    max-height: 300px;
  }
  .page-ban-ca__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-ban-ca__description {
    font-size: 1em;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-outline,
  .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 !important;
    padding-right: 15px !important;
  }
  .page-ban-ca__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    padding-top: 30px;
  }
  .page-ban-ca__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__game-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__card {
    padding: 20px;
  }
  .page-ban-ca__card-image {
    max-width: 100%;
  }
  .page-ban-ca__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-ban-ca__faq-answer {
    font-size: 1em;
    padding: 0 20px 15px;
  }
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-ban-ca__intro-section,
  .page-ban-ca__game-types-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__strategy-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__app-download-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: 15px;
    padding-right: 15px;
  }
}