/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #F4F7FB; /* Page background color */
}

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

.page-ban-ca__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #ffffff; /* White text for dark hero background */
  text-align: center;
  font-weight: bold;
  line-height: 1.2;
  max-width: 90%;
  margin: 0 auto 20px auto;
}

.page-ban-ca__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #1F2D3D;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Brand color gradient */
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

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

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

.page-ban-ca__hero-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  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 {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

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

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.2);
}

/* Introduction Section */
.page-ban-ca__introduction-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

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

/* Game Types Section */
.page-ban-ca__game-types-section {
  padding: 60px 20px;
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-ban-ca__game-types-section .page-ban-ca__section-title,
.page-ban-ca__game-types-section .page-ban-ca__text-block {
  color: #ffffff;
}

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

.page-ban-ca__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  color: #1F2D3D;
  border: 1px solid #D6E2FF;
}

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

.page-ban-ca__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 20px 10px 20px;
  color: #1F2D3D;
}

.page-ban-ca__card-description {
  font-size: 1rem;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-ban-ca__btn-outline {
  background: transparent;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  margin: 0 20px;
}

.page-ban-ca__btn-outline:hover {
  background: #2F6BFF;
  color: #ffffff;
}

/* Guide Section */
.page-ban-ca__guide-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-ban-ca__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-ban-ca__guide-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  border: 1px solid #D6E2FF;
}

.page-ban-ca__guide-step-title {
  font-size: 1.5rem;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-ban-ca__guide-item p {
  margin-bottom: 20px;
}

/* Strategy Section */
.page-ban-ca__strategy-section {
  padding: 60px 20px;
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-ban-ca__strategy-section .page-ban-ca__section-title,
.page-ban-ca__strategy-section .page-ban-ca__text-block {
  color: #ffffff;
}

.page-ban-ca__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-ban-ca__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  border: 1px solid #6FA3FF;
}

.page-ban-ca__strategy-point-title {
  font-size: 1.5rem;
  color: #A5C4FF;
  margin-bottom: 15px;
}

/* Advantages Section */
.page-ban-ca__advantages-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

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

.page-ban-ca__advantage-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  color: #1F2D3D;
  border: 1px solid #D6E2FF;
}

.page-ban-ca__advantage-card .page-ban-ca__card-title {
  color: #2F6BFF;
  margin-top: 0;
}

.page-ban-ca__advantage-card .page-ban-ca__btn-outline {
  margin-top: auto;
  align-self: flex-start;
  margin-left: 0;
  margin-right: 0;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 60px 20px;
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-ban-ca__faq-section .page-ban-ca__section-title {
  color: #ffffff;
}

.page-ban-ca__faq-list {
  margin-top: 40px;
}

.page-ban-ca__faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  color: #1F2D3D;
  border: 1px solid #D6E2FF;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: #1F2D3D;
  list-style: none;
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #2F6BFF;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.8;
  color: #333333;
}

/* Final CTA Section */
.page-ban-ca__cta-final-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-content {
    padding: 15px;
  }

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

  .page-ban-ca__section-title {
    font-size: 2.2rem;
  }

  .page-ban-ca__main-title {
    font-size: 3rem;
  }

  .page-ban-ca__game-grid,
  .page-ban-ca__advantage-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 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;
  }

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Specific 10px top padding for mobile hero */
    padding-bottom: 40px;
  }

  .page-ban-ca__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-ban-ca__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* 按钮与按钮容器 */
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
    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 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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__introduction-section,
  .page-ban-ca__game-types-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__strategy-section,
  .page-ban-ca__advantages-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final-section {
    padding: 30px 0;
  }

  .page-ban-ca__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-ban-ca__text-block {
    font-size: 1rem;
  }

  .page-ban-ca__game-grid,
  .page-ban-ca__advantage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__game-card,
  .page-ban-ca__advantage-card,
  .page-ban-ca__guide-item,
  .page-ban-ca__strategy-item,
  .page-ban-ca__faq-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-ban-ca__card-title,
  .page-ban-ca__guide-step-title,
  .page-ban-ca__strategy-point-title,
  .page-ban-ca__faq-question {
    font-size: 1.1rem;
  }

  .page-ban-ca__card-image {
    height: 180px;
  }

  .page-ban-ca__faq-question {
    padding: 15px 20px;
  }

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

  /* No long gold frame section in this page, so no specific rule needed for it. */
  /* No game carousel or 6-column partners grid in this non-homepage, so no specific rule needed for them. */
  /* No blog masonry or blog carousel in this non-homepage, so no specific rule needed for them. */
}