.page-fishing-games {
  padding-top: 10px;
  background-color: #100224; /* Adjusted from #017439 for deeper background as per WOW88 style */
  color: #FFFFFF;
  font-family: 'Roboto', sans-serif; /* Roboto气质 */
}

.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column; /* Ensure image above text on mobile first, then adjust for desktop */
  align-items: center;
  text-align: center;
  padding: 20px 15px 40px;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  max-width: 1200px; /* Example max width for desktop */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

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

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  /* clamp for responsive font size, avoiding fixed large values */
  font-size: clamp(1.8rem, 4vw, 3rem);
}

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

.page-fishing-games__hero-cta-button {
  display: inline-block;
  background: linear-gradient(to right, #ff9500, #ff5e3a); /* Orange-red gradient CTA */
  color: #FFFFFF;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 94, 58, 0.4);
  min-width: 200px;
}

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

.page-fishing-games__about-section,
.page-fishing-games__games-showcase,
.page-fishing-games__features-section,
.page-fishing-games__cta-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 30px;
  color: #FFFFFF;
  line-height: 1.3;
}

.page-fishing-games__section-title--gradient {
  background: linear-gradient(to right, #FFD700, #FFA500); /* Gold to Orange gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-fishing-games__section-description {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

.page-fishing-games__about-more-button {
  display: inline-block;
  background-color: #017439; /* Main color */
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__about-more-button:hover {
  background-color: #02944b;
}

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

.page-fishing-games__game-tile {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__game-tile img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page-fishing-games__game-tile:hover img {
  transform: scale(1.05);
}

.page-fishing-games__button-wrapper {
  margin-top: 40px;
}

.page-fishing-games__view-all-games-button {
  display: inline-block;
  background-color: #83a1f2; /* Blue pill button style */
  color: #FFFFFF;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-fishing-games__view-all-games-button:hover {
  background-color: #688cec;
}

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

.page-fishing-games__feature-card {
  background-color: #1c0d36; /* Slightly lighter dark background for cards */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-fishing-games__cta-section {
  background-color: #017439; /* Main brand color for CTA background */
  padding: 60px 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

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

.page-fishing-games__cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 20px;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  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);
  margin: 0 10px;
  min-width: 180px;
}

.page-fishing-games__cta-button--register {
  background-color: #C30808; /* Custom Register color */
  color: #FFFF00; /* Custom Register font color */
}

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

.page-fishing-games__cta-button--login {
  background-color: #C30808; /* Custom Login color */
  color: #FFFF00; /* Custom Login font color */
}

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

/* Media Queries for responsiveness */
@media (min-width: 850px) {
  .page-fishing-games__hero-section {
    flex-direction: column; /* Still column, but image can be wider */
  }
  .page-fishing-games__hero-image {
    margin-bottom: 40px;
  }
  .page-fishing-games__main-title {
    font-size: 3.5rem;
  }
  .page-fishing-games__section-title {
    font-size: 3rem;
  }
  .page-fishing-games__game-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  }
  .page-fishing-games__features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-image,
  .page-fishing-games__game-tile img,
  .page-fishing-games__feature-icon {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .page-fishing-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 2 columns on tablet */
  }
  .page-fishing-games__features-grid {
    grid-template-columns: 1fr; /* 1 column on mobile for features */
  }
  .page-fishing-games__cta-button {
    margin: 10px 0;
    width: 100%;
    max-width: 300px;
  }
  .page-fishing-games__hero-cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-fishing-games__cta-section .page-fishing-games__cta-button-group {
    flex-direction: column;
  }
}

@media (max-width: 549px) {
  .page-fishing-games__game-grid {
    grid-template-columns: 1fr; /* 1 column on mobile for games */
  }
  .page-fishing-games__hero-image,
  .page-fishing-games__game-tile img,
  .page-fishing-games__feature-icon {
    max-width: 100%;
    height: auto;
  }
  .page-fishing-games__game-tile img {
    height: 250px; /* Adjust height for single column on small mobile */
  }
}

/* Ensure images in content sections are not too small */
.page-fishing-games__about-section img,
.page-fishing-games__games-showcase img,
.page-fishing-games__features-section img,
.page-fishing-games__cta-section img {
  min-width: 200px;
  min-height: 200px;
}

/* Specific overrides for game-tile img to ensure min-height while maintaining aspect ratio */
.page-fishing-games__game-tile img {
  min-height: 200px;
  height: auto; /* Allow auto height to maintain aspect ratio on responsive */
}

/* Ensure color contrast for all text */
.page-fishing-games p,
.page-fishing-games h1,
.page-fishing-games h2,
.page-fishing-games h3,
.page-fishing-games a {
  color: #FFFFFF; /* Default to white for dark background */
}

.page-fishing-games__hero-description,
.page-fishing-games__section-description,
.page-fishing-games__feature-description,
.page-fishing-games__cta-description {
  color: #e0e0e0; /* Slightly off-white for body text */
}

.page-fishing-games__hero-cta-button,
.page-fishing-games__about-more-button,
.page-fishing-games__view-all-games-button,
.page-fishing-games__cta-button--register,
.page-fishing-games__cta-button--login {
  color: #FFFFFF; /* Ensure button text is white */
}

.page-fishing-games__cta-button--register,
.page-fishing-games__cta-button--login {
  color: #FFFF00; /* Custom yellow for login/register button text */
}