.page-fishing-games {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-fishing-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as per instruction */
  background-color: #2F6BFF;
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  text-align: center;
  color: #FFFFFF;
}

.page-fishing-games__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp as per instruction */
}

.page-fishing-games__hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #D6E2FF;
}

.page-fishing-games__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-fishing-games__about-game,
.page-fishing-games__game-features,
.page-fishing-games__how-to-play,
.page-fishing-games__cta-section {
  padding: 60px 0;
}

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

.page-fishing-games__section-title--centered {
  text-align: center;
}

.page-fishing-games__text-content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #1F2D3D;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__text-content--centered {
  text-align: center;
}

.page-fishing-games__game-features {
  background-color: #FFFFFF;
  padding-top: 80px;
  padding-bottom: 80px;
}

.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-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency in cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
}

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

.page-fishing-games__how-to-play {
  background-color: #F4F7FB;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto 0;
}

.page-fishing-games__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
}

.page-fishing-games__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  margin-right: 20px;
}

.page-fishing-games__step-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1F2D3D;
  margin: 0;
}

.page-fishing-games__step-text strong {
  color: #000000;
}

.page-fishing-games__cta-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  padding: 18px 40px;
  border-radius: 10px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

.page-fishing-games__cta-button--small {
  margin-top: 30px;
  padding: 15px 30px;
  font-size: 1.1rem;
}

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

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

.page-fishing-games__cta-section .page-fishing-games__text-content {
  color: #D6E2FF;
  margin-bottom: 40px;
}

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

  .page-fishing-games__hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

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

  .page-fishing-games__about-game,
  .page-fishing-games__game-features,
  .page-fishing-games__how-to-play,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

  .page-fishing-games__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card {
    padding: 20px;
  }

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

  .page-fishing-games__feature-title {
    font-size: 1.2rem;
  }

  .page-fishing-games__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-fishing-games__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-fishing-games__cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 40px;
  }

  /* Critical: prevent content images from overflowing */
  .page-fishing-games__hero-image,
  .page-fishing-games__feature-image,
  .page-fishing-games__about-game img,
  .page-fishing-games__how-to-play img,
  .page-fishing-games__cta-section img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size is still met */
    min-height: 200px;
  }

  .page-fishing-games__text-content {
    font-size: 1rem;
  }
}