/* style/fishing-games.css */

/* Custom CSS Variables for this page */
:root {
  --primary-color: #017439; /* Brand Green */
  --secondary-color: #C30808; /* Register/Login Red */
  --text-color-light-bg: #333333;
  --text-color-dark-bg: #ffffff;
  --button-text-color-register-login: #FFFF00; /* Yellow for register/login font */
  --background-color-light: #ffffff;
  --background-color-dark: #017439;
}

/* Base styles for the page content */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-light-bg); /* Default text color for light body background */
  background-color: var(--background-color-light); /* Default white body background */
}

/* 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 content is below fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #004d2a 100%); /* Darker green gradient */
  color: var(--text-color-dark-bg);
  overflow: hidden; /* Prevent image 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;
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow: hidden;
}

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

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

.page-fishing-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  font-weight: bold;
  color: var(--text-color-dark-bg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-color-dark-bg);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color); /* Red for CTA button */
  color: var(--button-text-color-register-login); /* Yellow text */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--button-text-color-register-login);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  max-width: 100%; /* Mobile button adaptation */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
  background: #a90707; /* Darken red on hover */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* General Section Styles */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  width: 100%;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light-bg);
}

/* Light background sections */
.page-fishing-games__light-bg {
  background-color: var(--background-color-light);
  color: var(--text-color-light-bg);
}

/* Dark background sections */
.page-fishing-games__dark-bg {
  background-color: var(--background-color-dark);
  color: var(--text-color-dark-bg);
}
.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: var(--text-color-dark-bg);
}
.page-fishing-games__dark-bg .page-fishing-games__section-description {
  color: var(--text-color-dark-bg);
}

/* Intro Section Features Grid */
.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__feature-item {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

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

.page-fishing-games__feature-item p {
  color: var(--text-color-light-bg);
}

/* Games Showcase Section */
.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  color: var(--button-text-color-register-login); /* Yellow for game titles */
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  padding: 0 15px 20px;
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__play-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color); /* Red button */
  color: var(--button-text-color-register-login); /* Yellow text */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--button-text-color-register-login);
  max-width: calc(100% - 30px); /* Mobile button adaptation */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__play-button:hover {
  background: #a90707;
  transform: translateY(-2px);
}

/* Promotions Section */
.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__promo-item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-fishing-games__promo-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}