/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  overflow: hidden;
  text-align: center;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-fishing-games__hero-content {
  padding: 40px 20px;
  background: rgba(1, 116, 57, 0.9); /* Primary color with transparency */
  color: #ffffff;
  text-align: center;
  margin-top: -80px; /* Overlap slightly for visual effect, but not over image */
  position: relative;
  z-index: 1;
  border-radius: 10px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* General Section Styles */
.page-fishing-games__section {
  padding: 60px 0;
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #017439; /* Primary color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #FFFF00; /* Yellow for titles on dark background */
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-fishing-games__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-fishing-games__dark-bg {
  background-color: #017439; /* Primary color background */
  color: #ffffff;
}

.page-fishing-games__text-center {
  text-align: center;
}

/* Game Showcase */
.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__game-title {
  font-size: 1.5rem;
  color: #FFFF00;
  margin: 20px 15px 10px 15px;
}

.page-fishing-games__game-description {
  font-size: 0.95rem;
  color: #f0f0f0;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

/* Guide Section */
.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__step-title {
  font-size: 1.4rem;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__step-card p {
  color: #ffffff;
  font-size: 1rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Strategy Section */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__strategy-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FFFF00;
}

.page-fishing-games__strategy-item h3 {
  font-size: 1.3rem;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-fishing-games__strategy-item p {
  color: #f0f0f0;
  font-size: 1rem;
}

/* Promotions Section */
.page-fishing-games__promotions-banner {
  background: #017439;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.page-fishing-games__promo-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promo-content {
  width: 50%;
  padding: 30px;
  text-align: left;
}

.page-fishing-games__promo-title {
  font-size: 2rem;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-fishing-games__promo-text {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 25px;
}

.page-fishing-games__promo-list {
  list-style: disc;
  color: #ffffff;
  padding-left: 25px;
  margin-bottom: 40px;
  font-size: 1rem;
}

.page-fishing-games__promo-list li {
  margin-bottom: 10px;
}

/* Safety Section */
.page-fishing-games__safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__safety-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__safety-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__safety-item h3 {
  font-size: 1.4rem;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-fishing-games__safety-item p {
  color: #f0f0f0;
  font-size: 1rem;
}

.page-fishing-games__support-link {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #FFFF00;
  cursor: pointer;
  background: rgba(1, 116, 57, 0.8); /* Primary color background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-question::marker {
  display: none;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding-bottom: 80px;
}

.page-fishing-games__conclusion-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background: #E51A1A;
  border-color: #E51A1A;
  color: #ffffff;
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #FFFF00; /* Yellow for secondary buttons */
  border: 2px solid #FFFF00;
}

.page-fishing-games__btn-secondary:hover {
  background: #FFFF00;
  color: #017439; /* Primary color on hover */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
  }

  .page-fishing-games__promo-image {
    width: 40%;
  }

  .page-fishing-games__promo-content {
    width: 60%;
    padding: 25px;
  }

  .page-fishing-games__promo-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px !important;
  }

  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }

  .page-fishing-games__hero-content {
    padding: 30px 15px !important;
    margin-top: -40px !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    max-width: unset !important;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    margin-bottom: 15px !important;
  }

  .page-fishing-games__hero-description {
    font-size: 1rem !important;
    margin-bottom: 25px !important;
  }

  .page-fishing-games__hero-buttons,
  .page-fishing-games__conclusion-buttons,
  .page-fishing-games__support-link {
    flex-direction: column !important;
    gap: 15px !important;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 产品展示图区域 */
  .page-fishing-games__game-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 15px;
  }

  .page-fishing-games__game-image {
    height: 180px !important;
  }

  /* 通用图片与容器 */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__step-card,
  .page-fishing-games__strategy-item,
  .page-fishing-games__safety-item,
  .page-fishing-games__faq-item,
  .page-fishing-games__promotions-banner,
  .page-fishing-games__promo-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 按钮与按钮容器 */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games 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 !important;
    padding-right: 15px !important;
  }

  /* 其他内容模块 */
  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem) !important;
    margin-bottom: 20px !important;
  }

  .page-fishing-games__section-description,
  .page-fishing-games__text-block,
  .page-fishing-games__promo-text,
  .page-fishing-games__promo-list li,
  .page-fishing-games__strategy-item p,
  .page-fishing-games__safety-item p,
  .page-fishing-games__faq-answer p {
    font-size: 0.95rem !important;
  }

  .page-fishing-games__promotions-banner {
    flex-direction: column !important;
  }

  .page-fishing-games__promo-image,
  .page-fishing-games__promo-content {
    width: 100% !important;
    padding: 20px !important;
    text-align: center !important;
  }

  .page-fishing-games__promo-list {
    padding-left: 40px !important;
  }

  .page-fishing-games__guide-steps,
  .page-fishing-games__strategy-list,
  .page-fishing-games__safety-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 15px;
  }

  .page-fishing-games__section {
    padding: 40px 0 !important;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px !important;
    font-size: 1.05rem !important;
  }

  .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }
}