.page-fishing-games {
  font-family: Arial, sans-serif;
  color: #1F2D3D;
  background-color: #F4F7FB;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for the first content block */
}

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

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  max-height: 600px; /* Limit height on desktop */
}

.page-fishing-games__hero-content {
  text-align: center;
  padding: 20px;
  color: #FFFFFF;
  max-width: 800px;
  margin-top: -80px; /* Adjust to slightly overlap the image bottom */
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.8) 0%, rgba(47, 107, 255, 1) 100%);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__hero-cta {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #2F6BFF;
  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: #6FA3FF;
  border-radius: 2px;
}

.page-fishing-games__introduction-section, 
.page-fishing-games__why-choose-section, 
.page-fishing-games__popular-games-section, 
.page-fishing-games__how-to-play-section, 
.page-fishing-games__promotions-section, 
.page-fishing-games__faq-section {
  padding: 60px 0;
}

.page-fishing-games__text-content {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #1F2D3D;
}

/* Why Choose Section */
.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-item {
  background-color: #FFFFFF;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px 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-icon {
  width: 100%; /* Ensure image fills container */
  max-width: 250px; /* Max size for icon-like image */
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

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

/* Popular Games Section */
.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-fishing-games__game-tile {
  display: block;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.page-fishing-games__game-tile:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__game-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* How-To-Play Section */
.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;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF;
  position: relative;
  padding-top: 80px; /* Space for step number */
}

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

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

.page-fishing-games__step-description {
  font-size: 1rem;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-fishing-games__step-cta {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__step-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  text-align: center;
  background-color: #FFFFFF;
  padding: 80px 0;
  border-top: 1px solid #D6E2FF;
}

.page-fishing-games__promotions-cta {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promotions-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1F2D3D;
  padding: 20px 30px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #F4F7FB;
  border-bottom: 1px solid #D6E2FF;
  margin: 0;
}

.page-fishing-games__faq-question::after {
  content: '+';
  font-size: 1.8rem;
  font-weight: normal;
  color: #2F6BFF;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.is-active .page-fishing-games__faq-question::after {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-fishing-games__faq-item.is-active .page-fishing-games__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
  padding: 20px 30px;
}

.page-fishing-games__faq-answer p {
  font-size: 1rem;
  color: #1F2D3D;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 30px;
  }

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

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

@media (max-width: 849px) {
  .page-fishing-games__hero-section {
    flex-direction: column;
    padding-bottom: 20px;
  }

  .page-fishing-games__hero-image {
    max-height: 400px;
    aspect-ratio: 16/10;
  }

  .page-fishing-games__hero-content {
    margin-top: 0; /* Remove overlap for mobile */
    width: 100%;
    border-radius: 0; /* No border-radius on mobile */
    padding: 20px;
    box-shadow: none;
    background: #2F6BFF; /* Solid background on mobile */
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

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

  .page-fishing-games__step-item {
    padding-top: 30px;
    padding-left: 70px;
  }

  .page-fishing-games__step-item::before {
    top: 20px;
    left: 20px;
  }

  .page-fishing-games__hero-cta {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 15px;
  }

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

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

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

  .page-fishing-games__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-item.is-active .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure all images within .page-fishing-games are responsive */
  .page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 549px) {
  .page-fishing-games__hero-image {
    aspect-ratio: 4/3;
  }

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

  .page-fishing-games__hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

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

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

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

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

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

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