.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for implied dark body background */
  background-color: transparent; /* Rely on shared body background */
}

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

.page-fishing-games__dark-bg {
  background-color: #1a1a1a; /* Dark background for sections */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff; /* Light background for sections */
  color: #333333;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-fishing-games__hero-content {
  position: relative; /* Ensure content is above the image but not overlapping */
  z-index: 10;
  padding: 0 20px;
  max-width: 800px;
}

.page-fishing-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

/* General Section Titles */
.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #FFFFFF;
}

/* Text Blocks */
.page-fishing-games__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
}

.page-fishing-games__dark-bg .page-fishing-games__text-block {
  color: #f0f0f0;
}

.page-fishing-games__light-bg .page-fishing-games__text-block {
  color: #333333;
}

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

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section .page-fishing-games__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-fishing-games__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__content-grid > div {
  flex: 1;
}

.page-fishing-games__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-fishing-games__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

.page-fishing-games__ordered-list li strong {
  color: #26A9E0;
}

.page-fishing-games__image-block img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
  display: block;
}

/* Feature Cards */
.page-fishing-games__features-section .page-fishing-games__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-fishing-games__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease;
  color: #333333;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  color: #555555;
  padding: 0 15px;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section .page-fishing-games__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-fishing-games__game-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  color: #FFFFFF;
}

.page-fishing-games__game-card .page-fishing-games__card-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-card .page-fishing-games__card-title a:hover {
  color: #26A9E0;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  color: #cccccc;
}

.page-fishing-games__card-button {
  margin-top: 20px;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section .page-fishing-games__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-fishing-games__benefit-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__benefit-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__benefit-description {
  font-size: 1rem;
  color: #555555;
}

/* FAQ Section */
.page-fishing-games__faq-section .page-fishing-games__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  background-color: #26A9E0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Allow clicking summary without issues */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  pointer-events: none; /* Allow clicking summary without issues */
}

.page-fishing-games__faq-answer {
  padding: 15px 20px;
  font-size: 1rem;
  color: #cccccc;
  background-color: #333333;
}

/* Final CTA Section */
.page-fishing-games__cta-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #26A9E0;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    max-height: 500px;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-fishing-games__section-title {
    font-size: 2rem;
  }

  .page-fishing-games__content-grid {
    flex-direction: column;
  }

  .page-fishing-games__ordered-list,
  .page-fishing-games__text-block {
    text-align: left;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card {
    padding-bottom: 20px;
  }

  .page-fishing-games__card-image {
    height: 180px;
  }

  .page-fishing-games__benefits-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

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

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

  .page-fishing-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 产品展示图区域 - 通用卡片布局 */
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card {
    margin-left: 15px !important;
    margin-right: 15px !important;
    width: calc(100% - 30px) !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__card-image {
    height: 160px;
  }

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

  .page-fishing-games__container,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__text-block,
  .page-fishing-games__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 按钮与按钮容器 */
  .page-fishing-games__cta-button,
  .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;
    text-align: center;
  }

  .page-fishing-games__hero-buttons,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* 其他内容模块 */
  .page-fishing-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-fishing-games__text-block,
  .page-fishing-games__ordered-list li,
  .page-fishing-games__card-description,
  .page-fishing-games__benefit-description,
  .page-fishing-games__faq-answer p {
    font-size: 0.95rem;
  }

  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-fishing-games__benefit-item {
    padding: 20px;
  }

  .page-fishing-games__faq-answer {
    padding: 10px 15px;
  }
}

/* Contrast Fixes */
.page-fishing-games p, .page-fishing-games li {
  color: inherit; /* Ensure paragraphs and list items inherit color from parent section */
}

.page-fishing-games__card {
  background: #ffffff; /* Default for light cards */
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__dark-bg .page-fishing-games__card {
  background: #2a2a2a; /* Darker background for cards in dark sections */
  color: #f0f0f0;
  border: 1px solid #444444;
}

.page-fishing-games__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-fishing-games__dark-bg .page-fishing-games__btn-secondary {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__dark-bg .page-fishing-games__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
}