.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f9f9f9; /* Light background for the main content area */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-fishing-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #017439;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-fishing-games__section-title--white {
  color: #FFFFFF;
}

.page-fishing-games__section-title--white::after {
  background-color: #FFFFFF;
}

.page-fishing-games__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-fishing-games__text-block--white {
  color: #FFFFFF;
}

.page-fishing-games a {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #e0f2f1; /* Light background for hero section */
  overflow: hidden;
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95); /* Semi-transparent white background for text readability */
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #C30808; /* Use specific color for login/register */
  color: #FFFF00; /* Use specific color for login/register font */
  text-decoration: none;
  border-radius: 50px;
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(195, 8, 8, 0.4);
  border: none;
}

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

/* Introduction Section */
.page-fishing-games__introduction {
  background-color: #ffffff;
}

/* Game Lobbies Section */
.page-fishing-games__game-lobbies {
  background-color: #017439; /* Primary color as background */
  color: #FFFFFF;
}

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

.page-fishing-games__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}