:root {
  --page-fishing-games-primary-color: #11A84E;
  --page-fishing-games-accent-color: #22C768;
  --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-bg: #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-color: #0A4B2C;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-fishing-games-text-main); /* Default text color for the page, assuming dark body bg */
  background-color: var(--page-fishing-games-bg); /* Page specific background */
  line-height: 1.6;
}

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

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 70vh; /* Limit height for hero image */
  min-height: 300px; /* Ensure minimum height */
}

.page-fishing-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap image slightly for visual interest, without covering text */
  position: relative; /* Ensure it's above other elements if any */
  z-index: 2;
  background: var(--page-fishing-games-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.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.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

/* General Section Styling */
.page-fishing-games__intro-section,
.page-fishing-games__games-showcase-section,
.page-fishing-games__advantages-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.page-fishing-games__dark-bg {
  background-color: var(--page-fishing-games-deep-green-color);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.3;
}

.page-fishing-games__section-description {
  font-size: 1.05rem;
  color: var(--page-fishing-games-text-secondary);
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-fishing-games-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-fishing-games-text-main); /* Ensure card text is light */
  text-align: left;
  display: flex;
  flex-direction: column;
}

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

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

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  min-height: 200px; /* Enforce min image size */
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

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

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

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

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

.page-fishing-games__game-thumbnail {
  width: 100%;
  height: auto;
  min-height: 200px; /* Enforce min image size */
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__game-title a {
  color: var(--page-fishing-games-gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-title a:hover {
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__game-description {
  font-size: 0.95rem;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1; /* Pushes button to bottom */
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 40px;
  margin-top: auto; /* Aligns button at the bottom */
}

.page-fishing-games__cta-more {
  margin-top: 60px;
}

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

.page-fishing-games__advantage-item {
  text-align: center;
}

.page-fishing-games__advantage-title {
  font-size: 1.4rem;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* How to Play Steps */
.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

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

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

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  margin-bottom: 20px;
  overflow: hidden; /* For details tag */
}

.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 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-fishing-games-gold-color);
  cursor: pointer;
  background-color: var(--page-fishing-games-deep-green-color); /* Darker background for question */
  border-radius: 12px;
  border: 1px solid var(--page-fishing-games-border-color);
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default summary marker */
}

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

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

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

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

.page-fishing-games__faq-question:hover .page-fishing-games__faq-toggle {
  color: #ffffff;
}

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
  background-color: var(--page-fishing-games-card-bg); /* Answer content background */
  border-radius: 0 0 12px 12px;
  border: 1px solid var(--page-fishing-games-border-color);
  border-top: none;
  text-align: left;
}

.page-fishing-games__faq-answer p {
  margin: 0;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
  background-color: var(--page-fishing-games-primary-color);
  color: #ffffff;
  padding: 100px 0;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-description {
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__cta-bottom-section .page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff;
  border-color: #ffffff;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__btn-secondary {
  background: #ffffff;
  color: var(--page-fishing-games-primary-color);
  border-color: #ffffff;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__btn-secondary:hover {
  background: var(--page-fishing-games-card-bg);
  color: var(--page-fishing-games-gold-color);
  border-color: var(--page-fishing-games-gold-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 30px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-image {
    max-height: 50vh;
  }
  .page-fishing-games__hero-content {
    margin-top: -40px;
    padding: 25px;
  }
  .page-fishing-games__hero-description {
    font-size: 1rem;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto; /* Center buttons */
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__games-showcase-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    padding: 60px 0;
  }

  .page-fishing-games__section-description {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__advantage-list,
  .page-fishing-games__steps-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__advantage-item,
  .page-fishing-games__step-item,
  .page-fishing-games__faq-item {
    padding: 25px;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__game-thumbnail {
    min-height: 200px !important;
    max-height: 300px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All images and their containers for mobile */
  .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__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;
  }
  
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }

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

  .page-fishing-games__cta-bottom-section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
  .page-fishing-games__hero-content {
    margin-top: -30px;
    padding: 20px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__advantage-title,
  .page-fishing-games__step-title {
    font-size: 1.3rem;
  }
  .page-fishing-games__faq-question {
    font-size: 0.95rem;
  }
}

/* Ensure no text on hero image by default */
.page-fishing-games__hero-image + .page-fishing-games__hero-content {
  /* This ensures the content is below the image and not overlapping via absolute positioning */
  /* The negative margin is for visual overlap, but content is still in normal flow below image */
  margin-top: -80px; /* Adjust as needed for desired visual effect */
}