/* style/fishing-games.css */

/* Custom Colors */
:root {
  --page-fishing-games-primary-color: #11A84E;
  --page-fishing-games-secondary-color: #22C768;
  --page-fishing-games-button-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;
}

/* Base styles for the page content */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-fishing-games-text-main); /* Default text color for dark background */
  background-color: var(--page-fishing-games-background); /* Body background from shared.css is dark */
}

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

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

.page-fishing-games__subtitle {
  font-size: 1.2em;
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  margin-bottom: 40px;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
}

.page-fishing-games__text-block strong {
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__inline-link {
  color: var(--page-fishing-games-secondary-color);
  text-decoration: underline;
}

.page-fishing-games__centered-text {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: var(--page-fishing-games-background);
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

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

.page-fishing-games__hero-content .page-fishing-games__subtitle {
  font-size: 1.25em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 40px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
  border: 2px solid var(--page-fishing-games-glow-color);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--page-fishing-games-secondary-color);
  color: var(--page-fishing-games-background);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-background);
}

.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__feature-item {
  background-color: var(--page-fishing-games-card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--page-fishing-games-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  color: var(--page-fishing-games-text-secondary);
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
  padding: 80px 0;
  background-color: var(--page-fishing-games-deep-green);
  color: var(--page-fishing-games-text-main); /* Text color for light-bg equivalent */
}

.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__game-card {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--page-fishing-games-border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

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

.page-fishing-games__card-title {
  font-size: 1.4em;
  color: var(--page-fishing-games-gold-color);
  padding: 20px 20px 10px;
}

.page-fishing-games__card-description {
  color: var(--page-fishing-games-text-secondary);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* How-To-Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-background);
}

.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-fishing-games__step-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__step-title {
  font-size: 1.6em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 10px;
}

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

/* Tips & Tricks Section */
.page-fishing-games__tips-tricks-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-deep-green);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-fishing-games__tip-item {
  background-color: var(--page-fishing-games-card-bg);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__tip-title {
  font-size: 1.4em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 10px;
}

.page-fishing-games__tip-description {
  color: var(--page-fishing-games-text-secondary);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-background);
}

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

.page-fishing-games__promo-card {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--page-fishing-games-border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-deep-green);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-list {
  margin-top: 50px;
}

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

.page-fishing-games__faq-item summary {
  list-style: none;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-fishing-games-text-main);
  cursor: pointer;
  background-color: var(--page-fishing-games-card-bg);
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--page-fishing-games-divider-color);
}

.page-fishing-games__faq-question:hover {
  background-color: var(--page-fishing-games-deep-green);
}

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

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  color: var(--page-fishing-games-text-secondary);
  font-size: 1.05em;
}

/* Contact CTA Section */
.page-fishing-games__contact-cta {
  padding: 80px 0;
  background-color: var(--page-fishing-games-background);
  text-align: center;
}

.page-fishing-games__contact-content {
  max-width: 800px;
}

/* Color Contrast Fixes (as per body background type - dark) */
.page-fishing-games__dark-bg {
  color: var(--page-fishing-games-text-main);
  background-color: var(--page-fishing-games-background);
}

.page-fishing-games__light-bg {
  color: #333333; /* Dark text for visual contrast against deep green sections */
  background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__text-contrast-fix {
  color: var(--page-fishing-games-text-main); /* Ensure light text on dark sections */
}

.page-fishing-games__light-bg .page-fishing-games__text-contrast-fix {
  color: var(--page-fishing-games-text-main); /* Still light text on deep green */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-fishing-games__game-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-fishing-games__subtitle {
    font-size: 1em;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    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__about-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-tricks-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__contact-cta {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__faq-item {
    padding: 20px;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__features-grid,
  .page-fishing-games__tips-list,
  .page-fishing-games__faq-list,
  .page-fishing-games__step-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__feature-icon {
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: auto !important;
  }

  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

  .page-fishing-games__hero-content .page-fishing-games__subtitle {
    font-size: 0.9em;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__tip-title {
    font-size: 1.2em;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
  }
}