/* 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: #ffffff; /* Default body background */
}

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

.page-ban-ca__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-ban-ca__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__text-center {
  text-align: center;
}

.page-ban-ca__text-block p {
  margin-bottom: 1em;
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding if body handles header offset */
  padding-bottom: 50px;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  text-align: center;
}

.page-ban-ca__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca__main-title {
  font-size: 3em;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for main title */
}

.page-ban-ca__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background-color: #C30808; /* Custom color for primary button */
  color: #FFFF00; /* Custom color for primary button text */
  border: 2px solid #C30808;
}

.page-ban-ca__btn-primary:hover {
  background-color: #e00b0b;
  color: #ffffff;
}

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

.page-ban-ca__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #00562c;
}

/* Intro Section */
.page-ban-ca__intro-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-ban-ca__feature-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-ban-ca__feature-list li {
  margin-bottom: 10px;
}

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

/* Download Section */
.page-ban-ca__download-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-ban-ca__download-section .page-ban-ca__section-title,
.page-ban-ca__download-section .page-ban-ca__section-description {
  color: #ffffff;
}

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

.page-ban-ca__process-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__process-card .page-ban-ca__card-title {
  color: #017439;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.page-ban-ca__process-card .page-ban-ca__step-list {
  list-style: decimal;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.page-ban-ca__process-card .page-ban-ca__step-list li {
  margin-bottom: 10px;
}

.page-ban-ca__benefits-list {
  list-style: disc;
  margin-left: 20px;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__benefits-list li {
  margin-bottom: 10px;
  color: #ffffff;
}

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

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

.page-ban-ca__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-ban-ca__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-ban-ca__card-title {
  font-size: 1.5em;
  color: #017439;
  padding: 15px 20px 10px;
  font-weight: bold;
}

.page-ban-ca__card-text {
  padding: 0 20px 15px;
  color: #555555;
  flex-grow: 1;
}

.page-ban-ca__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 20px 20px;
  border: 2px solid #017439;
  color: #017439;
  background-color: transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

.page-ban-ca__how-to-play-section .page-ban-ca__section-title,
.page-ban-ca__how-to-play-section .page-ban-ca__section-description {
  color: #ffffff;
}

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

.page-ban-ca__instruction-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-ban-ca__instruction-card .page-ban-ca__card-title {
  color: #017439;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.page-ban-ca__instruction-card .page-ban-ca__card-text,
.page-ban-ca__instruction-card .page-ban-ca__strategy-list {
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-ban-ca__instruction-card .page-ban-ca__strategy-list {
  list-style: disc;
  margin-left: 20px;
}

.page-ban-ca__instruction-card .page-ban-ca__strategy-list li {
  margin-bottom: 8px;
}

.page-ban-ca__game-trial-frame {
  width: 100%;
  border: none;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-ban-ca__promo-card .page-ban-ca__card-image {
  height: 200px; /* Adjust height for promo cards */
}

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

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 60px 0;
  background-color: #017439;
  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;
  color: #333333;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #017439;
  border-bottom: 1px solid #eee;
  list-style: none;
}

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

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  background-color: #f0f0f0;
  border-bottom: none;
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-ban-ca__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
}

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

.page-ban-ca__conclusion-section .page-ban-ca__section-title,
.page-ban-ca__conclusion-section .page-ban-ca__section-description {
  color: #ffffff;
}

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

.page-ban-ca__cta-buttons,
.page-ban-ca__button-group,
.page-ban-ca__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }

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

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

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

  /* 按钮与按钮容器 */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-outline,
  .page-ban-ca a[class*="button"],
  .page-ban-ca a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-ban-ca__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: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-ban-ca__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-ban-ca__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* 通用图片与容器 */
  .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,
  .page-ban-ca__process-card,
  .page-ban-ca__game-card,
  .page-ban-ca__promo-card,
  .page-ban-ca__instruction-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Download section */
  .page-ban-ca__process-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Game Types Section */
  .page-ban-ca__game-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__card-image {
    height: 180px; /* Adjust height for mobile */
  }

  /* How to Play Section */
  .page-ban-ca__instruction-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__game-trial-frame {
    height: 350px;
  }

  /* Promotions Section */
  .page-ban-ca__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__promo-card .page-ban-ca__card-image {
    height: 150px;
  }

  /* FAQ Section */
  .page-ban-ca__faq-item {
    margin-bottom: 10px;
  }

  .page-ban-ca__faq-question {
    padding: 15px;
    font-size: 1em;
  }

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

  .page-ban-ca__conclusion-section {
    padding: 40px 0;
  }
}