.page-fishing-games {
  background-color: #F4F7FB;
  color: #1F2D3D;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-fishing-games__hero-section {
  position: relative;
  background-color: #2F6BFF;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px; /* Space below content */
}

.page-fishing-games__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim the image for better text readability */
}

.page-fishing-games__hero-content {
  text-align: center;
  padding: 20px;
  max-width: 900px;
  color: #FFFFFF;
  margin-top: 30px; /* Space between image and text */
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  /* Using clamp for flexible font sizing, min 2.5rem, preferred 5vw, max 3.5rem */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-fishing-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.page-fishing-games__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-fishing-games__btn--primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-fishing-games__btn--secondary {
  background-color: #6FA3FF;
  color: #FFFFFF;
  border: 1px solid #6FA3FF;
  box-shadow: 0 4px 10px rgba(111, 163, 255, 0.3);
}

.page-fishing-games__btn--secondary:hover {
  background-color: #2F6BFF;
  border-color: #2F6BFF;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-fishing-games__about-section,
.page-fishing-games__features-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__about-section {
  background-color: #F4F7FB;
}

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

.page-fishing-games__text-content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #1F2D3D;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__image-content {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

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

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-fishing-games__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
  padding-left: 60px;
}

.page-fishing-games__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #2F6BFF;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(47, 107, 255, 0.3);
}

.page-fishing-games__step-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: #1F2D3D;
  margin-bottom: 10px;
}

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

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

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

.page-fishing-games__cta-section .page-fishing-games__text-content {
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    padding: 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 30px;
  }
  .page-fishing-games__hero-image {
    filter: brightness(0.7); /* Dim more for smaller screens */
  }
  .page-fishing-games__hero-content {
    margin-top: 20px;
    padding: 10px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-fishing-games__description {
    font-size: 1rem;
  }
  .page-fishing-games__hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .page-fishing-games__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-fishing-games__section-title {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }
  .page-fishing-games__text-content {
    font-size: 0.95rem;
  }
  .page-fishing-games__feature-item {
    padding: 25px;
  }
  .page-fishing-games__feature-title {
    font-size: 1.3rem;
  }
  .page-fishing-games__step-item {
    padding-left: 50px;
  }
  .page-fishing-games__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }
  .page-fishing-games__step-title {
    font-size: 1.2rem;
  }
  .page-fishing-games__cta-actions {
    flex-direction: column;
    align-items: center;
  }

  /* IMPORTANT: Mobile content image overflow fix */
  .page-fishing-games img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small even if max-width: 100% */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .page-fishing-games__section-title {
    font-size: 1.5rem;
  }
  .page-fishing-games__btn {
    width: 90%;
  }
  .page-fishing-games__feature-item {
    padding: 20px;
  }
  .page-fishing-games__feature-title {
    font-size: 1.2rem;
  }
  .page-fishing-games__step-item {
    padding-left: 45px;
  }
  .page-fishing-games__step-item::before {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  .page-fishing-games__step-title {
    font-size: 1.1rem;
  }
}