.page-fishing-games {
  background-color: #F5F7FA;
  color: #333333;
  padding-bottom: 50px;
}

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

.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px;
  background-color: #100224; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for large images */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content {
  padding: 40px 20px 60px;
  max-width: 900px;
  z-index: 1; /* Ensure content is above any background effects */
  position: relative;
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  max-width: 100%; /* Ensures H1 doesn't overflow */
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
}

.page-fishing-games__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.85);
}

.page-fishing-games__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-fishing-games__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-fishing-games__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
}

.page-fishing-games__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-fishing-games__btn--secondary {
  background-color: transparent;
  border: 2px solid #FF5A4F;
  color: #FF5A4F;
}

.page-fishing-games__btn--secondary:hover {
  background-color: #FF5A4F;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-fishing-games__btn--small {
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 6px;
}

.page-fishing-games__intro-section,
.page-fishing-games__games-showcase,
.page-fishing-games__features-section,
.page-fishing-games__cta-section {
  padding: 60px 0;
}

.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #E53935;
  line-height: 1.3;
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333333;
}

.page-fishing-games__games-showcase .page-fishing-games__section-description {
    margin-bottom: 60px;
}

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

.page-fishing-games__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__game-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-fishing-games__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-fishing-games__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FF5A4F;
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

.page-fishing-games__cta-section {
  background-color: #E53935;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__cta-section .page-fishing-games__section-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-fishing-games__hero-content {
    padding: 30px 15px 40px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

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

  .page-fishing-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn {
    width: 100%;
    max-width: 300px;
  }

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

  .page-fishing-games__section-description {
    font-size: 0.95rem;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__features-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__game-image,
  .page-fishing-games__feature-icon {
    max-width: 100%; /* Ensure images don't overflow on mobile */
    height: auto;
  }

  /* Mobile image constraint for all img elements within .page-fishing-games */
  .page-fishing-games img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-fishing-games__btn {
    font-size: 0.95rem;
    padding: 12px 20px;
  }

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

  .page-fishing-games__feature-icon {
    width: 180px;
    height: 180px;
  }
}