/* style/fishing-games.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --bg-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-fishing-games {
  font-family: Arial, sans-serif;
  color: var(--text-main-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  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: var(--gold-color);
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
  text-align: center;
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--deep-green-color);
  overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: var(--text-main-color);
  margin-bottom: 30px;
  line-height: 1.7;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--deep-green-color);
  transform: translateY(-3px);
}

.page-fishing-games__introduction-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.page-fishing-games__dark-section {
  background-color: var(--deep-green-color);
}

.page-fishing-games__advantages-section,
.page-fishing-games__strategy-section,
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

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

.page-fishing-games__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-fishing-games__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__card-description {
  font-size: 1em;
  color: var(--text-secondary-color);
}

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

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

.page-fishing-games__game-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-fishing-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
}

.page-fishing-games__btn-play {
  display: inline-block;
  padding: 10px 25px;
  background: var(--btn-gradient);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background 0.3s ease;
  box-sizing: border-box;
}

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

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

.page-fishing-games__strategy-item {
  background-color: #ffffff; /* Light background for contrast */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Dark text for light background */
  text-align: left;
}

.page-fishing-games__strategy-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__strategy-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__strategy-description {
  font-size: 1em;
  color: #555555;
}

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

.page-fishing-games__promo-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__promo-description {
  font-size: 0.95em;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
}

.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color);
  transition: all 0.3s ease;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--gold-color);
  user-select: none;
  list-style: none;
}

.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;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-secondary-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
  max-height: 500px; /* Adjust as needed for content length */
  padding: 0 25px 20px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  color: var(--gold-color);
}

.page-fishing-games__cta-container {
  text-align: center;
  padding: 50px 20px;
}

.page-fishing-games__cta-title {
  font-size: 2.5em;
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__cta-description {
  font-size: 1.2em;
  color: var(--text-main-color);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-fishing-games__grid,
  .page-fishing-games__game-list,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-fishing-games__container,
  .page-fishing-games__hero-content,
  .page-fishing-games__cta-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body handles --header-offset, small top padding */
  }

  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

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

  .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;
    padding-right: 15px;
  }

  .page-fishing-games__hero-cta,
  .page-fishing-games__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games img,
  .page-fishing-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__strategy-item,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 1em;
  }

  .page-fishing-games__card-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__strategy-title {
    font-size: 1.3em;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
  }

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

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

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

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