/* Base styles for the page content, assuming body background is dark from shared.css */
.page-fishing-games {
  font-family: Arial, sans-serif;
  color: #FFF3E6; /* Text Main */
  background: #0D0E12; /* Background */
  line-height: 1.6;
  padding-bottom: 50px; /* Ensure space above footer */
}

/* Section common styles */
.page-fishing-games__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFF3E6; /* Text Main */
  position: relative;
  padding-bottom: 10px;
}

.page-fishing-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFA53A, #FF8C1A);
  margin: 0 auto;
  margin-top: 10px;
  border-radius: 2px;
}

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: #0D0E12; /* Match body background */
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover for desktop */
  aspect-ratio: 16/9; /* Maintain aspect ratio */
  border-radius: 10px;
}

.page-fishing-games__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  z-index: 2;
  margin-top: -100px; /* Pull content up over image a bit for better flow, but not overlap text on image */
  background: rgba(13, 14, 18, 0.8); /* Slightly transparent background for readability */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 4vw, 56px); /* Responsive font size */
  font-weight: 800;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.6);
}

.page-fishing-games__main-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #FFF3E6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 600px; /* Limit width */
  margin: 0 auto;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text break */
  text-align: center;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(255, 165, 58, 0.1);
  color: #FFB04D;
  border-color: #FFB04D;
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.4);
  transform: translateY(-2px);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
  margin-top: 15px;
}

.page-fishing-games__btn-small:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
}

.page-fishing-games__text-link {
  color: #FFA53A;
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__text-link:hover {
  text-decoration: underline;
  color: #FFB04D;
}

/* General images */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games__image-inline {
  margin: 30px auto;
  display: block;
  border: 1px solid #A84F0C; /* Border */
  box-shadow: 0 0 20px rgba(255, 165, 58, 0.3); /* Glow */
}

/* List styles */
.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-fishing-games__list li {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  position: relative;
  padding-left: 45px;
}

.page-fishing-games__list li::before {
  content: '✔';
  color: #FFA53A;
  font-size: 20px;
  position: absolute;
  left: 15px;
  top: 18px;
}

/* Content wrapper for main text blocks */
.page-fishing-games__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

.page-fishing-games__content-wrapper p {
  margin-bottom: 15px;
  color: #FFF3E6;
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card,
.page-fishing-games__step-card,
.page-fishing-games__tip-card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensure button stays at bottom */
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #A84F0C;
  border-radius: 0; /* No border-radius for card images to fill top */
}

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  margin: 20px 15px 10px;
}

.page-fishing-games__card-description {
  font-size: 15px;
  color: #FFF3E6; /* Text Main */
  padding: 0 15px;
  flex-grow: 1; /* Allow description to take available space */
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
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;
  background: #FF8C1A; /* Primary color for summary */
  color: #FFF3E6;
  font-weight: bold;
}
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: #FFA53A; /* Lighter hover */
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6; /* Ensure text color is light */
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF3E6;
  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: #0D0E12; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}

/* Conclusion CTA buttons */
.page-fishing-games__cta-buttons--bottom {
  margin-top: 50px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(30px, 5vw, 48px);
  }
  .page-fishing-games__main-description {
    font-size: clamp(15px, 2.5vw, 18px);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-fishing-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
  }
  .page-fishing-games__hero-image {
    object-fit: contain !important; /* Mobile: contain, not cover */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio */
    height: auto !important; /* Allow height to adjust */
    width: 100% !important;
  }
  .page-fishing-games__hero-content {
    margin-top: -60px; /* Adjust overlap */
    padding: 25px 15px;
    border-radius: 10px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(28px, 6vw, 40px);
    margin-bottom: 10px;
  }
  .page-fishing-games__main-description {
    font-size: clamp(14px, 3vw, 16px);
    margin-bottom: 25px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 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,
  .page-fishing-games__content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* 按钮与按钮容器 */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-small,
  .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;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column !important; /* Ensure vertical stacking for main CTAs */
  }

  /* 产品展示图区域 (for games-grid/promotions-grid/steps-grid/tips-grid) */
  .page-fishing-games__games-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__tips-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-fishing-games__card-image {
    height: 180px; /* Adjust height for mobile */
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-fishing-games__section-title {
    text-align: center;
    font-size: clamp(24px, 7vw, 30px);
  }
  .page-fishing-games__section-description {
    text-align: center;
    font-size: clamp(14px, 3.5vw, 16px);
  }
  .page-fishing-games__content-wrapper {
    text-align: left; /* Adjust text alignment for readability */
    padding: 0 10px;
  }
  .page-fishing-games__list {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__list li {
    padding-left: 35px;
  }
  .page-fishing-games__list li::before {
    left: 10px;
  }

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

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    margin-top: -40px;
    padding: 20px 10px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(24px, 8vw, 36px);
  }
  .page-fishing-games__main-description {
    font-size: clamp(13px, 4vw, 15px);
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
  }
}