/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #111, so text is light */
  background-color: transparent; /* Inherit from body or shared */
}

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

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

.page-fishing-games__dark-bg {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #FFFFFF; /* White background for better contrast on cards/content */
  color: #333333;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
}

.page-fishing-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability, no color change */
}

.page-fishing-games__hero-section .page-fishing-games__container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-fishing-games__hero-title {
  font-size: 3.2em;
  color: #FFFF00; /* Register and Login font color for emphasis */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: inherit;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Benefits Section */
.page-fishing-games__benefits-section .page-fishing-games__section-title,
.page-fishing-games__benefits-section .page-fishing-games__section-description {
  color: #ffffff; /* Text on dark body 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-card.page-fishing-games__card {
  text-align: left;
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-fishing-games__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #333333;
}

/* Game Types Section */
.page-fishing-games__game-types-section .page-fishing-games__section-title,
.page-fishing-games__game-types-section .page-fishing-games__section-description {
  color: #ffffff;
}

.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.page-fishing-games__card {
  overflow: hidden;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
  min-height: 200px; /* Enforce minimum size */
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  color: #017439;
  padding: 0 20px;
}

.page-fishing-games__game-card .page-fishing-games__card-text {
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin-top: auto;
  margin-bottom: 20px;
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Strategy Section */
.page-fishing-games__strategy-section .page-fishing-games__section-title,
.page-fishing-games__strategy-section .page-fishing-games__section-description {
  color: #ffffff;
}

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

.page-fishing-games__strategy-image {
  flex: 1 1 45%;
  max-width: 45%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-fishing-games__strategy-list {
  flex: 1 1 50%;
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-fishing-games__strategy-list li {
  background-color: #f8f8f8;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-fishing-games__strategy-list li h3 {
  color: #017439;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.page-fishing-games__strategy-list li p {
  color: #555555;
  font-size: 0.95em;
}

/* Promotions Section */
.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-description {
  color: #ffffff;
}

.page-fishing-games__promo-banner {
  margin-bottom: 50px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

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

.page-fishing-games__promo-card.page-fishing-games__card {
  text-align: left;
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.page-fishing-games__promo-card .page-fishing-games__card-title {
  color: #017439;
}

.page-fishing-games__promo-card .page-fishing-games__card-text {
  color: #555555;
}

.page-fishing-games__cta-bottom {
  margin-top: 50px;
}

.page-fishing-games__cta-bottom .page-fishing-games__btn-secondary {
  color: #ffffff;
  border-color: #ffffff;
}

.page-fishing-games__cta-bottom .page-fishing-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* Registration Guide Section */
.page-fishing-games__registration-guide-section .page-fishing-games__section-title,
.page-fishing-games__registration-guide-section .page-fishing-games__section-description {
  color: #ffffff;
}

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

.page-fishing-games__step-card.page-fishing-games__card {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  height: 100%;
}

.page-fishing-games__step-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-fishing-games__step-card .page-fishing-games__card-title {
  color: #017439;
}

.page-fishing-games__step-card .page-fishing-games__card-text {
  color: #555555;
}

/* FAQ Section */
.page-fishing-games__faq-section .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-description {
  color: #ffffff;
}

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

.page-fishing-games__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f8f8f8;
  cursor: pointer;
  font-weight: bold;
  color: #017439;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #e0e0e0;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 0.95em;
  color: #555555;
}

/* Final CTA Section */
.page-fishing-games__final-cta-section .page-fishing-games__section-title,
.page-fishing-games__final-cta-section .page-fishing-games__section-description {
  color: #ffffff;
}

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

  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

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

  .page-fishing-games__hero-section {
    padding-bottom: 60px;
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-fishing-games__section {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__strategy-content {
    flex-direction: column;
  }

  .page-fishing-games__strategy-image {
    max-width: 100%;
    min-width: 100%;
  }

  .page-fishing-games__strategy-list {
    flex: 1 1 100%;
  }

  .page-fishing-games__strategy-list li,
  .page-fishing-games__promo-card.page-fishing-games__card,
  .page-fishing-games__feature-card.page-fishing-games__card,
  .page-fishing-games__game-card.page-fishing-games__card,
  .page-fishing-games__step-card.page-fishing-games__card {
    padding: 25px;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image,
  .page-fishing-games__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .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-section,
  .page-fishing-games__promo-banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for video section on mobile */
  }

  .page-fishing-games__faq-question h3 {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }

  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
}