/* General styles for the fishing-games page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #FFF6D6); /* Default text color for dark background */
  background-color: var(--background-color, #0A0A0A); /* Default background color */
}

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFD86A 0%, #DDA11D 100%);
  border-radius: 2px;
}

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

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  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 */
  max-height: 600px;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 30px;
  padding: 0 15px;
}

.page-fishing-games__hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-small,
.page-fishing-games__btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-fishing-games__btn-secondary {
  background: #111111;
  color: #FFD36B;
  border: 2px solid #FFD36B;
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background: #3A2A12;
  color: #FFD86A;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 211, 107, 0.4);
}

.page-fishing-games__btn-play {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

.page-fishing-games__btn-play:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.page-fishing-games__btn-small {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 5px;
  margin-top: 15px;
}

.page-fishing-games__btn-small:hover {
  opacity: 0.9;
}

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 20px;
  border-radius: 10px;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
  background-color: var(--background-color, #0A0A0A);
  color: var(--text-main-color, #FFF6D6);
}

.page-fishing-games__dark-section {
  background-color: var(--background-color, #0A0A0A);
  color: var(--text-main-color, #FFF6D6);
}

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

.page-fishing-games__feature-card {
  background-color: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 211, 107, 0.15);
}

.page-fishing-games__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 10px;
}

.page-fishing-games__feature-text {
  font-size: 16px;
  color: #c0c0c0;
}

/* Games Section */
.page-fishing-games__games-section {
  padding: 60px 0;
  background-color: var(--background-color, #0A0A0A);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 211, 107, 0.15);
}

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

.page-fishing-games__game-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main-color, #FFF6D6);
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-text {
  font-size: 15px;
  color: #c0c0c0;
  padding: 0 15px;
  flex-grow: 1;
}

.page-fishing-games__btn-play {
  margin: 20px auto;
  display: block;
}

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

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

.page-fishing-games__step-card {
  background-color: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  border: 3px solid #0A0A0A;
  box-shadow: 0 5px 15px rgba(255, 216, 106, 0.3);
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main-color, #FFF6D6);
  margin-top: 30px;
  margin-bottom: 10px;
}

.page-fishing-games__step-text {
  font-size: 16px;
  color: #c0c0c0;
  flex-grow: 1;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: var(--background-color, #0A0A0A);
}

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

.page-fishing-games__promo-card {
  background-color: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 211, 107, 0.15);
}

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

.page-fishing-games__promo-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main-color, #FFF6D6);
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__promo-text {
  font-size: 15px;
  color: #c0c0c0;
  padding: 0 15px 20px;
}

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

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

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color, #3A2A12);
  overflow: hidden;
  background: var(--card-bg-color, #111111);
}
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: #1a1a1a;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color, #FFF6D6);
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  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: #1a1a1a;
  border-radius: 0 0 5px 5px;
  color: #c0c0c0;
}

/* Contact CTA Section */
.page-fishing-games__contact-cta {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-color, #0A0A0A);
}

.page-fishing-games__contact-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 20px;
}

.page-fishing-games__contact-description {
  font-size: 18px;
  color: #c0c0c0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: clamp(32px, 4.5vw, 55px);
  }
  .page-fishing-games__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
  .page-fishing-games__section-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  /* HERO主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 30px;
  }
  .page-fishing-games__hero-image {
    object-fit: contain !important; /* Mobile: contain, no cropping */
    aspect-ratio: unset !important;
    height: auto !important;
    max-height: 400px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(28px, 8vw, 45px);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 25px;
  }
  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* 产品展示图区域 - Games Grid */
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    overflow-x: hidden;
  }
  .page-fishing-games__game-card {
    margin: 0 auto;
    max-width: 400px;
  }
  .page-fishing-games__games-section .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-fishing-games__section-title {
    font-size: clamp(24px, 7vw, 36px);
    padding: 0 15px;
    line-height: 1.3;
  }
  .page-fishing-games__section-description {
    font-size: 15px;
    padding: 0 15px;
    margin-bottom: 30px;
  }
  .page-fishing-games__features-grid, .page-fishing-games__guide-steps, .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-card, .page-fishing-games__step-card, .page-fishing-games__promo-card {
    margin: 0 auto;
    max-width: 400px;
  }

  /* 通用图片与容器 */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__container,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__box {
    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-play,
  .page-fishing-games__btn-small,
  .page-fishing-games__btn-large,
  .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: 12px 15px !important;
    font-size: 16px !important;
  }
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-bottom,
  .page-fishing-games__guide-steps .page-fishing-games__step-card,
  .page-fishing-games__contact-cta .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 15px !important;
    flex-direction: column !important;
  }
  .page-fishing-games__btn-small {
    margin-left: auto;
    margin-right: auto;
  }

  /* 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;
  }
}

/* Color Contrast Adjustments (as per body background detection) */
/* Assuming body background is dark from shared.css: var(--background-color, #0A0A0A) */
.page-fishing-games {
  color: var(--text-main-color, #FFF6D6);
}
.page-fishing-games__card,
.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__step-card,
.page-fishing-games__promo-card,
details.page-fishing-games__faq-item {
  background-color: var(--card-bg-color, #111111);
  color: var(--text-main-color, #FFF6D6);
}
.page-fishing-games__btn-primary {
  color: #111111; /* Dark text on bright button */
}
.page-fishing-games__btn-secondary {
  color: #FFD36B; /* Bright text on dark button */
}
.page-fishing-games__feature-text,
.page-fishing-games__game-text,
.page-fishing-games__step-text,
.page-fishing-games__promo-text,
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  color: #c0c0c0;
}

/* Ensure images don't have filters */
.page-fishing-games img {
  filter: none; /* Explicitly disable any potential filters */
}