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

.page-ban-ca__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

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

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  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: #EA7C07;
  border-radius: 2px;
}

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

.page-ban-ca__section-title--light::after {
  background-color: #FFFFFF;
}

.page-ban-ca__content-area p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

.page-ban-ca__card {
  background: #FFFFFF;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #f0f0f0;
  overflow: hidden;
}

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

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

.page-ban-ca__hero-content-wrapper {
  padding: 40px 15px 60px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%);
  position: relative;
  z-index: 10;
}

.page-ban-ca__hero-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 19px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 30px;
}

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

/* Introduction Section */
.page-ban-ca__introduction-section {
  background-color: #FFFFFF;
  padding-top: 0;
  margin-top: -100px; /* Adjust to pull content up */
  position: relative;
  z-index: 5;
}

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

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

.page-ban-ca__highlight-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__highlight-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-ban-ca__highlight-description {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

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

.page-ban-ca__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.page-ban-ca__game-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-ban-ca__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-ban-ca__game-title a:hover {
  text-decoration: underline;
}

.page-ban-ca__game-description {
  font-size: 15px;
  line-height: 1.6;
  color: #666666;
}

/* Guide Section */
.page-ban-ca__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-ban-ca__guide-step-item {
  text-align: center;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__guide-step-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-ban-ca__guide-step-title {
  font-size: 20px;
  font-weight: 700;
  color: #EA7C07;
  margin-bottom: 15px;
}

.page-ban-ca__guide-step-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

.page-ban-ca__guide-step-item p a {
  color: #26A9E0;
  text-decoration: none;
}

.page-ban-ca__guide-step-item p a:hover {
  text-decoration: underline;
}

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

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

.page-ban-ca__tip-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__tip-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-ban-ca__tip-description {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

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

.page-ban-ca__promotion-item {
  display: flex;
  flex-direction: column;
}

.page-ban-ca__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.page-ban-ca__promotion-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-ban-ca__promotion-description {
  font-size: 15px;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-ban-ca__promotion-item .page-ban-ca__btn-secondary {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 25px;
}

/* FAQ Section */
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: 17px;
  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;
}

.page-ban-ca__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 0;
}

.page-ban-ca__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-ban-ca__faq-answer a:hover {
  text-decoration: underline;
}

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

.page-ban-ca__conclusion-section p {
  max-width: 900px;
  margin: 0 auto 30px;
}

/* General image styling for content areas */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-image-wrapper {
    height: 500px;
  }
  .page-ban-ca__hero-content-wrapper {
    padding: 30px 15px 40px;
  }
  .page-ban-ca__hero-title {
    font-size: clamp(30px, 4.5vw, 42px);
  }
  .page-ban-ca__section-title {
    font-size: 32px;
  }
  .page-ban-ca__content-area p {
    font-size: 16px;
  }
  .page-ban-ca__btn-primary, .page-ban-ca__btn-secondary {
    padding: 12px 24px;
    font-size: 16px;
  }
  .page-ban-ca__highlights-grid, .page-ban-ca__game-types-grid, .page-ban-ca__guide-steps, .page-ban-ca__tips-grid, .page-ban-ca__promotions-list {
    gap: 25px;
  }
}

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

  .page-ban-ca__section {
    padding: 30px 0;
    margin-bottom: 15px;
  }

  .page-ban-ca__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px;
  }
  .page-ban-ca__hero-image-wrapper {
    height: 300px;
  }
  .page-ban-ca__hero-image {
    object-fit: contain !important;
    height: auto !important;
    aspect-ratio: unset !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-ban-ca__hero-content-wrapper {
    padding: 25px 15px 30px;
    transform: translateY(-30%);
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-ban-ca__hero-title {
    font-size: clamp(26px, 7vw, 36px);
    margin-bottom: 15px;
  }
  .page-ban-ca__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-ban-ca__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 通用图片与容器 */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 按钮与按钮容器 */
  .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__hero-cta-buttons,
  .page-ban-ca__button-group,
  .page-ban-ca__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-ban-ca__hero-cta-buttons {
    flex-direction: column;
  }

  .page-ban-ca__highlights-grid,
  .page-ban-ca__game-types-grid,
  .page-ban-ca__guide-steps,
  .page-ban-ca__tips-grid,
  .page-ban-ca__promotions-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__highlight-image,
  .page-ban-ca__game-image,
  .page-ban-ca__guide-step-image,
  .page-ban-ca__tip-image,
  .page-ban-ca__promotion-image {
    height: auto;
    min-height: 200px; /* Ensure minimum size */
    object-fit: cover;
  }

  /* 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; }

  .page-ban-ca__introduction-section {
    margin-top: -50px;
  }
}