:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f9fa; /* Lighter background for sections */
  --background-dark: #26A9E0; /* Primary color as dark background */
  --button-login: #EA7C07;
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark); /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: var(--secondary-color); /* Matches body background if not overridden by shared */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  background-color: var(--background-light); /* Default light background for sections */
}

.page-fishing-games__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-fishing-games__light-bg {
  background-color: var(--secondary-color); /* White background */
  color: var(--text-dark);
}

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: var(--text-light);
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title::after {
  background-color: var(--secondary-color);
}

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

.page-fishing-games__text-center {
  text-align: center;
}

/* 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); /* Ensure header offset */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Gradient background */
  min-height: 70vh; /* Ensure hero section has a decent height */
}

.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;
  max-width: 800px; /* Limit image width to avoid being too large */
}

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

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

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-light); /* White text on hero gradient */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box; /* Include padding/border in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
  background: var(--button-login); /* Login color as primary CTA */
  color: var(--text-light);
  border: 2px solid var(--button-login);
  box-shadow: 0 4px 15px rgba(234, 124, 7, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: #D46F00; /* Darkened #EA7C07 */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(234, 124, 7, 0.6);
}

.page-fishing-games__btn-secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(38, 169, 224, 0.4);
}

.page-fishing-games__btn-secondary:hover {
  background: #2094C6; /* Darkened #26A9E0 */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(38, 169, 224, 0.6);
}

/* Intro Section */
.page-fishing-games__intro-section {
  background-color: var(--background-light);
}

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

.page-fishing-games__feature-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
  font-size: 16px;
  color: var(--text-dark);
}

/* Games Section */
.page-fishing-games__games-section {
  background-color: var(--background-dark); /* Dark background */
  color: var(--text-light);
}

.page-fishing-games__games-section .page-fishing-games__section-title {
  color: var(--text-light);
}

.page-fishing-games__games-section .page-fishing-games__text-block {
  color: var(--text-light);
}

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

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.25);
}

.page-fishing-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__btn-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--button-login);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-link:hover {
  background: #D46F00;
}

/* Guide Section */
.page-fishing-games__guide-section {
  background-color: var(--secondary-color);
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__guide-list li {
  background: var(--background-light);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  border-left: 5px solid var(--primary-color);
}

.page-fishing-games__list-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__guide-list p {
  font-size: 17px;
  color: var(--text-dark);
}