/* 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: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-fishing-games {
  background-color: var(--background-color);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  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 {
  padding: 60px 0;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-fishing-games p {
  margin-bottom: 1em;
  color: var(--text-secondary);
}

.page-fishing-games strong {
  color: var(--text-main);
}

.page-fishing-games a {
  color: var(--gold-color);
  text-decoration: none;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles padding-top */
  overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
  position: relative; /* Ensure content is above image */
  z-index: 10;
  padding: 0 20px;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 */
}

.page-fishing-games__intro-text {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-fishing-games__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-fishing-games__feature-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-icon {
  width: 400px; /* Default large size */
  height: 300px; /* Default large size */
  object-fit: contain;
  margin-bottom: 20px;
}

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

/* Guide Steps */
.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-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-fishing-games__step-title {
  font-size: 1.6em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

/* Benefits List */
.page-fishing-games__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__benefit-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-fishing-games__benefit-icon {
  width: 200px; /* Min size for content images */
  height: 150px; /* Min size for content images */
  object-fit: contain;
  margin-bottom: 20px;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--border-color);
}

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

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 1.05em;
  color: var(--text-secondary);
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
}

/* Text Colors */
.page-fishing-games__text-main {
  color: var(--text-main);
}

.page-fishing-games__text-secondary {
  color: var(--text-secondary);
}

/* Background Colors */
.page-fishing-games__dark-bg {
  background-color: var(--background-color);
}

.page-fishing-games__card {
  background-color: var(--card-bg);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

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

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust clamp for mobile H1 */
  }

  .page-fishing-games__intro-text {
    font-size: 1em;
  }

  .page-fishing-games__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  /* Ensure images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all containers are responsive */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__benefit-item,
  .page-fishing-games__faq-item,
  .page-fishing-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-fishing-games__cta-button,
  .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;
    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 {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  /* Adjust image display size for benefit icons to meet 200px rule. */
  /* As per the rule: '凡选择器能选到 .page-fishing-games 下任意 img 的规则，均视为内容区图片，其 width/height/max-width/max-height 均不得使显示尺寸小于 200px'. */
  /* So, these 'icons' must be displayed at least 200x200px on mobile. */
  .page-fishing-games__benefit-icon {
    width: 200px !important;
    
  }

  .page-fishing-games__feature-icon {
    width: 200px !important;
    height: 150px !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important;
  }

}