/* style/fishing-games.css */

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

.page-fishing-games {
  background-color: var(--page-fishing-games-bg);
  color: var(--page-fishing-games-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

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

.page-fishing-games__section-title,
.page-fishing-games__sub-title {
  color: var(--page-fishing-games-gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.page-fishing-games__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--page-fishing-games-text-main);
  text-align: left;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-fishing-games__section-description {
  text-align: center;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
  color: var(--page-fishing-games-text-main);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 0;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 30px 20px;
  margin-top: -150px; /* Pull content up over image slightly */
  background: rgba(8, 22, 15, 0.7); /* Background for readability */
  border-radius: 10px;
  backdrop-filter: blur(5px);
  border: 1px solid var(--page-fishing-games-border);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-title {
  color: var(--page-fishing-games-gold);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 */
}

.page-fishing-games__hero-description {
  color: var(--page-fishing-games-text-main);
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: var(--page-fishing-games-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--page-fishing-games-glow);
  color: var(--page-fishing-games-bg);
  transform: translateY(-2px);
}

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

.page-fishing-games__cta-buttons-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 30px;
}

/* Cards */
.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block; /* Ensure it behaves as a block element for max-width */
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  color: var(--page-fishing-games-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

/* Guide Section */
.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__guide-step {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-fishing-games__step-description {
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Tips Section */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-fishing-games__tip-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-divider);
  border-left: 5px solid var(--page-fishing-games-glow);
  border-radius: 8px;
  padding: 20px;
  color: var(--page-fishing-games-text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tip-title {
  font-size: 1.3rem;
  color: var(--page-fishing-games-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--page-fishing-games-gold);
  background-color: var(--page-fishing-games-deep-green);
  border-bottom: 1px solid var(--page-fishing-games-divider);
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-fishing-games-glow);
}

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

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
}

/* CTA Section (Bottom) */
.page-fishing-games__cta-section {
  text-align: center;
  background-color: var(--page-fishing-games-deep-green);
  padding: 80px 20px;
  border-radius: 10px;
  margin: 60px auto;
  border: 1px solid var(--page-fishing-games-border);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--page-fishing-games-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__cta-description {
  font-size: 1.2rem;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Global Image/Video/Button Responsive Rules */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games video,
.page-fishing-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__video-section,
.page-fishing-games__video-container,
.page-fishing-games__video-wrapper,
.page-fishing-games__section,
.page-fishing-games__card,
.page-fishing-games__container,
.page-fishing-games__cta-buttons,
.page-fishing-games__button-group,
.page-fishing-games__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 15px;
  }

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

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

  .page-fishing-games__hero-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
  }

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

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

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

  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promo-cards-grid,
  .page-fishing-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card-image {
    height: auto;
  }

  .page-fishing-games__step-image {
    max-width: 100%;
    height: auto;
  }

  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }

  .page-fishing-games__cta-section {
    padding: 60px 15px;
    margin: 40px auto;
  }

  .page-fishing-games__cta-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .page-fishing-games__cta-description {
    font-size: 1rem;
  }

  /* Ensure all images, videos, and containers are responsive */
  .page-fishing-games img,
  .page-fishing-games video,
  .page-fishing-games__video {
    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__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

/* Accessibility: Ensure contrast for all text elements */
.page-fishing-games h1, .page-fishing-games h2, .page-fishing-games h3, .page-fishing-games h4, .page-fishing-games h5, .page-fishing-games h6 {
  color: var(--page-fishing-games-gold); /* Ensure titles have good contrast */
}

.page-fishing-games p, .page-fishing-games li, .page-fishing-games__card-description, .page-fishing-games__step-description, .page-fishing-games__tip-description, .page-fishing-games__faq-answer {
  color: var(--page-fishing-games-text-main); /* Default text color */
}

.page-fishing-games__btn-primary {
  color: #ffffff; /* Always white text on primary button gradient */
}

.page-fishing-games__btn-secondary {
  color: var(--page-fishing-games-glow); /* Text color for secondary button */
}

.page-fishing-games__btn-secondary:hover {
  color: var(--page-fishing-games-bg); /* Text color on hover for secondary button */
}