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

.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;
  text-align: center;
  padding-top: 10px; /* Small padding, body handles --header-offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden; /* Ensure no overflow */
}

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

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

.page-fishing-games__hero-content {
  max-width: 800px;
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF; /* Ensure H1 is white */
}

.page-fishing-games__description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #E0E0E0;
}

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

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

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  color: #1F2D3D;
}

.page-fishing-games__features-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

.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: #FFFFFF;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

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

.page-fishing-games__how-to-play-section {
  padding: 60px 0;
  background-color: #E0E9F5; /* A lighter blueish background */
}

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

.page-fishing-games__steps-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  text-align: left;
}

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

.page-fishing-games__steps-list p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-fishing-games__steps-list p strong {
  color: #000000;
}

.page-fishing-games__cta-wrapper {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-fishing-games__cta-button--secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: none;
}

.page-fishing-games__cta-button--secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tips-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

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

.page-fishing-games__tips-list li {
  background-color: #FFFFFF;
  border-left: 5px solid #2F6BFF;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.6;
  color: #000000;
}

.page-fishing-games__closing-text {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-top: 40px;
  color: #1F2D3D;
  font-weight: 500;
}

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

  .page-fishing-games__hero-content {
    padding: 0 15px;
  }

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

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

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

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section {
    padding: 40px 0;
  }

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

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

  .page-fishing-games__feature-text {
    font-size: 0.95rem;
  }

  .page-fishing-games__steps-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .page-fishing-games__steps-list p {
    font-size: 1rem;
  }

  .page-fishing-games__cta-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__tips-list li {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  /* Mobile content area image overflow prevention */
  .page-fishing-games img {
    max-width: 100%;
    height: auto;
  }
}