/* Base styles for the page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light body background */
  background-color: #f8f8f8; /* Slightly off-white for subtle depth */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C30808; /* Accent color */
  border-radius: 2px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, not --header-offset */
  overflow: hidden;
  background-color: #017439; /* Dark green background */
  display: flex;
  flex-direction: column; /* Image first, then content */
  align-items: center;
}

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

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

.page-fishing-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  color: #FFFFFF; /* White text on dark green background */
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly for visual interest */
  position: relative;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Yellow for main title on dark green */
}

.page-fishing-games__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container takes full width */
  box-sizing: border-box;
  overflow: hidden;
}

.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;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button takes full width */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Red for primary action */
  color: #FFFF00; /* Yellow text for primary button */
  border: 2px solid #C30808;
  box-shadow: 0 4px 15px rgba(195, 8, 8, 0.3);
}

.page-fishing-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(195, 8, 8, 0.4);
}

.page-fishing-games__btn-secondary {
  background-color: #017439; /* Brand green for secondary action */
  color: #FFFFFF; /* White text for secondary button */
  border: 2px solid #017439;
  box-shadow: 0 4px 15px rgba(1, 116, 57, 0.3);
}

.page-fishing-games__btn-secondary:hover {
  background-color: #005a2b;
  border-color: #005a2b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 116, 57, 0.4);
}

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

.page-fishing-games__intro-section p {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
  background-color: #eaf7ed; /* Light green background */
}

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

.page-fishing-games__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensure cards are same height */
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-fishing-games__feature-card p {
  font-size: 16px;
  color: #555555;
  text-align: center;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 60px 0;
  background-color: #017439; /* Dark green background */
  color: #FFFFFF; /* White text */
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
  color: #FFFFFF; /* White title on dark green */
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title::after {
  background-color: #FFFF00; /* Yellow accent */
}

.page-fishing-games__instruction-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 800px;
}

.page-fishing-games__instruction-list li {
  font-size: 18px;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-fishing-games__instruction-list li::before {
  content: counter(list-item);
  counter-increment: list-item;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #C30808; /* Red number background */
  color: #FFFFFF;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.page-fishing-games__instruction-list strong {
  color: #FFFF00; /* Yellow for emphasis */
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 800px;
  font-size: 17px;
}

.page-fishing-games__promo-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}

.page-fishing-games__promo-list li::before {
  content: '⭐'; /* Star icon */
  position: absolute;
  left: 0;
  top: 0;
}

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

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}
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: #f5f5f5;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
  color: #017439; /* Brand color for question text */
}
.page-fishing-games__faq-toggle {
  font-size: 28px; /* Larger for better visibility */
  font-weight: bold;
  color: #C30808; /* Red for toggle icon */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #555555;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
  margin-bottom: 0;
}


/* Ensure all images inside page-fishing-games are responsive by default */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all image containers are responsive */
.page-fishing-games__hero-image-wrapper,
.page-fishing-games__feature-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* General content containers for mobile to prevent overflow */
.page-fishing-games__intro-section,
.page-fishing-games__features-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden;
}

/* --- Mobile Responsiveness (@media (max-width: 768px)) --- */
@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

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

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

  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__hero-content {
    padding: 30px 15px;
    margin-top: -50px;
  }

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

  .page-fishing-games__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* CTA Buttons Mobile */
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-fishing-games__intro-section p {
    font-size: 16px;
  }

  /* Features Section Mobile */
  .page-fishing-games__features-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__feature-card {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }

  .page-fishing-games__feature-image {
    height: 180px;
    margin-bottom: 20px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__card-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  /* How to Play Section Mobile */
  .page-fishing-games__how-to-play-section {
    padding: 40px 0;
  }

  .page-fishing-games__instruction-list {
    margin-bottom: 30px;
  }

  .page-fishing-games__instruction-list li {
    font-size: 16px;
    padding-left: 25px;
  }

  .page-fishing-games__instruction-list li::before {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }

  /* Promotions Section Mobile */
  .page-fishing-games__promotions-section {
    padding: 40px 0;
  }

  .page-fishing-games__promo-list {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-fishing-games__promo-list li {
    padding-left: 25px;
  }

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

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

  details.page-fishing-games__faq-item {
    margin-bottom: 10px;
    border-radius: 8px;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 25px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }
}