.page-fishing-games {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Main text color for dark body background */
  background-color: #08160F; /* Body background from shared.css */
  line-height: 1.6;
}

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

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

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

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

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* General Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  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; /* Break long words */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow color */
  border: 2px solid #57E38D;
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Section Common Styles */
.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2C14E; /* Gold color */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-fishing-games__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 20px;
}

.page-fishing-games__paragraph {
  font-size: 1.1rem;
  color: #A7D9B8; /* Secondary text color */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-fishing-games__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping */
  justify-content: center;
}

.page-fishing-games__image-block {
  flex: 1;
  min-width: 300px;
  max-width: 600px; /* Max width for content images */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-fishing-games__text-block {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-fishing-games__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games__feature-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #A7D9B8; /* Secondary text color */
}

.page-fishing-games__feature-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow color */
  font-weight: bold;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG color */
}

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

.page-fishing-games__game-card {
  background-color: #08160F; /* Background color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
}

.page-fishing-games__game-trial-frame {
  width: 100%;
  height: 300px;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 20px;
  background-color: #08160F;
}

.page-fishing-games__game-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__game-btn {
  margin-top: auto; /* Push button to bottom */
}


/* CTA Section */
.page-fishing-games__cta-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-fishing-games__cta-box {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(90deg, #0A4B2C 0%, #13994A 100%); /* Deep Green to Primary Green */
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  flex-wrap: wrap; /* Allow wrapping */
  justify-content: center;
}

.page-fishing-games__cta-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-fishing-games__cta-content .page-fishing-games__section-title {
  text-align: left;
  color: #F2FFF6; /* White text for dark background */
  margin-bottom: 20px;
}

.page-fishing-games__cta-content .page-fishing-games__paragraph {
  text-align: left;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
}

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

.page-fishing-games__cta-image {
  flex-shrink: 0;
  width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #2E7A4E; /* Border color */
  overflow: hidden;
  background: #11271B; /* Card BG color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #0A4B2C; /* Deep Green on hover */
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Main text color */
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D; /* Glow color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #08160F; /* Background color */
  border-radius: 0 0 5px 5px;
  color: #A7D9B8; /* Secondary text color */
}
.page-fishing-games__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 1rem;
}


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

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero Section */
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }

  .page-fishing-games__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* General Buttons */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* Section Common Styles */
  .page-fishing-games__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__sub-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .page-fishing-games__paragraph {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* Intro Section */
  .page-fishing-games__intro-section {
    padding: 40px 0;
  }

  .page-fishing-games__image-text-block {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }

  .page-fishing-games__image-block {
    width: 100%;
    min-width: unset;
  }

  .page-fishing-games__text-block {
    width: 100%;
    min-width: unset;
    text-align: center;
  }
  
  .page-fishing-games__feature-item {
    padding-left: 25px;
    font-size: 0.95rem;
    text-align: left; /* Keep list items left-aligned */
  }

  /* Popular Games Section */
  .page-fishing-games__popular-games-section {
    padding: 40px 0;
  }

  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__game-card {
    padding: 20px;
  }

  .page-fishing-games__game-title {
    font-size: 1.4rem;
  }

  .page-fishing-games__game-trial-frame {
    height: 250px;
  }

  /* CTA Section */
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

  .page-fishing-games__cta-box {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }

  .page-fishing-games__cta-content {
    text-align: center;
    width: 100%;
    min-width: unset;
  }

  .page-fishing-games__cta-content .page-fishing-games__section-title {
    text-align: center;
    font-size: 1.8rem;
  }

  .page-fishing-games__cta-content .page-fishing-games__paragraph {
    text-align: center;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-fishing-games__cta-image {
    width: 100% !important;
    max-width: 300px; /* Limit image size even if 100% width */
    height: auto !important;
  }

  /* FAQ Section */
  .page-fishing-games__faq-section {
    padding: 40px 0;
  }

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

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 1rem;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }

  /* General Images and Containers for mobile */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__cta-box,
  .page-fishing-games__image-text-block,
  .page-fishing-games__game-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}