.page-fishing-games {
  font-family: Arial, sans-serif;
  background-color: #140C0C;
  color: #FFF1E8;
  line-height: 1.6;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #F3C54D;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C61F1F;
  border-radius: 2px;
}

.page-fishing-games__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF1E8;
}

.page-fishing-games__link {
  color: #F3C54D;
  text-decoration: none;
}

.page-fishing-games__link:hover {
  text-decoration: underline;
}

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

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

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background: #F3C54D;
  color: #140C0C;
  transform: translateY(-2px);
}

.page-fishing-games__btn-play {
  background: #C61F1F;
  color: #FFF1E8;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-fishing-games__btn-play:hover {
  background: #E53030;
}

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

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

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

.page-fishing-games__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Bring content up slightly for visual flow */
  position: relative;
  z-index: 2;
  background: rgba(20, 12, 12, 0.85); /* Slightly transparent background for readability */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-title {
  color: #F3C54D;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure H1 doesn't overflow */
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
}

.page-fishing-games__hero-description {
  font-size: 1.15em;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.page-fishing-games__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-fishing-games__intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__intro-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
  background-color: #2A1212;
}

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

.page-fishing-games__feature-item {
  background-color: #140C0C;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E;
}

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

.page-fishing-games__features-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Popular Games Section (Gameshow Grid) */
.page-fishing-games__popular-games-section {
  padding: 60px 0;
}

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

.page-fishing-games__gameshow-card {
  background-color: #2A1212;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #6A1E1E;
}

.page-fishing-games__gameshow-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-fishing-games__gameshow-title {
  color: #F3C54D;
  font-size: 1.2em;
  margin-bottom: 15px;
  padding: 0 15px;
}

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

.page-fishing-games__how-to-play-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__how-to-play-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
}

.page-fishing-games__step-item {
  background-color: #140C0C;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid #C61F1F;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #FFF1E8;
}

.page-fishing-games__step-item strong {
  color: #F3C54D;
  font-size: 1.1em;
}

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

.page-fishing-games__benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__benefits-list {
  list-style: none;
  padding: 0;
}

.page-fishing-games__benefits-item {
  background-color: #2A1212;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid #E53030;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #FFF1E8;
}

.page-fishing-games__benefits-item strong {
  color: #F3C54D;
  font-size: 1.1em;
}

.page-fishing-games__benefits-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #140C0C;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F3C54D;
  cursor: pointer;
  background-color: #2A1212;
  border-bottom: 1px solid #6A1E1E;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid #6A1E1E;
}

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

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #FFF1E8;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 60px 0;
  background-color: #2A1212;
}

.page-fishing-games__cta-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-fishing-games__cta-content {
  position: relative;
  z-index: 2;
  background: rgba(20, 12, 12, 0.7); /* Dark overlay for text readability */
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
}

.page-fishing-games__cta-title {
  color: #F3C54D;
  font-size: 2.2em;
  margin-bottom: 20px;
}

.page-fishing-games__cta-description {
  font-size: 1.1em;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General image styling for content sections */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-fishing-games__intro-content,
  .page-fishing-games__how-to-play-content,
  .page-fishing-games__benefits-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-fishing-games__intro-image,
  .page-fishing-games__how-to-play-image,
  .page-fishing-games__benefits-image {
    order: -1; /* Image first on smaller screens */
  }

  .page-fishing-games__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .page-fishing-games__hero-content {
    margin-top: -30px;
    padding: 20px;
    border-radius: 10px;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
  }

  /* 产品展示图区域 */
  .page-fishing-games__gameshow-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__gameshow-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 通用图片与容器 */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__container,
  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__benefits-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    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__btn-play,
  .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__hero-buttons,
  .page-fishing-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* 其他内容模块 */
  .page-fishing-games__section-title {
    font-size: 2em;
  }

  .page-fishing-games__intro-content,
  .page-fishing-games__how-to-play-content,
  .page-fishing-games__benefits-content {
    grid-template-columns: 1fr;
  }

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

  .page-fishing-games__cta-title {
    font-size: 1.8em;
  }
  .page-fishing-games__cta-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }

  .page-fishing-games__hero-description {
    font-size: 0.95em;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__benefits-item,
  .page-fishing-games__faq-item {
    padding: 15px;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
  }

  .page-fishing-games__cta-title {
    font-size: 1.6em;
  }
}