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

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 50px;
  overflow: hidden;
  color: #FFFFFF;
  background-color: #26A9E0;
}

.page-ban-ca__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

.page-ban-ca__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  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: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

.page-ban-ca__btn-secondary:hover {
  background: #f0f0f0;
  color: #1a7fb7;
  border-color: #1a7fb7;
}

/* General Section Styles */
.page-ban-ca__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #26A9E0;
}

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

.page-ban-ca__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-ban-ca__text-block {
  flex: 1;
  line-height: 1.8;
  font-size: 1.05rem;
}

.page-ban-ca__text-block p {
  margin-bottom: 15px;
}

.page-ban-ca__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ban-ca__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: block;
}

.page-ban-ca__image-block--center {
  margin: 40px auto;
}

.page-ban-ca__image-block--left {
  order: 0;
}

.page-ban-ca__image-block--right {
  order: 1;
}

/* Intro Section */
.page-ban-ca__intro-section {
  background: #FFFFFF;
  color: #333333;
}

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

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

.page-ban-ca__feature-card {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.page-ban-ca__feature-card:hover {
  transform: translateY(-5px);
}

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

/* How to Play Section */
.page-ban-ca__how-to-play-section {
  background: #FFFFFF;
  color: #333333;
}

.page-ban-ca__steps-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-direction: row;
}

.page-ban-ca__steps-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__step-item {
  margin-bottom: 25px;
  padding-left: 20px;
  position: relative;
}

.page-ban-ca__step-item:last-child {
  margin-bottom: 0;
}

.page-ban-ca__step-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  background: #26A9E0;
  border-radius: 50%;
}

.page-ban-ca__step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-ban-ca__button-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

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

.page-ban-ca__strategy-section .page-ban-ca__section-title {
  color: #FFFFFF;
}

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

.page-ban-ca__strategy-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.page-ban-ca__strategy-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 15px;
}

/* Blog Section */
.page-ban-ca__blog-section {
  background: #FFFFFF;
  color: #333333;
}

.page-ban-ca__blog-section .page-ban-ca__content-wrapper {
  flex-direction: row-reverse;
}

/* Promo Section */
.page-ban-ca__promo-section {
  background: #26A9E0;
  color: #FFFFFF;
}

.page-ban-ca__promo-section .page-ban-ca__section-title {
  color: #FFFFFF;
}

.page-ban-ca__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-ban-ca__promo-content {
  flex: 1;
}

.page-ban-ca__promo-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

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

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: #f5f5f5;
}

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

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

details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

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

/* CTA Section */
.page-ban-ca__cta-section {
  background: #26A9E0;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-ban-ca__cta-section .page-ban-ca__section-title {
  color: #FFFFFF;
  margin-bottom: 25px;
}

.page-ban-ca__cta-description {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ban-ca__hero-content {
    max-width: 700px;
  }
  .page-ban-ca__container {
    padding: 40px 20px;
  }
  .page-ban-ca__content-wrapper,
  .page-ban-ca__steps-wrapper,
  .page-ban-ca__container--flex {
    flex-direction: column;
    gap: 30px;
  }
  .page-ban-ca__image-block--left,
  .page-ban-ca__image-block--right {
    order: unset;
  }
  .page-ban-ca__hero-image img {
    object-fit: contain;
    aspect-ratio: 16/9;
  }
}

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

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-ban-ca__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    max-height: 300px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-ban-ca__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* General Section Styles */
  .page-ban-ca__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-ban-ca__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-ban-ca__content-wrapper,
  .page-ban-ca__steps-wrapper,
  .page-ban-ca__container--flex {
    gap: 20px;
  }
  .page-ban-ca__text-block,
  .page-ban-ca__image-block {
    flex: none;
    width: 100%;
  }
  .page-ban-ca__text-block p {
    font-size: 0.95rem;
  }
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Sản phẩm/Features Grid (General grid adaptation) */
  .page-ban-ca__features-grid,
  .page-ban-ca__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__feature-card,
  .page-ban-ca__strategy-item {
    padding: 25px;
  }
  .page-ban-ca__feature-title,
  .page-ban-ca__strategy-title {
    font-size: 1.2rem;
  }

  /* Hướng Dẫn (How-to-play) */
  .page-ban-ca__step-item {
    padding-left: 15px;
    margin-bottom: 20px;
  }
  .page-ban-ca__step-title {
    font-size: 1.1rem;
  }

  /* Blog Section */
  .page-ban-ca__blog-section .page-ban-ca__content-wrapper {
    flex-direction: column;
  }

  /* FAQ Section */
  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question { padding: 15px; }
  .page-ban-ca__faq-qtext { font-size: 15px; }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer { padding: 0 15px 15px; }

  /* Buttons */
  .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__button-group,
  .page-ban-ca__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  /* CTA Section */
  .page-ban-ca__cta-section {
    padding: 40px 15px;
  }
  .page-ban-ca__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}