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

.page-fishing-games__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-fishing-games__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__section-subtitle {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #f0f8f0; /* Light green background */
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__hero-title {
  font-size: clamp(32px, 4vw, 48px); /* H1 with clamp for responsiveness */
  font-weight: 800;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-description {
  font-size: 19px;
  color: #444444;
  margin-bottom: 30px;
}

.page-fishing-games__hero-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: 700;
  font-size: 18px;
  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; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #e0f0e0;
  border-color: #017439;
  transform: translateY(-2px);
}

/* Why Choose Section */
.page-fishing-games__why-choose {
  background-color: #ffffff;
}

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

.page-fishing-games__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

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

.page-fishing-games__feature-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__feature-text {
  font-size: 16px;
  color: #666666;
}

/* Popular Games Section */
.page-fishing-games__popular-games {
  background-color: #f0f8f0;
}

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

.page-fishing-games__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

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

.page-fishing-games__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  min-height: 70px; /* Ensure consistent card height */
}

.page-fishing-games__btn-play {
  display: inline-block;
  padding: 10px 25px;
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-play:hover {
  background-color: #a00606;
}

/* Guide Section */
.page-fishing-games__guide {
  background-color: #ffffff;
}

.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-fishing-games__guide-item {
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.page-fishing-games__guide-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__guide-step-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__guide-text {
  font-size: 16px;
  color: #666666;
}

.page-fishing-games__guide-cta {
  text-align: center;
}

/* Promotions Section */
.page-fishing-games__promotions {
  background-color: #f0f8f0;
}

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

.page-fishing-games__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__promo-text {
  font-size: 16px;
  color: #666666;
  min-height: 80px; /* Ensure consistent card height */
}

.page-fishing-games__promotions-cta {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-fishing-games__faq {
  background-color: #ffffff;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Final CTA Section */
.page-fishing-games__final-cta-section {
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-fishing-games__final-cta-title {
  font-size: 38px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__final-cta-description {
  font-size: 19px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Mobile Responsiveness (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 15px;
  }

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

  .page-fishing-games__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Still small top padding */
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

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

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

  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

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

  /* Why Choose Section */
  .page-fishing-games__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-fishing-games__feature-title {
    font-size: 20px;
  }

  .page-fishing-games__feature-text {
    font-size: 15px;
  }

  /* Popular Games Section */
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-fishing-games__game-title {
    font-size: 20px;
  }

  .page-fishing-games__game-description {
    font-size: 14px;
    min-height: auto;
  }

  .page-fishing-games__btn-play {
    font-size: 15px;
    padding: 10px 20px;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Guide Section */
  .page-fishing-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__guide-item {
    padding: 20px;
  }

  .page-fishing-games__guide-icon {
    max-width: 120px;
  }

  .page-fishing-games__guide-step-title {
    font-size: 20px;
  }

  .page-fishing-games__guide-text {
    font-size: 15px;
  }

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

  /* Promotions Section */
  .page-fishing-games__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__promo-card {
    padding: 20px;
  }

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

  .page-fishing-games__promo-title {
    font-size: 20px;
  }

  .page-fishing-games__promo-text {
    font-size: 15px;
    min-height: auto;
  }

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

  /* FAQ Section */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 15px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }
  .page-fishing-games__faq-answer p {
    font-size: 15px;
  }

  /* Final CTA Section */
  .page-fishing-games__final-cta-section {
    padding: 50px 15px;
  }

  .page-fishing-games__final-cta-title {
    font-size: 28px;
  }

  .page-fishing-games__final-cta-description {
    font-size: 16px;
  }

  .page-fishing-games__final-cta-section .page-fishing-games__btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General image and button overrides for mobile */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__hero-content,
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promo-cards,
  .page-fishing-games__faq-list,
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__guide-cta,
  .page-fishing-games__promotions-cta,
  .page-fishing-games__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Desktop specific overrides for 1024px, though 768px is primary mobile breakpoint */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 34px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(30px, 4vw, 42px);
  }
  .page-fishing-games__final-cta-title {
    font-size: 34px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promo-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}