/* style/fishing-games.css */

/* --- Base Styles and Typography --- */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-fishing-games h1,
.page-fishing-games h2,
.page-fishing-games h3 {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 1rem;
  font-weight: bold;
}

.page-fishing-games h1 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 900px; /* To prevent overly long lines on desktop */
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: #57E38D; /* Glow */
}

.page-fishing-games h3 {
  font-size: 1.6rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.page-fishing-games p {
  margin-bottom: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-fishing-games a {
  color: #57E38D; /* Glow */
  text-decoration: none;
}

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

/* --- Section Layouts --- */
.page-fishing-games__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-fishing-games__hero-image {
  width: 100%;
  max-height: 70vh; /* Limit height for hero image */
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 10px;
}

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

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
  margin-bottom: 1.5rem;
  color: #F2C14E; /* Gold */
}

.page-fishing-games__description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-fishing-games__description-small {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #A7D9B8;
}

/* --- Buttons --- */
.page-fishing-games__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
  max-width: 600px; /* Limit button group width */
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
}

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

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #57E38D; /* Glow */
  color: #08160F; /* Background */
  transform: translateY(-2px);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 5px;
}

.page-fishing-games__btn-link {
  background: none;
  border: 1px solid #2E7A4E; /* Border */
  color: #57E38D; /* Glow */
  padding: 10px 15px;
  font-size: 0.9rem;
  border-radius: 5px;
  display: block; /* Make it block level to take full width in step-item */
  margin-top: 15px;
}

.page-fishing-games__btn-link:hover {
  background-color: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
}

/* --- Content Wrapper and Image Alignment --- */
.page-fishing-games__content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  margin-top: 30px;
}

.page-fishing-games__image-left {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__text-block {
  flex: 1;
}

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

.page-fishing-games__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-fishing-games__card-title {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-size: 1.4rem;
}

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

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

.page-fishing-games__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #A7D9B8; /* Text Secondary */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push button to bottom */
}

.page-fishing-games__game-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-fishing-games__game-title {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.page-fishing-games__game-description {
  font-size: 0.95rem;
  margin-bottom: 15px;
  flex-grow: 1; /* Allow description to take up space */
}

/* --- How To Play Steps --- */
.page-fishing-games__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-fishing-games__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__step-title {
  color: #F2C14E; /* Gold */
  font-size: 1.25rem;
  margin-bottom: 15px;
}

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

.page-fishing-games__benefit-list li {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.05rem;
}

.page-fishing-games__benefit-list li strong {
  color: #F2FFF6; /* Text Main */
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.page-fishing-games__benefit-list li img {
  width: 200px; /* Display size */
  height: 200px; /* Display size */
  margin-bottom: 15px;
  border-radius: 10px; /* Changed to square with rounded corners */
  object-fit: cover;
  border: 3px solid #2E7A4E; /* Border */
}

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

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

.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: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #1E3A2A; /* Deep Green */
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details */
}

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

.page-fishing-games__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green darker hover */
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  font-size: 1.1rem;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 24px;
  text-align: center;
  color: #F2C14E; /* Gold */
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  border-top: 1px solid #2E7A4E; /* Border */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #0A4B2C; /* Deep Green */
}

/* --- Bottom CTA Section --- */
.page-fishing-games__cta-bottom {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #11271B; /* Card BG */
  border-top: 1px solid #2E7A4E; /* Border */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }

  .page-fishing-games__image-left {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 30px 15px;
  }

  .page-fishing-games__hero-section {
    padding: 10px 15px 40px;
  }

  .page-fishing-games h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-fishing-games h2 {
    font-size: 1.8rem;
  }

  .page-fishing-games h3 {
    font-size: 1.3rem;
  }

  .page-fishing-games p {
    font-size: 0.95rem;
  }

  /* 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__cta-buttons,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Buttons responsive */
  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-fishing-games__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-fishing-games__btn-link {
    width: auto !important; /* Allow link buttons to shrink if in a flex container */
    max-width: 100% !important;
  }

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

  .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }

  .page-fishing-games__benefit-list li img {
    width: 200px !important; /* Enforce min size on mobile as well */
    height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games h1 {
    font-size: 1.8rem;
  }
  .page-fishing-games h2 {
    font-size: 1.5rem;
  }
  .page-fishing-games h3 {
    font-size: 1.1rem;
  }
  .page-fishing-games__description {
    font-size: 0.9rem;
  }
  .page-fishing-games__btn {
    font-size: 0.95rem;
  }
}