/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background is white */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__section-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
  color: inherit; /* Inherits from section, ensuring contrast */
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
}

.page-fishing-games__text-block {
  max-width: 800px;
  margin: 0 auto 20px auto;
  font-size: 1rem;
  line-height: 1.7;
}

.page-fishing-games__keyword {
  color: inherit; /* Inherit to maintain contrast */
  font-weight: bold;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is decorative */
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
  max-width: 800px;
  padding: 0 20px;
  text-align: center;
  color: #ffffff;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
}

.page-fishing-games__intro-description {
  font-size: 1.15rem;
  margin-bottom: 40px;
  color: #ffffff;
}

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

.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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-fishing-games__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

.page-fishing-games__cta-center {
  margin-top: 40px;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__game-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-fishing-games__feature-image,
.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Limit height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__card-title {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #017439;
}

.page-fishing-games__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Guide List */
.page-fishing-games__guide-list,
.page-fishing-games__promo-list,
.page-fishing-games__reason-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-fishing-games__guide-list li,
.page-fishing-games__promo-list li,
.page-fishing-games__reason-list li {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  position: relative;
  counter-increment: list-item-counter;
}

.page-fishing-games__guide-list li::before {
  content: counter(list-item-counter);
  position: absolute;
  left: -15px;
  top: 20px;
  background-color: #017439;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.page-fishing-games__reason-list li .page-fishing-games__list-icon {
  color: #017439;
  font-size: 1.2rem;
  margin-right: 10px;
}

.page-fishing-games__list-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: #017439;
  margin-bottom: 5px;
  display: inline-block; /* For reason list icon alignment */
}

.page-fishing-games__list-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 5px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-radius: 8px;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  color: #017439;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-fishing-games__faq-answer {
  padding: 15px 20px 20px 20px;
  font-size: 0.95rem;
  color: #555555;
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: "−";
}

/* Final CTA Section */
.page-fishing-games__final-cta {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    max-width: 700px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  .page-fishing-games__intro-description {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-fishing-games__hero-content {
    padding: 0 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-fishing-games__intro-description {
    font-size: 1rem;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image and Video 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__hero-image-wrapper,
  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__guide-list,
  .page-fishing-games__promo-list,
  .page-fishing-games__reason-list,
  .page-fishing-games__faq-list,
  .page-fishing-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-fishing-games__guide-list li::before {
    left: 5px;
  }
  .page-fishing-games__guide-list li,
  .page-fishing-games__promo-list li,
  .page-fishing-games__reason-list li {
    padding-left: 50px; /* Adjust for counter position */
  }

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

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }
  .page-fishing-games__intro-description {
    font-size: 0.95rem;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}