.page-fishing-games {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small padding, body handles main offset */
  padding-bottom: 40px;
  background-color: #2F6BFF;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image */
  margin-bottom: 20px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.page-fishing-games__intro-text {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #D6E2FF;
}

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

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

.page-fishing-games__features-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background-color: #F4F7FB;
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 40px;
  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: #2F6BFF;
  border-radius: 2px;
}

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

.page-fishing-games__feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  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.15);
}

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

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

.page-fishing-games__popular-games-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background-color: #F4F7FB;
}

.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: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #D6E2FF;
}

.page-fishing-games__game-card-title {
  font-size: 1.6rem;
  margin: 20px 15px 10px;
  font-weight: 600;
}

.page-fishing-games__game-card-title a {
  color: #2F6BFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-card-title a:hover {
  color: #6FA3FF;
}

.page-fishing-games__game-card-description {
  font-size: 0.95rem;
  color: #1F2D3D;
  padding: 0 15px 20px;
  line-height: 1.6;
}

.page-fishing-games__game-card-button {
  display: inline-block;
  padding: 10px 25px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__game-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

.page-fishing-games__call-to-action-section {
  background-color: #2F6BFF;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__cta-content {
  max-width: 800px;
}

.page-fishing-games__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-fishing-games__cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #D6E2FF;
}

.page-fishing-games__cta-button--large {
  padding: 16px 35px;
  font-size: 1.2rem;
}

.page-fishing-games__cta-image-wrapper {
  width: 100%;
  max-width: 600px;
}

.page-fishing-games__cta-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

  .page-fishing-games__main-title {
    font-size: 2.2rem;
  }

  .page-fishing-games__intro-text {
    font-size: 1rem;
  }

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

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

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

  .page-fishing-games__game-card-image {
    height: 200px;
  }

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

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

  .page-fishing-games__cta-button--large {
    font-size: 1.1rem;
    padding: 14px 30px;
  }

  /* Ensure content images don't overflow */
  .page-fishing-games img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content area does not cause horizontal scroll */
  .page-fishing-games {
    overflow-x: hidden;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    max-width: 100%;
  }
  .page-fishing-games__hero-image {
    border-radius: 0;
  }
  .page-fishing-games__game-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}