/* style/fishing-games.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-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;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Default text color for dark background */
  background-color: var(--background-color);
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  padding-bottom: 40px;
  background-color: var(--deep-green-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-fishing-games__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main-color);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__description {
  font-size: 1.1em;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  min-width: 180px;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: 2px solid var(--glow-color);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(87, 227, 141, 0.8);
}

.page-fishing-games__btn-secondary {
  background: var(--card-bg);
  color: var(--text-secondary-color);
  border: 2px solid var(--border-color);
}

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: var(--border-color);
  color: var(--text-main-color);
}

/* General Section Styles */
.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.6);
}

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

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

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

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

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

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for feature images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-fishing-games__feature-card p {
  font-size: 0.95em;
  color: var(--text-secondary-color);
  line-height: 1.6;
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
  padding: 60px 0;
}

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

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

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 180px; /* Fixed height for game images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-fishing-games__game-card p {
  font-size: 0.9em;
  color: var(--text-secondary-color);
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: 120px;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

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

.page-fishing-games__strategy-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-fishing-games__strategy-card .page-fishing-games__card-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__strategy-card p {
  font-size: 1em;
  color: var(--text-secondary-color);
  line-height: 1.6;
}

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

.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

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

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for promo images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-fishing-games__promo-card p {
  font-size: 1em;
  color: var(--text-secondary-color);
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

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

.page-fishing-games__guide-list li {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  text-align: center;
}

.page-fishing-games__guide-list .page-fishing-games__list-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__guide-list p {
  font-size: 1em;
  color: var(--text-secondary-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  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 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-question:hover {
  background-color: var(--border-color);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--gold-color);
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary-color);
  line-height: 1.7;
  background-color: var(--card-bg);
}

/* Hide answer by default for non-details elements */
.page-fishing-games__faq-item:not([open]) .page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  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; /* Arbitrary large value for smooth transition */
  padding-top: 20px;
  padding-bottom: 20px;
  transition: max-height 0.3s ease-in, padding 0.3s ease-in;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--deep-green-color);
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: var(--text-main-color);
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* --- Responsive Styles --- */

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

  .page-fishing-games__container {
    padding: 0 15px;
  }

  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

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

  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__main-title {
    font-size: 2.2em;
    margin-bottom: 10px;
  }

  .page-fishing-games__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* 按钮与按钮容器 */
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .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;
    min-width: unset;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-fishing-games__btn-small {
    padding: 10px 15px;
    font-size: 0.85em;
  }

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