/* style/fishing-games.css */

/* Base styles for the page, inheriting from body's padding-top */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color from custom palette */
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* General container for content */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

/* Paragraph styles */
.page-fishing-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #F2FFF6; /* Main text color */
}

.page-fishing-games__paragraph-secondary {
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
  line-height: 1.5;
  text-align: justify;
}

/* Card styles */
.page-fishing-games__card {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Main text color for card content */
}

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

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: auto; /* Ensures aspect ratio is maintained */
  max-height: 600px; /* Limit height on very large screens */
  overflow: hidden;
  position: relative;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-fishing-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
}

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

.page-fishing-games__intro-text {
  font-size: clamp(1em, 1.5vw, 1.3em);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #F2FFF6; /* Main text color */
}

/* CTA Button styles */
.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Main text color for buttons */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

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

.page-fishing-games__cta-button--large {
  padding: 18px 45px;
  font-size: 1.3em;
}

.page-fishing-games__btn-small {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Main text color */
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.9em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 15px;
}

.page-fishing-games__btn-small:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

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

/* --- Why Choose Us Section --- */
.page-fishing-games__why-choose-us {
  padding: 60px 0;
  background-color: #11271B; /* Card BG color as section background */
}

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

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

.page-fishing-games__feature-icon {
  width: 100%; /* Ensure image fits card width */
  height: auto;
  max-width: 150px; /* Example max-width for feature icons */
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold color for titles */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* --- Game Types Section --- */
.page-fishing-games__game-types {
  padding: 60px 0;
  background-color: #08160F; /* Background color */
}

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

.page-fishing-games__game-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-fishing-games__game-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold color */
  margin-bottom: 10px;
  font-weight: bold;
}

/* --- How to Play Section --- */
.page-fishing-games__how-to-play {
  padding: 60px 0;
  background-color: #11271B; /* Card BG color as section background */
}

.page-fishing-games__guide-content {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
}

.page-fishing-games__guide-steps {
  flex: 1;
}

.page-fishing-games__ordered-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-fishing-games__ordered-list li {
  margin-bottom: 25px;
  position: relative;
  padding-left: 45px;
  color: #F2FFF6; /* Main text color */
}

.page-fishing-games__ordered-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #2AD16F; /* Green color */
  color: #F2FFF6;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-fishing-games__step-title {
  font-size: 1.3em;
  color: #F2C14E; /* Gold color */
  margin-bottom: 8px;
  font-weight: bold;
}

.page-fishing-games__guide-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
}

.page-fishing-games__guide-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* --- Strategies Section --- */
.page-fishing-games__strategies {
  padding: 60px 0;
  background-color: #08160F; /* Background color */
}

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

.page-fishing-games__strategy-item {
  text-align: left;
}

.page-fishing-games__strategy-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__strategy-image-wrapper {
    margin-top: 50px;
    text-align: center;
}

.page-fishing-games__strategy-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* --- Promotions Section --- */
.page-fishing-games__promotions {
  padding: 60px 0;
  background-color: #11271B; /* Card BG color as section background */
}

.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__promotion-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #F2FFF6; /* Main text color */
}

.page-fishing-games__promotion-list li strong {
  color: #F2C14E; /* Gold color */
}

.page-fishing-games__promotion-list li::before {
  content: '⭐'; /* Star icon */
  position: absolute;
  left: 0;
  color: #F2C14E; /* Gold color */
  font-size: 1.2em;
  line-height: 1.5;
}

.page-fishing-games__promotion-image-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-fishing-games__promotion-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

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

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

.page-fishing-games__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #F2C14E; /* Gold color for question */
  background-color: #1E3A2A; /* Divider color */
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary:hover {
  background-color: #2E7A4E; /* Border color on hover */
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2FFF6; /* Main text color */
}

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

.page-fishing-games__faq-answer {
  padding: 15px 20px 5px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
  line-height: 1.5;
}

.page-fishing-games__faq-image-wrapper {
    margin-top: 40px;
    text-align: center;
}

.page-fishing-games__faq-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* --- Final CTA Section --- */
.page-fishing-games__cta-final {
  padding: 80px 0;
  text-align: center;
  background-color: #11271B; /* Card BG color as section background */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-content {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__paragraph,
  .page-fishing-games__paragraph-secondary {
    font-size: 0.95em;
  }

  /* Hero Section */
  .page-fishing-games__hero-section {
    padding: 10px 0; /* Small padding-top, body handles header-offset */
  }
  .page-fishing-games__hero-content {
    width: 95%;
    padding: 10px;
  }
  .page-fishing-games__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }
  .page-fishing-games__intro-text {
    font-size: 0.9em;
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-fishing-games__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Grid layouts */
  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__strategy-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  /* How to Play Section */
  .page-fishing-games__guide-content {
    flex-direction: column; /* Stack vertically */
    gap: 20px;
  }
  .page-fishing-games__guide-image-wrapper {
    min-width: unset;
  }

  /* Images responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__guide-image-wrapper,
  .page-fishing-games__strategy-image-wrapper,
  .page-fishing-games__promotion-image-wrapper,
  .page-fishing-games__faq-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px; /* Add padding to prevent edge-to-edge content */
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-fishing-games__cta-button,
  .page-fishing-games__btn-small,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    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;
  }
  .page-fishing-games__cta-wrapper,
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex; /* Ensure flex behavior for wrapping buttons */
    flex-direction: column; /* Stack buttons vertically by default */
  }
  .page-fishing-games__btn-small {
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }
  .page-fishing-games__cta-button {
    font-size: 0.9em;
  }
  .page-fishing-games__faq-item summary {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 15px 5px 15px;
  }
}

/* Ensure no filter on images */
.page-fishing-games img {
  filter: none; /* Explicitly remove any filter */
}
.page-fishing-games__hero-image {
  filter: brightness(0.7); /* Only hero image has brightness filter for text readability */
}