/* 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; /* Body background from shared.css */
  --text-main: #F2FFF6;
  --text-secondary: #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); /* Default text color for the page */
  background-color: var(--background-color); /* Ensure consistency if not set by body */
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 700px; /* Limit height for aesthetic */
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-fishing-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
  /* Removed direct overlay of text on image as per strict rule */
  /* This content will now sit below the image visually, or be styled to appear separate if hero-image is background */
  /* Re-evaluating based on "强制上图下文、禁止在主图上叠字" */
  position: static; /* Reset position */
  transform: none; /* Reset transform */
  margin-top: 20px; /* Add margin to separate from image */
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  padding: 30px;
  border-radius: 10px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: var(--gold-color);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.7);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section {
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
}

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

.page-fishing-games__section-title {
  font-size: 2.5rem;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-fishing-games__content-wrapper {
  text-align: left;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
}

.page-fishing-games__content-wrapper p {
  margin-bottom: 20px;
}

.page-fishing-games__content-wrapper strong {
  color: var(--gold-color);
}

.page-fishing-games__highlight-text {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

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

.page-fishing-games__benefit-card,
.page-fishing-games__strategy-card,
.page-fishing-games__promo-card,
.page-fishing-games__step-card,
.page-fishing-games__support-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__benefit-card p,
.page-fishing-games__strategy-card p,
.page-fishing-games__promo-card p,
.page-fishing-games__step-card p,
.page-fishing-games__support-item p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

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

.page-fishing-games__game-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-fishing-games__game-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--divider-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__item-title {
  font-size: 1.3rem;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__item-title + p {
  color: var(--text-secondary);
}

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

.page-fishing-games__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background: var(--primary-color);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-fishing-games__btn-small:hover {
  background-color: var(--secondary-color);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  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;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--gold-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
}

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--text-main);
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-fishing-games__faq-answer p {
  margin-top: 15px;
}

/* Details element specific styling */
.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__faq-item summary {
  list-style: none;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2rem;
  }

  .page-fishing-games__card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }

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

  .page-fishing-games__section-title {
    font-size: 1.8rem;
  }

  .page-fishing-games__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__benefits-grid,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__promo-cards,
  .page-fishing-games__guide-steps,
  .page-fishing-games__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__content-wrapper p,
  .page-fishing-games__benefit-card p,
  .page-fishing-games__strategy-card p,
  .page-fishing-games__promo-card p,
  .page-fishing-games__step-card p,
  .page-fishing-games__support-item p,
  .page-fishing-games__faq-answer p {
    font-size: 0.9rem;
  }

  .page-fishing-games__card-image {
    height: 180px;
  }

  .page-fishing-games__game-list {
    grid-template-columns: 1fr;
  }

  /* Mobile responsive for images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile responsive for containers with images/content */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__content-wrapper,
  .page-fishing-games__benefits-grid,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__promo-cards,
  .page-fishing-games__guide-steps,
  .page-fishing-games__support-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Specific adjustment for hero content to ensure it's not absolutely positioned */
  .page-fishing-games__hero-content {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 20px;
    padding: 20px 15px;
  }

  /* Buttons within flex containers on mobile */
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .page-fishing-games__cta-buttons > * {
    width: 100%;
  }
}