.page-fishing-games {
  color: #ffffff; /* Text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 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;
  background-color: #000000; /* Ensure dark background */
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
  margin-bottom: 20px;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
  background: #9c0606;
  border-color: #9c0606;
}

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

.page-fishing-games__btn-secondary:hover {
  background: #005f2e;
  border-color: #005f2e;
}

.page-fishing-games__btn-tertiary {
  background: transparent;
  color: #FFFF00; /* Highlight text for action */
  border: 1px solid #FFFF00;
}

.page-fishing-games__btn-tertiary:hover {
  background: rgba(255, 255, 0, 0.1);
  color: #FFFFFF;
}

/* General Section Styling */
.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #FFFF00; /* Highlight important titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-fishing-games__dark-section {
  background-color: #017439; /* Brand color as background */
  padding: 60px 0;
  color: #ffffff;
}

.page-fishing-games__about-section {
  padding: 60px 0;
}

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

.page-fishing-games__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-fishing-games__feature-text {
  font-size: 1em;
  line-height: 1.5;
}

/* Gameshow Section */
.page-fishing-games__gameshow-section {
  padding: 60px 0;
  background-color: #000000; /* Dark background */
}

.page-fishing-games__games-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.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-fishing-games__game-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

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

.page-fishing-games__step-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-fishing-games__step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFF00;
  color: #017439;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-fishing-games__step-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-fishing-games__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-fishing-games__cta-buttons--center {
  margin-top: 50px;
  text-align: center;
}

/* Download Section */
.page-fishing-games__download-section {
  padding: 60px 0;
  background-color: #000000;
}

.page-fishing-games__download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__download-image {
  flex: 1 1 400px;
  max-width: 50%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.page-fishing-games__download-info {
  flex: 1 1 400px;
  max-width: 50%;
}

.page-fishing-games__download-subtitle {
  font-size: 2em;
  color: #FFFF00;
  margin-bottom: 20px;
}

.page-fishing-games__download-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__download-list li {
  background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFFF00"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #FFFF00;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
  max-height: 500px; /* Adjust as needed */
  transition: max-height 0.5s ease-in;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 60px 0;
  text-align: center;
  background-color: #017439;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image {
    max-height: 500px;
  }
  .page-fishing-games__download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__download-image,
  .page-fishing-games__download-info {
    max-width: 100%;
  }
  .page-fishing-games__download-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .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 15px;
  }

  /* 产品展示图区域 */
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__game-card {
    padding-bottom: 15px;
  }
  .page-fishing-games__game-image {
    height: 180px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.5em, 6vw, 2em) !important;
  }
  .page-fishing-games__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__about-section,
  .page-fishing-games__gameshow-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__download-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 40px 0;
  }

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

  /* 按钮与按钮容器 */
  .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;
    padding-right: 15px;
  }
  .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;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* 其他内容模块 */
  .page-fishing-games__feature-item,
  .page-fishing-games__step-item {
    padding: 25px 20px;
    padding-top: 55px;
  }
  .page-fishing-games__step-number {
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
  .page-fishing-games__download-list li {
    font-size: 1em;
  }
  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }
}