/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Main text color for dark body background */
  background-color: #0A0A0A; /* Body background from shared.css */
  line-height: 1.6;
}

.page-ban-ca__section-spacing {
  padding: 60px 0;
}

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

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2C14E; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-ban-ca__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #FFD36B, transparent);
  border-radius: 2px;
}

.page-ban-ca__text-block p {
  font-size: 17px;
  margin-bottom: 15px;
  text-align: justify;
}

.page-ban-ca__highlight-text {
  color: #FFD36B;
  font-weight: 700;
}

.page-ban-ca__text-link {
  color: #F2C14E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-ban-ca__text-link:hover {
  color: #FFD36B;
  text-decoration: underline;
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

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

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, not --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 0;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  margin-top: 100px; /* Push content down to avoid header overlap */
  margin-bottom: 40px;
  box-sizing: border-box;
}

.page-ban-ca__main-title {
  font-size: 52px;
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-ban-ca__hero-description {
  font-size: 20px;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* About Section */
.page-ban-ca__about-section {
  background-color: #0A0A0A;
}

/* Features Section */
.page-ban-ca__features-section {
  background-color: #111111;
}

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

.page-ban-ca__feature-card {
  background-color: #111111;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-ban-ca__card-title {
  font-size: 22px;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ban-ca__feature-card p {
  font-size: 16px;
  color: #FFF6D6;
}

/* Guide Section */
.page-ban-ca__guide-section {
  background-color: #0A0A0A;
}

.page-ban-ca__guide-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-ban-ca__guide-step {
  background-color: #111111;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

.page-ban-ca__step-title {
  font-size: 24px;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-ban-ca__guide-step p {
  font-size: 16px;
  color: #FFF6D6;
}

/* Strategy Section */
.page-ban-ca__strategy-section {
  background-color: #111111;
}

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

.page-ban-ca__strategy-card {
  background-color: #111111;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

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

.page-ban-ca__promotions-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-ban-ca__promotion-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-ban-ca__promotion-details {
  flex: 1;
  min-width: 300px;
}

.page-ban-ca__promotion-details p {
  font-size: 17px;
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-ban-ca__promo-list li {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-ban-ca__promo-list li::before {
  content: '⚡'; /* Unicode lightning bolt */
  position: absolute;
  left: 0;
  color: #FFD36B;
  font-size: 18px;
  line-height: 1;
}

.page-ban-ca__btn-promo {
  margin-top: 20px;
}

/* Reviews Section */
.page-ban-ca__reviews-section {
  background-color: #111111;
}

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

.page-ban-ca__review-card {
  background-color: #111111;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

.page-ban-ca__review-text {
  font-style: italic;
  font-size: 17px;
  color: #FFF6D6;
  margin-bottom: 15px;
}

.page-ban-ca__reviewer-name {
  font-weight: 600;
  color: #F2C14E;
  text-align: right;
  font-size: 15px;
}

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

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF6D6;
}

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

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}

.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}

.page-ban-ca__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 25px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
  font-size: 16px;
}

/* CTA Section */
.page-ban-ca__cta-section {
  background: linear-gradient(90deg, #1a1a1a, #0a0a0a);
  text-align: center;
}

.page-ban-ca__cta-content {
  max-width: 900px;
}

.page-ban-ca__section-title--cta {
  color: #FFD36B;
}

.page-ban-ca__section-title--cta::after {
  background: linear-gradient(90deg, transparent, #F2C14E, transparent);
}

.page-ban-ca__cta-description {
  font-size: 20px;
  color: #FFF6D6;
  margin-bottom: 40px;
}

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

.page-ban-ca__btn-large {
  padding: 16px 32px;
  font-size: 20px;
}

/* Global image and container responsive styles */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-ban-ca__hero-image-wrapper,
.page-ban-ca__promotion-image,
.page-ban-ca__feature-icon,
.page-ban-ca__container,
.page-ban-ca__text-block,
.page-ban-ca__features-grid,
.page-ban-ca__guide-content,
.page-ban-ca__strategy-grid,
.page-ban-ca__promotions-content,
.page-ban-ca__reviews-grid,
.page-ban-ca__faq-list,
.page-ban-ca__hero-cta,
.page-ban-ca__cta-buttons {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Ensure content does not overflow */
}

/* Media Queries for Responsive Design */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-ban-ca__main-title {
    font-size: 44px;
  }
  .page-ban-ca__hero-description {
    font-size: 18px;
  }
  .page-ban-ca__section-title {
    font-size: 32px;
  }
  .page-ban-ca__features-grid,
  .page-ban-ca__guide-content,
  .page-ban-ca__strategy-grid,
  .page-ban-ca__reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
  .page-ban-ca__promotions-content {
    flex-direction: column;
  }
  .page-ban-ca__promotion-image {
    max-width: 80%;
  }
}

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

  .page-ban-ca__section-spacing {
    padding: 40px 0;
  }

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

  .page-ban-ca__main-title {
    font-size: clamp(32px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-ban-ca__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-ban-ca__hero-content {
    padding: 30px 15px;
    margin-top: 60px;
    margin-bottom: 30px;
  }

  /* HERO Image Mobile: object-fit: contain */
  .page-ban-ca__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
  }

  .page-ban-ca__hero-cta {
    flex-direction: column;
    gap: 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: 12px 20px;
    font-size: 16px;
  }

  .page-ban-ca__hero-cta .page-ban-ca__btn-primary,
  .page-ban-ca__hero-cta .page-ban-ca__btn-secondary,
  .page-ban-ca__cta-buttons .page-ban-ca__btn-primary,
  .page-ban-ca__cta-buttons .page-ban-ca__btn-secondary {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-ban-ca__text-block p,
  .page-ban-ca__feature-card p,
  .page-ban-ca__guide-step p,
  .page-ban-ca__promotion-details p,
  .page-ban-ca__promo-list li,
  .page-ban-ca__review-text,
  .page-ban-ca__reviewer-name,
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    font-size: 15px;
  }

  .page-ban-ca__feature-icon {
    max-height: 180px;
  }

  .page-ban-ca__card-title {
    font-size: 20px;
  }

  .page-ban-ca__step-title {
    font-size: 22px;
  }

  .page-ban-ca__promotions-content {
    gap: 30px;
  }

  .page-ban-ca__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-ban-ca__cta-description {
    font-size: 17px;
    margin-bottom: 30px;
  }

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

  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px;
  }

  .page-ban-ca__faq-qtext {
    font-size: 16px;
  }

  .page-ban-ca__faq-toggle {
    font-size: 24px;
    width: 24px;
  }

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

  /* General image and container styles for mobile */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__text-block,
  .page-ban-ca__features-grid,
  .page-ban-ca__guide-content,
  .page-ban-ca__strategy-grid,
  .page-ban-ca__promotions-content,
  .page-ban-ca__reviews-grid,
  .page-ban-ca__faq-list,
  .page-ban-ca__hero-cta,
  .page-ban-ca__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Product/Gameshow Grid (though gameshow is not used here, general grid adjustment) */
  .page-ban-ca__features-grid, .page-ban-ca__strategy-grid, .page-ban-ca__reviews-grid {
    grid-template-columns: 1fr; /* Single column for small mobiles */
  }
}

/* Additional mobile adjustments for grids for slightly larger phones */
@media (min-width: 480px) and (max-width: 768px) {
  .page-ban-ca__features-grid, .page-ban-ca__strategy-grid, .page-ban-ca__reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Two columns if space allows */
  }
}