:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* --- General Page Styles --- */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background-color); /* Inherited from shared.css body */
}

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--text-main); /* Light text for dark sections */
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: var(--text-secondary); /* Lighter text for descriptions */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure all text elements use defined colors */
.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(--text-main);
}
.page-fishing-games p, .page-fishing-games li {
  color: var(--text-secondary);
}
.page-fishing-games a {
  color: var(--primary-color); /* Default link color */
}
.page-fishing-games a:hover {
  color: var(--secondary-color);
}

/* --- Color Contrast Fixes for Light Background Sections --- */
.page-fishing-games__light-bg {
  background-color: #f5f5f5; /* A light background for contrast */
  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__section-description,
.page-fishing-games__light-bg .page-fishing-games__feature-title,
.page-fishing-games__light-bg .page-fishing-games__feature-text,
.page-fishing-games__light-bg .page-fishing-games__step-title,
.page-fishing-games__light-bg .page-fishing-games__step-text,
.page-fishing-games__light-bg .page-fishing-games__strategy-title,
.page-fishing-games__light-bg .page-fishing-games__strategy-text,
.page-fishing-games__light-bg .page-fishing-games__security-title,
.page-fishing-games__light-bg .page-fishing-games__security-text,
.page-fishing-games__light-bg .page-fishing-games__download-text {
  color: #333333; /* Ensure dark text on light background */
}

.page-fishing-games__light-bg h1, .page-fishing-games__light-bg h2, .page-fishing-games__light-bg h3, .page-fishing-games__light-bg h4, .page-fishing-games__light-bg h5, .page-fishing-games__light-bg h6 {
  color: #333333;
}
.page-fishing-games__light-bg p, .page-fishing-games__light-bg li {
  color: #555555;
}
.page-fishing-games__light-bg a {
  color: var(--primary-color);
}
.page-fishing-games__light-bg a:hover {
  color: var(--secondary-color);
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  min-height: 600px;
  background-color: var(--background-color);
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  color: var(--text-main);
  padding: 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.page-fishing-games__intro-text {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: var(--text-secondary);
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping 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;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main); /* Always light text on this button */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--text-main); /* Light text for dark background sections */
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Secondary button for light background sections */
.page-fishing-games__light-bg .page-fishing-games__btn-secondary {
  color: var(--primary-color); /* Darker text for light background */
  border-color: var(--primary-color);
}
.page-fishing-games__light-bg .page-fishing-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main); /* Light text on hover */
}

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

/* --- Cards --- */
.page-fishing-games__card {
  background-color: var(--card-bg); /* Dark background for cards */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-main); /* Light text on dark card */
  border: 1px solid var(--border-color);
}

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

/* Cards on light background sections */
.page-fishing-games__light-bg .page-fishing-games__card {
  background-color: #ffffff; /* White background for cards on light sections */
  color: #333333; /* Dark text on white card */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-color: #e0e0e0;
}

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

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

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

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

.page-fishing-games__step-card {
  text-align: center;
}

.page-fishing-games__step-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__step-text {
  color: #555555; /* Slightly lighter dark text */
  margin-bottom: 20px;
}

.page-fishing-games__download-cta {
  margin-top: 60px;
  padding: 40px;
  background-color: var(--deep-green); /* Use Deep Green for a prominent CTA */
  border-radius: 10px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-fishing-games__download-text {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
}

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

.page-fishing-games__game-card {
  text-align: center;
}

.page-fishing-games__game-image {
  min-height: 200px; /* Minimum image size */
}

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

.page-fishing-games__game-description {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* --- Strategy List --- */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__strategy-item {
  text-align: left;
  background-color: #ffffff; /* White card on light background */
  color: #333333;
}

.page-fishing-games__strategy-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #333333;
}

.page-fishing-games__strategy-text {
  color: #555555;
}

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

.page-fishing-games__promo-card {
  text-align: center;
}

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

.page-fishing-games__promo-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

.page-fishing-games__security-item {
  text-align: center;
  background-color: #ffffff; /* White card on light background */
  color: #333333;
}

.page-fishing-games__security-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #333333;
}

.page-fishing-games__security-text {
  color: #555555;
  margin-bottom: 20px;
}

/* --- FAQ Section --- */
.page-fishing-games__faq-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-color);
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main);
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-fishing-games__faq-question::marker {
  display: none; /* Hide default marker for Firefox */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold-color); /* Use gold for toggle */
}

.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: 1em;
  color: var(--text-secondary);
}

.page-fishing-games__faq-answer p {
  margin-bottom: 15px;
}

.page-fishing-games__faq-answer .page-fishing-games__btn-secondary {
  margin-top: 10px;
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-section {
    min-height: 500px;
    padding-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-fishing-games__main-title {
    font-size: 2em;
  }
  .page-fishing-games__intro-text {
    font-size: 0.95em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__cta-buttons,
  .page-fishing-games__download-cta {
    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-content {
    padding: 10px;
  }

  /* Images responsive */
  .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__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__strategy-list,
  .page-fishing-games__promo-grid,
  .page-fishing-games__security-grid,
  .page-fishing-games__faq-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__hero-section {
    padding-top: 10px !important; /* body already handles offset */
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games__download-cta {
    padding: 20px;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__step-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__security-item {
    padding: 20px;
  }
}