.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default 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.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  z-index: 2;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #ffffff;
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-fishing-games__btn-primary:hover {
  background-color: #005f2f;
  border-color: #005f2f;
}

.page-fishing-games__btn-secondary {
  background-color: #C30808; /* Login/Register button color */
  color: #FFFF00; /* Login/Register font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

/* Video Section */
.page-fishing-games__video-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 1000px; /* Max width for video */
  margin: 0 auto;
  background-color: #000;
  border-radius: 10px;
}

.page-fishing-games__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-fishing-games__advantage-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-fishing-games__advantage-card:hover {
  transform: translateY(-5px);
}

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

.page-fishing-games__advantage-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__advantage-text {
  font-size: 1em;
  color: #555555;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 80px 0;
  background-color: #017439; /* Dark background */
  color: #ffffff;
}

.page-fishing-games__popular-games-section .page-fishing-games__section-title,
.page-fishing-games__popular-games-section .page-fishing-games__section-description {
  color: #ffffff;
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-fishing-games__game-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-fishing-games__game-title a {
  color: #FFFF00; /* Yellow for game titles on dark background */
  text-decoration: none;
}

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

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

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

.page-fishing-games__how-to-play-list {
  list-style: none;
  counter-reset: how-to-play-counter;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__how-to-play-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}