/* style/fishing-games.css */
/* 
 * Body padding-top is handled by shared.css: body { padding-top: var(--header-offset); }
 * This page should NOT re-apply padding-top: var(--header-offset) to its sections.
 */

:root {
  --page-fishing-games-primary-color: #11A84E;
  --page-fishing-games-secondary-color: #22C768;
  --page-fishing-games-background-color: #08160F;
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --page-fishing-games-border-color: #2E7A4E;
  --page-fishing-games-glow-color: #57E38D;
  --page-fishing-games-gold-color: #F2C14E;
  --page-fishing-games-divider-color: #1E3A2A;
  --page-fishing-games-deep-green: #0A4B2C;
  --page-fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

/* Base styles for sections and containers */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--page-fishing-games-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-fishing-games-deep-green); /* Fallback/background for hero */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  color: var(--page-fishing-games-text-main);
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 900;
  line-height: 1.1;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.7); /* Glow effect */
}

.page-fishing-games__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-fishing-games-text-secondary);
}

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

/* 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: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--page-fishing-games-glow-color); /* Light green text */
  border: 2px solid var(--page-fishing-games-glow-color);
  box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-glow-color);
  color: var(--page-fishing-games-background-color); /* Dark text on hover */
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

/* Light background sections */
.page-fishing-games__light-bg {
  background-color: #ffffff; /* White background for light sections */
  color: #333333; /* Dark text for contrast */
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: var(--page-fishing-games-deep-green); /* Dark green title on light background */
}

.page-fishing-games__light-bg .page-fishing-games__description,
.page-fishing-games__light-bg p,
.page-fishing-games__light-bg li {
  color: #333333; /* Ensure dark text on light background */
}

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

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

/* Content images */
.page-fishing-games__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__feature-card {
  background-color: var(--page-fishing-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-fishing-games-border-color);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 15px;
}

.page-fishing-games__card p {
  color: var(--page-fishing-games-text-secondary);
}

/* Step List (How to Play) */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__list-item {
  background-color: #f9f9f9; /* Light background for list items */
  border-left: 5px solid var(--page-fishing-games-primary-color);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-fishing-games__list-item h3 {
  color: var(--page-fishing-games-primary-color);
  margin-top: 0;
  font-size: 1.3em;
}

.page-fishing-games__list-item p {
  color: #555555;
}

/* Grid 2 Column */
.page-fishing-games__grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Strategy List */
.page-fishing-games__strategy-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 30px;
  color: #333333;
}

.page-fishing-games__strategy-list li {
  margin-bottom: 10px;
  color: #555555;
}

/* Promotions List */
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__promo-list li {
  background-color: var(--page-fishing-games-deep-green);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  border-left: 4px solid var(--page-fishing-games-glow-color);
  color: var(--page-fishing-games-text-secondary);
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-fishing-games-gold-color);
  background-color: var(--page-fishing-games-deep-green);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary:hover {
  background-color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  color: var(--page-fishing-games-glow-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  background-color: var(--page-fishing-games-card-bg);
  color: var(--page-fishing-games-text-secondary);
  border-top: 1px solid var(--page-fishing-games-divider-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-fishing-games__hero-content {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 20px 15px !important; /* Mobile padding */
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Small top padding for hero */
  }
  
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-fishing-games__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__content-image,
  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Image containers */
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__introduction-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__game-elements-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__download-cta-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__grid-2-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__list-item {
    padding: 20px;
  }

  .page-fishing-games p,
  .page-fishing-games li {
    font-size: 16px;
  }
}

/* Ensure no filter on images */
.page-fishing-games img {
  filter: none !important;
}