.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-main);
  padding-bottom: 40px; /* Space for content below image */
  overflow: hidden;
  background-color: var(--deep-green);
}

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 15px;
  margin-top: -50px; /* Pull content slightly up over the image bottom */
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

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

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

.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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--border-color);
  color: #ffffff;
  box-shadow: 0 0 15px var(--glow);
}

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

.page-fishing-games__featured-games-section,
.page-fishing-games__guide-section,
.page-fishing-games__strategies-section,
.page-fishing-games__security-section,
.page-fishing-games__conclusion-section {
  padding: 60px 0;
}

.page-fishing-games__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main);
  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-color: var(--glow);
  border-radius: 2px;
}

.page-fishing-games__sub-title {
  font-size: clamp(1.4em, 3vw, 2em);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--gold);
}

.page-fishing-games__introduction-section p,
.page-fishing-games__featured-games-section p,
.page-fishing-games__guide-section p,
.page-fishing-games__strategies-section p,
.page-fishing-games__promotions-section p,
.page-fishing-games__security-section p,
.page-fishing-games__conclusion-section p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 1.05em;
}

.page-fishing-games__benefits-list,
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-fishing-games__benefits-list li,
.page-fishing-games__tips-list li {
  background-color: var(--deep-green);
  border-left: 5px solid var(--glow);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: var(--text-main);
  font-size: 1.05em;
}

.page-fishing-games__benefits-list li strong,
.page-fishing-games__tips-list li strong {
  color: var(--gold);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
  border: 1px solid var(--divider);
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--gold);
  margin: 20px 20px 10px 20px;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  padding: 0 20px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin: 20px;
  width: calc(100% - 40px);
  text-align: center;
  font-size: 1em;
  padding: 12px 20px;
}

.page-fishing-games__faq-list {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  background-color: var(--deep-green);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--card-bg);
  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-item[open] .page-fishing-games__faq-question {
  background-color: var(--deep-green);
  color: var(--gold);
}

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

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

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

/* 智能文字颜色选择器 - 基于背景色 */
.page-fishing-games__dark-bg {
  color: var(--text-main); /* Deep green background, use light text */
}

.page-fishing-games__light-bg {
  color: #333333; /* Light background, use dark text (e.g., for card-image text if any) */
  background-color: #ffffff; /* Example if a light bg is needed */
}

/* Ensure all text within main content is readable */
.page-fishing-games p,
.page-fishing-games li {
  color: var(--text-secondary);
}

.page-fishing-games h1,
.page-fishing-games h2,
.page-fishing-games h3,
.page-fishing-games h4,
.page-fishing-games h5,
.page-fishing-games h6 {
  color: var(--text-main);
}

/* Specific overrides for contrast */
.page-fishing-games__hero-content h1 {
  color: var(--gold);
}

.page-fishing-games__hero-content p {
  color: var(--text-secondary);
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  color: var(--gold);
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  color: var(--text-secondary);
}


/* Responsive adjustments */
@media (max-width: 992px) {
  .page-fishing-games__hero-content {
    margin-top: -30px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 3em);
  }
  .page-fishing-games__description {
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6em, 5vw, 2.5em);
  }
  .page-fishing-games__sub-title {
    font-size: clamp(1.2em, 4vw, 1.8em);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 20px;
  }
  .page-fishing-games__hero-content {
    margin-top: -20px;
    padding: 0 10px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em);
  }
  .page-fishing-games__description {
    font-size: 0.95em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: calc(100% - 30px);
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__container {
    padding: 0 10px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.4em, 6vw, 2em);
    margin-bottom: 30px;
  }
  .page-fishing-games__sub-title {
    font-size: clamp(1.1em, 5vw, 1.5em);
  }
  .page-fishing-games__introduction-section,
  .page-fishing-games__featured-games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }
  .page-fishing-games__benefits-list li,
  .page-fishing-games__tips-list li,
  .page-fishing-games__faq-question {
    padding: 15px 18px;
    font-size: 1em;
  }
  .page-fishing-games__faq-answer {
    padding: 0 18px 15px 18px;
  }
  .page-fishing-games__game-cards-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__container,
  .page-fishing-games__introduction-section,
  .page-fishing-games__featured-games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-fishing-games__game-card .page-fishing-games__btn-primary {
    width: calc(100% - 40px) !important;
  }
}