/* 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-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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.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-bg);
}

.page-fishing-games__section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding for first section */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: var(--page-fishing-games-text-main);
  background: var(--page-fishing-games-bg);
  z-index: 1;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Adjust to pull content slightly over the image, but not covering it entirely */
  background: rgba(8, 22, 15, 0.7); /* Semi-transparent background for text readability */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-50%); /* Adjust to center vertically with the visual content */
  margin-bottom: -150px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--page-fishing-games-text-main);
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-fishing-games__lead-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: var(--page-fishing-games-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: center;
  white-space: nowrap;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: var(--page-fishing-games-text-main);
  border: none;
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  opacity: 0.9;
}

.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(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

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

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-fishing-games-text-main);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-fishing-games__intro-section {
  background-color: var(--page-fishing-games-light-bg, #f2fff6);
  color: var(--page-fishing-games-text-secondary-light, #333333);
}

.page-fishing-games__intro-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__intro-section .page-fishing-games__paragraph {
  color: var(--page-fishing-games-text-secondary-light, #555555);
}

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

.page-fishing-games__text-center {
  text-align: center;
}

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__game-types {
  background-color: var(--page-fishing-games-card-bg);
  color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__card {
  background-color: var(--page-fishing-games-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-fishing-games__guide-section {
  background-color: var(--page-fishing-games-light-bg, #f2fff6);
  color: var(--page-fishing-games-text-secondary-light, #333333);
}

.page-fishing-games__guide-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__guide-section .page-fishing-games__paragraph,
.page-fishing-games__guide-section .page-fishing-games__ordered-list li,
.page-fishing-games__guide-section .page-fishing-games__unordered-list li {
  color: var(--page-fishing-games-text-secondary-light, #555555);
}

.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-fishing-games__ordered-list li strong {
  color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__promotions-section {
  background-color: var(--page-fishing-games-card-bg);
  color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__promo-card {
  background-color: var(--page-fishing-games-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__promo-card .page-fishing-games__card-title {
  color: var(--page-fishing-games-glow);
}

.page-fishing-games__features-section {
  background-color: var(--page-fishing-games-light-bg, #f2fff6);
  color: var(--page-fishing-games-text-secondary-light, #333333);
}

.page-fishing-games__features-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__features-section .page-fishing-games__paragraph {
  color: var(--page-fishing-games-text-secondary-light, #555555);
}

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

.page-fishing-games__feature-item {
  text-align: center;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-fishing-games__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-fishing-games__security-section {
  background-color: var(--page-fishing-games-card-bg);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__security-section .page-fishing-games__unordered-list li {
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__security-section .page-fishing-games__unordered-list li strong {
  color: var(--page-fishing-games-glow);
}

.page-fishing-games__faq-section {
  background-color: var(--page-fishing-games-light-bg, #f2fff6);
  color: var(--page-fishing-games-text-secondary-light, #333333);
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-deep-green);
}

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

.page-fishing-games__faq-item {
  background-color: #ffffff;
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-fishing-games-deep-green);
  cursor: pointer;
  background-color: #ffffff;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary-light, #555555);
  line-height: 1.7;
}

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

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

.page-fishing-games__cta-final-section {
  background-color: var(--page-fishing-games-deep-green);
  padding: 80px 20px;
  text-align: center;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-text-main);
  margin-bottom: 25px;
}

.page-fishing-games__cta-final-section .page-fishing-games__paragraph {
  color: var(--page-fishing-games-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-fishing-games a {
  color: var(--page-fishing-games-glow);
  text-decoration: none;
}

.page-fishing-games a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -100px;
    margin-bottom: -100px;
  }
  .page-fishing-games__section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-fishing-games__hero-content {
    margin-top: -80px;
    margin-bottom: -80px;
    padding: 30px 15px;
    transform: translateY(-30%);
  }
  .page-fishing-games__main-title {
    font-size: 2.2rem;
  }
  .page-fishing-games__lead-text {
    font-size: 1rem;
  }
  .page-fishing-games__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-left: 15px;
    padding-right: 15px;
  }
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-fishing-games__paragraph {
    font-size: 1rem;
  }
  .page-fishing-games__grid-cards,
  .page-fishing-games__promo-grid,
  .page-fishing-games__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__card,
  .page-fishing-games__promo-card,
  .page-fishing-games__feature-item {
    padding: 20px;
  }
  .page-fishing-games__card-image,
  .page-fishing-games__feature-icon,
  .page-fishing-games__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-fishing-games__cta-final-section {
    padding: 50px 15px;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
  .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,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__section-title {
    font-size: 1.5rem;
  }
  .page-fishing-games__hero-content {
    margin-top: -60px;
    margin-bottom: -60px;
    transform: translateY(-20%);
  }
}

/* Ensure contrast for light background sections */
.page-fishing-games__light-bg {
  background-color: var(--page-fishing-games-text-main); /* Use a light color for light bg sections */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__card-title,
.page-fishing-games__light-bg .page-fishing-games__feature-title,
.page-fishing-games__light-bg .page-fishing-games__faq-question {
  color: var(--page-fishing-games-deep-green); /* Deep green for titles on light bg */
}

.page-fishing-games__light-bg .page-fishing-games__paragraph,
.page-fishing-games__light-bg .page-fishing-games__card-text,
.page-fishing-games__light-bg .page-fishing-games__feature-text,
.page-fishing-games__light-bg .page-fishing-games__ordered-list li,
.page-fishing-games__light-bg .page-fishing-games__unordered-list li,
.page-fishing-games__light-bg .page-fishing-games__faq-answer {
  color: #555555; /* Slightly softer dark text for paragraphs on light bg */
}

.page-fishing-games__light-bg a {
  color: var(--page-fishing-games-deep-green);
}
.page-fishing-games__light-bg a:hover {
  text-decoration: underline;
}

/* Ensure contrast for dark background sections */
.page-fishing-games__dark-bg {
  background-color: var(--page-fishing-games-bg); /* Use dark background color */
  color: var(--page-fishing-games-text-main); /* Light text for dark background */
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__card-title,
.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__faq-question {
  color: var(--page-fishing-games-gold); /* Gold for titles on dark bg */
}

.page-fishing-games__dark-bg .page-fishing-games__paragraph,
.page-fishing-games__dark-bg .page-fishing-games__card-text,
.page-fishing-games__dark-bg .page-fishing-games__feature-text,
.page-fishing-games__dark-bg .page-fishing-games__ordered-list li,
.page-fishing-games__dark-bg .page-fishing-games__unordered-list li,
.page-fishing-games__dark-bg .page-fishing-games__faq-answer {
  color: var(--page-fishing-games-text-secondary); /* Secondary light text for paragraphs on dark bg */
}

.page-fishing-games__dark-bg a {
  color: var(--page-fishing-games-glow);
}
.page-fishing-games__dark-bg a:hover {
  text-decoration: underline;
}

/* Specific card background on dark sections */
.page-fishing-games__game-types .page-fishing-games__card,
.page-fishing-games__promotions-section .page-fishing-games__promo-card,
.page-fishing-games__security-section .page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__game-types .page-fishing-games__card .page-fishing-games__card-title,
.page-fishing-games__promotions-section .page-fishing-games__promo-card .page-fishing-games__card-title {
  color: var(--page-fishing-games-gold);
}

.page-fishing-games__game-types .page-fishing-games__card .page-fishing-games__card-text,
.page-fishing-games__promotions-section .page-fishing-games__promo-card .page-fishing-games__card-text {
  color: var(--page-fishing-games-text-secondary);
}