.page-fishing-games {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color */
  background-color: #FFFFFF; /* Background color from prompt */
}

/* Container for content, similar to a boxed layout */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add some padding on smaller screens */
  box-sizing: border-box;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  text-align: center;
  padding-bottom: 40px; /* Space below content */
  background-color: #000000; /* Dark background for contrast with image */
  color: #FFFFFF;
}

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

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

.page-fishing-games__hero-content {
  padding: 20px 15px;
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above image but not overlapping */
  z-index: 2; /* Ensure text is above any potential background layers */
}

.page-fishing-games__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Use clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #FFFFFF; /* White for contrast on dark background */
}

.page-fishing-games__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #E0E0E0; /* Lighter white for readability */
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-fishing-games__cta-button--primary {
  background-color: #26A9E0; /* Main color */
  color: #FFFFFF;
}

.page-fishing-games__cta-button--primary:hover {
  background-color: #1a8cc4; /* Slightly darker */
  transform: translateY(-2px);
}

.page-fishing-games__cta-button--secondary {
  background-color: #EA7C07; /* Login color for secondary action */
  color: #FFFFFF;
  font-size: 1rem;
  padding: 10px 20px;
}

.page-fishing-games__cta-button--secondary:hover {
  background-color: #c96a06; /* Slightly darker */
  transform: translateY(-2px);
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  color: #26A9E0; /* Main color for section titles */
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
  background-color: #f8f8f8; /* Light background for contrast */
}

.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;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-icon {
  width: 100%; /* Must be >= 200px */
  max-width: 400px; /* Example size, adjust as needed */
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4 / 3; /* Example aspect ratio */
  filter: none; /* Ensure no filter is applied */
}

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

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-fishing-games__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 2; /* Example aspect ratio for game cards */
  filter: none; /* Ensure no filter is applied */
}

.page-fishing-games__game-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #26A9E0;
  padding: 0 15px;
}

.page-fishing-games__game-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666666;
  padding: 0 15px 20px 15px;
  flex-grow: 1; /* Make description fill available space */
}

.page-fishing-games__game-card .page-fishing-games__cta-button {
  margin: 0 15px 20px 15px;
  width: calc(100% - 30px);
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-fishing-games__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

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

.page-fishing-games__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

.page-fishing-games__faq-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 10px;
}

.page-fishing-games__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-fishing-games__hero-content {
    padding: 20px 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }
  .page-fishing-games__description {
    font-size: 1rem;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__steps-list {
    grid-template-columns: 1fr; /* Single column layout for smaller screens */
  }
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__faq-item {
    padding: 20px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__step-title,
  .page-fishing-games__faq-question {
    font-size: 1.2rem;
  }
  .page-fishing-games__feature-text,
  .page-fishing-games__game-description,
  .page-fishing-games__step-description,
  .page-fishing-games__faq-answer {
    font-size: 0.9rem;
  }
  .page-fishing-games__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-fishing-games__game-card .page-fishing-games__cta-button {
    width: calc(100% - 40px); /* Adjust padding */
    margin: 0 20px 20px 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-image,
  .page-fishing-games__feature-icon,
  .page-fishing-games__game-image {
    max-width: 100%;
    height: auto;
  }
  .page-fishing-games__container {
    padding: 0 12px;
  }
  .page-fishing-games {
    max-width: 100%;
    overflow-x: hidden;
  }
  /* Ensure all content images do not cause horizontal scroll */
  .page-fishing-games__features-section img,
  .page-fishing-games__popular-games-section img {
    max-width: 100%;
    height: auto;
  }
}