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

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

.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--primary-color);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1; /* Ensure content is above image if any overlap happens due to layout issues, though it should be below */
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: var(--button-gradient);
  color: #FFFFFF;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px var(--glow-color);
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

.page-fishing-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--glow-color);
}

.page-fishing-games__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--text-black);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-fishing-games__introduction-section,
.page-fishing-games__features-section,
.page-fishing-games__game-showcase-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__faq-section {
  padding: 60px 0;
}

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

.page-fishing-games__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

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

.page-fishing-games__feature-description {
  font-size: 0.95em;
  color: var(--text-main);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency, will be responsive */
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 20px 15px 10px;
}

.page-fishing-games__game-card-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-card-title a:hover {
  color: var(--secondary-color);
}

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

.page-fishing-games__game-card-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: var(--button-gradient);
  color: #FFFFFF;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 15px 20px;
  box-shadow: 0 2px 10px var(--glow-color);
}

.page-fishing-games__game-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--glow-color);
}

.page-fishing-games__why-choose-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__list-item {
  background-color: var(--card-bg);
  padding: 20px 25px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  font-size: 1.05em;
}

.page-fishing-games__list-item strong {
  color: var(--primary-color);
}

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

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

.page-fishing-games__faq-question {
  font-size: 1.2em;
  color: var(--text-black);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__faq-answer {
  font-size: 1em;
  color: var(--text-main);
  text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-fishing-games__hero-content {
    padding: 30px 20px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 2.8em); /* Use clamp for H1 */
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 8px;
  }
  .page-fishing-games__hero-image {
    max-height: 400px; /* Adjust hero image height for smaller screens */
  }
  .page-fishing-games__hero-content {
    padding: 20px 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 25px;
    min-width: 180px;
  }
  .page-fishing-games__section-title {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-fishing-games__introduction-section,
  .page-fishing-games__features-section,
  .page-fishing-games__game-showcase-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section {
    padding: 40px 0;
  }
  .page-fishing-games__paragraph {
    font-size: 0.95em;
  }
  .page-fishing-games__feature-item,
  .page-fishing-games__list-item,
  .page-fishing-games__faq-item {
    padding: 20px;
  }
  .page-fishing-games__game-card-image {
    height: 200px;
  }
  .page-fishing-games__game-card-title {
    font-size: 1.2em;
  }
  .page-fishing-games__game-card-description {
    font-size: 0.85em;
  }

  /* Critical: prevent content images from overflowing */
  .page-fishing-games img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
  .page-fishing-games__section-title {
    font-size: 1.4em;
  }
  .page-fishing-games__cta-button {
    min-width: unset;
    width: 100%;
    box-sizing: border-box;
  }
  .page-fishing-games__hero-content {
    padding: 15px 10px;
  }
  .page-fishing-games__game-card-image {
    height: 180px;
  }
  .page-fishing-games__game-card-button {
    width: calc(100% - 30px);
    box-sizing: border-box;
  }
}