/* style/fishing-games.css */

/* Variables and Base Styles */
:root {
  --primary-color: #1A2B4C; /* Midnight Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000; /* From shared.css body background */
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --transition-speed: 0.3s ease;
}

.page-fishing-games {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency with body */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.2;
}

.page-fishing-games__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 80px;
  background-color: var(--primary-color); /* Dark blue background for hero */
}

.page-fishing-games__hero-section .page-fishing-games__container {
  position: relative;
  z-index: 2;
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 1;
  filter: none; /* Explicitly ensure no filters are applied */
}

.page-fishing-games__main-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-fishing-games__btn-primary:hover {
  background-color: #e6c200; /* Manually darkened version of #FFD700 */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-fishing-games__intro-section,
.page-fishing-games__why-choose-us,
.page-fishing-games__promotions,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--bg-dark); /* Default dark background for content sections */
  color: var(--text-light); /* Light text on dark background */
}

.page-fishing-games__games-showcase,
.page-fishing-games__how-to-play,
.page-fishing-games__community {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark blue background for alternating sections */
  color: var(--text-light);
}

.page-fishing-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__content-wrapper p {
  flex: 1;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-fishing-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__image-content,
.page-fishing-games__image-guide,
.page-fishing-games__image-promo,
.page-fishing-games__image-community {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  filter: none; /* Explicitly ensure no filters are applied */
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark bg */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have some height */
}

.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__game-card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  filter: none; /* Explicitly ensure no filters are applied */
}

.page-fishing-games__game-card-title,
.page-fishing-games__promo-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__game-card-description,
.page-fishing-games__promo-text {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

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

/* Features List (Why Choose Us) */
.page-fishing-games__features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.page-fishing-games__features-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color var(--transition-speed);
}

.page-fishing-games__features-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__features-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__features-item p {
  font-size: 16px;
  color: var(--text-light);
  margin: 0;
}

/* How To Play Steps */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}