/* style/fishing-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #26A9E0;
  --button-login-color: #EA7C07;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: left;
}

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

.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__text-block {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
}

.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 space for fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d47a1 100%); /* Deeper blue gradient */
  color: var(--text-color-light);
  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;
  z-index: 1;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

.page-fishing-games__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 19px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 200px;
  box-sizing: border-box;
}

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

.page-fishing-games__btn-primary:hover {
  background: #d46c06; /* Darken by 10% */
  border-color: #d46c06;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(234, 124, 7, 0.6);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--text-color-light);
  border: 2px solid var(--text-color-light);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.page-fishing-games__btn-large {
  padding: 20px 50px;
  font-size: 22px;
}

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

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

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

.page-fishing-games__dark-section .page-fishing-games__text-block strong,
.page-fishing-games__dark-section .page-fishing-games__card-title {
  color: var(--text-color-light);
}

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

.page-fishing-games__card {
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark);
}

.page-fishing-games__dark-section .page-fishing-games__card {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color-light);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}