/* style/fishing-games.css */

/* Variables from color palette */
:root {
  --page-fishing-games-primary-color: #11A84E;
  --page-fishing-games-secondary-color: #22C768;
  --page-fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-background: #08160F;
  --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 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-fishing-games-text-main); /* Default text color for light on dark */
  background-color: var(--page-fishing-games-background); /* Overall page background */
}

/* Ensure text on light sections is dark for contrast */
.page-fishing-games__introduction-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__faq-section {
  background-color: #ffffff; /* White background for these sections */
  color: #333333; /* Dark text for contrast */
}

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

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

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

.page-fishing-games__text-block {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.page-fishing-games__inline-link {
  color: var(--page-fishing-games-primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__inline-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding-bottom: 60px; /* Space below content */
  background-color: var(--page-fishing-games-background);
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Max height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no filter is applied */
}

.page-fishing-games__hero-content {
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__hero-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 500px; /* Max width for button group */
  margin: 0 auto;
}

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

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-primary-color);
  color: #ffffff;
}

/* Content Images */
.page-fishing-games__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  filter: none; /* Ensure no filter is applied */
}

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

.page-fishing-games__feature-card,
.page-fishing-games__reason-card {
  background-color: var(--page-fishing-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__feature-title,
.page-fishing-games__reason-title {
  font-size: 1.5rem;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 15px;
}

.page-fishing-games__feature-description,
.page-fishing-games__reason-description {
  color: var(--page-fishing-games-text-secondary);
  font-size: 1rem;
}

.page-fishing-games__dark-section {
  background-color: var(--page-fishing-games-background);
  color: var(--page-fishing-games-text-main);
  padding: 60px 0;
}

/* Popular Games Section */
.page-fishing-games__game-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-item {
  background-color: #f9f9f9; /* Light background for game cards */
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__game-title {
  font-size: 1.6rem;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
}

.page-fishing-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  filter: none; /* Ensure no filter is applied */
}

/* How to Play Section */
.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__step-item {
  background-color: var(--page-fishing-games-card-bg);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 5px solid var(--page-fishing-games-primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
  font-size: 1.4rem;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  color: var(--page-fishing-games-text-secondary);
  font-size: 1rem;
}

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

.page-fishing-games__promo-card {
  background-color: #f0fdf4; /* Very light green background */
  border: 1px solid var(--page-fishing-games-secondary-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__promo-title {
  font-size: 1.5rem;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__promo-description {
  font-size: 1rem;
  color: #555555;
}

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

.page-fishing-games__faq-item {
  background-color: #f9f9f9; /* Light background for FAQ items */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide Chrome/Safari marker */
}

.page-fishing-games__faq-item summary:hover {
  background-color: #f0f0f0;
}

.page-fishing-games__faq-qtext {
  font-size: 1.1rem;
  color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--page-fishing-games-primary-color);
}

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

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

/* Final CTA Section */
.page-fishing-games__final-cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--page-fishing-games-background);
  color: var(--page-fishing-games-text-main);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__section-title {
    font-size: 2rem;
  }

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-fishing-games__hero-content {
    padding: 20px 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-fishing-games__hero-description {
    font-size: clamp(1rem, 3vw, 1.1rem);
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-fishing-games__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__content-image,
  .page-fishing-games__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all images and their containers are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__why-choose-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__reason-card,
  .page-fishing-games__game-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__faq-item summary {
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    padding: 10px 20px 15px;
  }
}