/* Base styles for the page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #F5F7FA;
  line-height: 1.6;
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__dark-section {
  background-color: #E53935;
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #F5F7FA;
  color: #333333;
}

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__section-description {
  color: #ffffff;
}

.page-fishing-games__section-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #666;
}

.page-fishing-games__dark-section .page-fishing-games__section-description {
  color: #f0f0f0;
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(229, 57, 53, 0.85); /* Semi-transparent background for readability */
  margin-top: -100px; /* Overlap slightly for design */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-fishing-games__intro-text {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-fishing-games__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Introduction Section */
.page-fishing-games__introduction-section .page-fishing-games__article-body {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  font-size: 17px;
  color: #333333;
}

.page-fishing-games__introduction-section .page-fishing-games__article-body p {
  margin-bottom: 1em;
}

.page-fishing-games__introduction-section .page-fishing-games__article-body strong {
  color: #E53935;
}

/* Games Section */
.page-fishing-games__games-section {
  background-color: #F5F7FA;
}

.page-fishing-games__products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__product-card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 10px;
}

.page-fishing-games__card-text {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How-To-Play Section */
.page-fishing-games__how-to-play-section {
  background-color: #E53935;
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title,
.page-fishing-games__how-to-play-section .page-fishing-games__section-description {
  color: #ffffff;
}

.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.page-fishing-games__step-card .page-fishing-games__card-image {
  height: 150px;
  margin-bottom: 15px;
}

.page-fishing-games__step-card .page-fishing-games__card-title {
  color: #E53935;
  font-size: 20px;
  margin-bottom: 10px;
}

.page-fishing-games__step-card .page-fishing-games__card-text {
  color: #333333;
  font-size: 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Advantages Section */
.page-fishing-games__advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__advantage-card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 180px;
}

.page-fishing-games__advantage-card .page-fishing-games__card-title {
  font-size: 20px;
  color: #333333;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-fishing-games__advantage-card .page-fishing-games__card-title::before {
  content: '✔';
  color: #E53935;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 0;
}

.page-fishing-games__advantage-card .page-fishing-games__card-text {
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
}

/* CTA Download Section */
.page-fishing-games__cta-download-section {
  background-color: #E53935;
  padding: 80px 0;
}

.page-fishing-games__cta-download-section .page-fishing-games__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.page-fishing-games__cta-content {
  flex: 1;
}

.page-fishing-games__cta-download-section .page-fishing-games__section-title {
  text-align: left;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-fishing-games__cta-download-section .page-fishing-games__section-description {
  text-align: left;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-fishing-games__cta-image-wrapper {
  flex-shrink: 0;
  width: 400px;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: #F5F7FA;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-fishing-games__faq-item summary.page-fishing-games__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-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E53935;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  text-align: left;
  color: #333333;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
  margin: 0;
}

/* General Image styles */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-fishing-games__container {
    padding: 20px 30px;
  }
  .page-fishing-games__products-grid,
  .page-fishing-games__advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-fishing-games__steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-fishing-games__hero-content {
    margin-top: -50px;
  }
  .page-fishing-games__cta-download-section .page-fishing-games__container {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__cta-download-section .page-fishing-games__section-title,
  .page-fishing-games__cta-download-section .page-fishing-games__section-description {
    text-align: center;
  }
  .page-fishing-games__cta-image-wrapper {
    width: 80%;
    max-width: 500px;
    margin-top: 30px;
  }
}

@media (max-width: 849px) {
  .page-fishing-games__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px;
  }
  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }
  .page-fishing-games__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
  .page-fishing-games__hero-content {
    margin-top: -30px;
    padding: 30px 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(28px, 8vw, 36px);
  }
  .page-fishing-games__intro-text {
    font-size: 16px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* 产品展示图区域 */
  .page-fishing-games__products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    overflow-x: hidden;
  }
  .page-fishing-games__product-card {
    padding: 15px;
  }
  .page-fishing-games__card-image {
    height: 150px;
  }
  .page-fishing-games__card-title {
    font-size: 18px;
  }
  .page-fishing-games__card-text {
    font-size: 14px;
  }

  /* How-To-Play Section */
  .page-fishing-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__step-card .page-fishing-games__card-image {
    height: 120px;
  }
  .page-fishing-games__step-card .page-fishing-games__card-title {
    font-size: 18px;
  }

  /* Advantages Section */
  .page-fishing-games__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__advantage-card {
    padding: 20px;
    min-height: auto;
  }
  .page-fishing-games__advantage-card .page-fishing-games__card-title {
    font-size: 18px;
    padding-left: 20px;
  }
  .page-fishing-games__advantage-card .page-fishing-games__card-title::before {
    font-size: 18px;
  }
  .page-fishing-games__advantage-card .page-fishing-games__card-text {
    font-size: 14px;
  }

  /* CTA Download Section */
  .page-fishing-games__cta-download-section .page-fishing-games__container {
    padding: 30px 15px;
  }
  .page-fishing-games__cta-image-wrapper {
    width: 100%;
    max-width: 100%;
  }

  /* FAQ Section */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
  .page-fishing-games__faq-qtext { font-size: 15px; }
  .page-fishing-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }

  /* 通用图片与容器 */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-fishing-games__section-title {
    font-size: clamp(24px, 7vw, 30px);
  }
  .page-fishing-games__article-body {
    padding: 0 10px;
  }
  .page-fishing-games__article-body p {
    font-size: 15px;
  }
}