.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff; /* Explicitly set for content area */
}

/* --- 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;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #017439, #FFFFFF); /* Brand primary to white */
  overflow: hidden; /* Ensure content doesn't overflow */
}

.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;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  filter: none; /* Ensure no image filters are applied */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-fishing-games__hero-title {
  font-size: 2.8em;
  color: #017439; /* Primary color for title */
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: #333333;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(195, 8, 8, 0.4);
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

/* --- General Section Styling --- */
.page-fishing-games__section {
  padding: 80px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games__section:last-of-type {
  border-bottom: none;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__dark-bg {
  background-color: #017439; /* Primary color as background */
  color: #ffffff; /* White text for dark background */
}

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

.page-fishing-games__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  color: inherit; /* Inherit color from parent section */
}

.page-fishing-games__subsection-title {
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
  font-weight: 600;
}

.page-fishing-games p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.page-fishing-games__text-center {
  text-align: center;
  margin-top: 30px;
}

/* --- Cards Grid --- */
.page-fishing-games__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__card {
  background: #ffffff;
  border-radius: 10px;
  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;
  border: 1px solid #e0e0e0;
  color: #333333; /* Dark text for light card background */
}

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

.page-fishing-games__card img {
  width: 100%;
  height: 200px; /* Fixed height for consistent card image display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
  max-width: 100%; /* Responsive image */
  filter: none; /* Ensure no image filters are applied */
}

.page-fishing-games__card-title {
  font-size: 1.4em;
  color: #017439; /* Primary color for card title */
  margin-bottom: 15px;
  font-weight: 600;
}

/* --- Lists --- */
.page-fishing-games__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  padding: 0;
}

.page-fishing-games__list li {
  margin-bottom: 0.5em;
  font-size: 1.05em;
}

.page-fishing-games__list li strong {
  color: #017439;
}

/* --- Buttons --- */
.page-fishing-games__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}