/* style/fishing-games.css */

/* Base styles for the page content, ensuring light text on dark background */
.page-fishing-games {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-fishing-games__section-spacing {
  padding: 60px 0;
}

.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;
  text-align: center;
  padding-bottom: 60px; /* Spacing between image and content */
  overflow: hidden; /* Ensure no image overflow */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-fishing-games__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Pull content slightly over image for visual appeal, but not overlapping text on image */
  position: relative;
  z-index: 2; /* Ensure content is above image wrapper if any subtle overlap */
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-fishing-games__hero-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* Common Section Titles */
.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__text-block {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

/* 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;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Ensure long words break */
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #2AD16F; /* A lighter green from the gradient */
  border: 2px solid #2AD16F; /* Border using a vibrant green */
}

.page-fishing-games__btn-secondary:hover {
  background: #2AD16F; /* A lighter green */
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.2);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Text links */
.page-fishing-games a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games a:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

/* Content Flex Layout */
.page-fishing-games__content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-fishing-games__content-flex--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__image-wrapper {
  flex: 1;
  min-width: 300px; /* Minimum width for image wrapper */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  display: flex; /* Ensure image fills wrapper */
  justify-content: center;
  align-items: center;
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

.page-fishing-games__text-content {
  flex: 1;
  min-width: 300px; /* Minimum width for text content */
}

/* Game Grid */
.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: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6;
}

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__card-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1; /* Push button to bottom */
}

.page-fishing-games__view-all {
  text-align: center;
  margin-top: 50px;
}

/* Tips List */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__tips-list li {
  background-color: #11271B; /* Card BG */
  border-left: 5px solid #2AD16F; /* Highlight with a vibrant green */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: #F2FFF6; /* Text Main */
}

.page-fishing-games__tips-list li strong {
  color: #57E38D; /* Glow */
}

/* Dark Section */
.page-fishing-games__dark-section {
  background-color: #0A4B2C; /* Deep Green */
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  user-select: none;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #1E3A2A; /* Divider - slightly darker for open state */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: justify;
}

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

/* Remove default details arrow */
.page-fishing-games__faq-item summary {
  list-style: none;
}
.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Final CTA */
.page-fishing-games__cta-final {
  text-align: center;
  margin-top: 50px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__sub-title {
    font-size: 1.5em;
  }
  .page-fishing-games__content-flex {
    flex-direction: column;
  }
  .page-fishing-games__content-flex--reverse {
    flex-direction: column; /* Revert order on mobile for consistency */
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section-spacing {
    padding: 40px 0;
  }
  .page-fishing-games__hero-content {
    margin-top: -40px;
    padding: 30px 15px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust clamp for smaller screens */
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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-left: 15px;
    padding-right: 15px;
  }

  /* Image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__image-wrapper,
  .page-fishing-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-fishing-games__card-image {
    height: auto !important; /* Allow auto height for card images on mobile */
  }

  /* Container/Section padding for mobile */
  .page-fishing-games__container,
  .page-fishing-games__intro-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Specific padding for first section if needed, but body handles overall top padding */
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Small decorative top padding, body handles header offset */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-content {
    margin-top: -20px; /* Adjust overlap for mobile */
  }

  .page-fishing-games__game-grid {
    grid-template-columns: 1fr; /* Stack cards on mobile */
  }
}