.page-fishing-games {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

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

.page-fishing-games__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-fishing-games__hero-image-container {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.page-fishing-games__hero-content-area {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  background-color: #17191F;
  border-radius: 8px;
  transform: translateY(-50px); /* Slightly overlap for visual effect */
  position: relative;
  z-index: 1;
  border: 1px solid #A84F0C;
  box-shadow: 0 0 20px rgba(255, 176, 77, 0.3);
}

.page-fishing-games__hero-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: #FF8C1A;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-fishing-games__button--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  box-shadow: 0 4px 15px rgba(255, 176, 77, 0.4);
}

.page-fishing-games__button--primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  transform: translateY(-2px);
}

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

.page-fishing-games__button--secondary:hover {
  background-color: #FF8C1A;
  color: #17191F;
  transform: translateY(-2px);
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FF8C1A;
  border-radius: 2px;
}

.page-fishing-games__text-content {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.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: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 176, 77, 0.3);
}

.page-fishing-games__feature-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
  aspect-ratio: 4 / 3; /* Example aspect ratio */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  filter: none; /* No CSS filter */
}

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

.page-fishing-games__feature-description {
  font-size: 0.95rem;
  color: #FFF3E6;
}

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

.page-fishing-games__step-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
  font-size: 1.3rem;
  color: #FF8C1A;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__step-description {
  font-size: 0.9rem;
  color: #FFF3E6;
}

.page-fishing-games__call-to-action {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 176, 77, 0.2);
}

.page-fishing-games__cta-text {
  font-size: 1.3rem;
  color: #FFA53A;
  margin-bottom: 25px;
  font-weight: bold;
}

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

  .page-fishing-games__hero-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

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

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

  .page-fishing-games__button {
    width: 100%;
    max-width: 250px;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }

  .page-fishing-games__text-content,
  .page-fishing-games__feature-description,
  .page-fishing-games__step-description {
    font-size: 0.9rem;
    text-align: left;
  }

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

  .page-fishing-games__feature-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 150px; /* Adjusted min height for mobile */
  }

  .page-fishing-games__cta-text {
    font-size: 1.1rem;
  }

  .page-fishing-games__call-to-action {
    padding: 30px 20px;
  }

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

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

  /* Ensure content area images do not cause horizontal scroll */
  .page-fishing-games img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 549px) {
  .page-fishing-games__hero-content-area {
    transform: translateY(-20px);
    padding: 20px 10px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(1.3rem, 7vw, 2.2rem);
  }
  .page-fishing-games__cta-text {
    font-size: 1rem;
  }
}