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

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

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F3C54D; /* Gold */
  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, #FFB04A 0%, #D86A14 100%);
  border-radius: 2px;
}

.page-ban-ca__text-block {
  font-size: 17px;
  text-align: justify;
  margin-bottom: 20px;
  color: #FFF1E8; /* Text Main */
}

.page-ban-ca__text-main {
  color: #FFF1E8; /* Text Main */
}

.page-ban-ca__text-link {
  color: #F3C54D; /* Gold */
  text-decoration: underline;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
}

.page-ban-ca__hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  background: rgba(42, 18, 18, 0.8); /* Card BG with opacity */
  border-radius: 10px;
  max-width: 900px;
  margin: -80px auto 0 auto; /* Pull up over image slightly */
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  border: 1px solid #6A1E1E; /* Border */
}

.page-ban-ca__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFF1E8; /* Text Main */
}

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

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

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

.page-ban-ca__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold border */
}

.page-ban-ca__btn-secondary:hover {
  background: #3A2222;
  color: #FFF1E8;
  border-color: #FFF1E8;
  transform: translateY(-2px);
}

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

/* Introduction Section */
.page-ban-ca__introduction-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

/* Features Section */
.page-ban-ca__features-section {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG */
  border-top: 1px solid #6A1E1E;
  border-bottom: 1px solid #6A1E1E;
}

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

.page-ban-ca__feature-item {
  background: rgba(0,0,0,0.3);
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.page-ban-ca__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 2px solid #F3C54D;
}

.page-ban-ca__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F3C54D; /* Gold */
}

.page-ban-ca__feature-description {
  font-size: 16px;
  color: #FFF1E8; /* Text Main */
}

/* How To Play Section */
.page-ban-ca__how-to-play-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-ban-ca__how-to-play-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-ban-ca__how-to-play-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid #6A1E1E;
}

.page-ban-ca__steps {
  flex: 1;
}

.page-ban-ca__step-item {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

.page-ban-ca__step-title {
  font-size: 20px;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

/* Strategy Section */
.page-ban-ca__strategy-section {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG */
  border-top: 1px solid #6A1E1E;
  border-bottom: 1px solid #6A1E1E;
}

.page-ban-ca__strategy-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse; /* Image on right */
}

.page-ban-ca__strategy-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid #6A1E1E;
}

.page-ban-ca__strategy-text {
  flex: 1;
}

.page-ban-ca__strategy-subtitle {
  font-size: 22px;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-top: 25px;
  margin-bottom: 10px;
}

/* Promotions Section */
.page-ban-ca__promotions-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

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

.page-ban-ca__promo-card {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.page-ban-ca__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #6A1E1E;
}

.page-ban-ca__promo-title {
  font-size: 20px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-ban-ca__promo-description {
  font-size: 16px;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 20px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG */
  border-top: 1px solid #6A1E1E;
}

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: rgba(0,0,0,0.3);
  color: #FFF1E8;
}
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;
  color: #F3C54D; /* Gold */
}
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(0,0,0,0.5);
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}
.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF1E8; /* Text Main */
  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: rgba(0,0,0,0.2);
  border-radius: 0 0 5px 5px;
}

/* Final CTA Section */
.page-ban-ca__final-cta-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
  text-align: center;
}

/* General Image Styles for content area */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-content {
    margin-top: -60px;
    max-width: 800px;
  }
  .page-ban-ca__how-to-play-content,
  .page-ban-ca__strategy-content {
    flex-direction: column;
  }
  .page-ban-ca__how-to-play-image,
  .page-ban-ca__strategy-image {
    max-width: 80%;
    margin-bottom: 30px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(26px, 4.5vw, 42px);
  }
  .page-ban-ca__section-title {
    font-size: 32px;
  }
  .page-ban-ca__feature-title,
  .page-ban-ca__step-title,
  .page-ban-ca__strategy-subtitle,
  .page-ban-ca__promo-title {
    font-size: 20px;
  }
  .page-ban-ca__text-block, .page-ban-ca__hero-description, .page-ban-ca__feature-description, .page-ban-ca__promo-description {
    font-size: 16px;
  }
  .page-ban-ca__btn-primary, .page-ban-ca__btn-secondary {
    padding: 12px 25px;
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
  }
  .page-ban-ca__hero-image img {
    object-fit: contain !important; /* Ensure image is not cropped */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    height: auto !important;
  }
  .page-ban-ca__hero-content {
    margin-top: 20px; /* Adjust margin for mobile */
    padding: 25px 15px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(24px, 7vw, 36px) !important; /* Smaller on mobile */
    line-height: 1.3;
  }
  .page-ban-ca__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .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;
    display: block !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;
    padding-left: 15px;
    padding-right: 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 15px !important;
    font-size: 16px !important;
  }
  .page-ban-ca__hero-cta-buttons,
  .page-ban-ca__cta-center,
  .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: 15px;
    flex-direction: column;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-ban-ca__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-ban-ca__text-block {
    font-size: 15px;
    text-align: left;
  }

  /* Product/Feature Grids */
  .page-ban-ca__features-grid,
  .page-ban-ca__promotions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-ban-ca__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-ban-ca__feature-title {
    font-size: 18px;
  }
  .page-ban-ca__promo-image {
    height: 180px;
  }
  .page-ban-ca__promo-title {
    font-size: 18px;
  }

  /* How To Play & Strategy Sections */
  .page-ban-ca__how-to-play-content,
  .page-ban-ca__strategy-content {
    flex-direction: column;
    gap: 25px;
  }
  .page-ban-ca__how-to-play-image,
  .page-ban-ca__strategy-image {
    max-width: 100%;
    margin-bottom: 0;
  }
  .page-ban-ca__step-title,
  .page-ban-ca__strategy-subtitle {
    font-size: 18px;
  }

  /* FAQ */
  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: 20px; width: 24px; height: 24px; }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer { padding: 0 15px 15px; }
}