/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#121212) */
}

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

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

.page-fishing-games__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter than body for contrast, but still dark */
  color: #ffffff;
}

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

.page-fishing-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 80px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  min-height: 600px;
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-fishing-games__hero-actions {
  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;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  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 for Register/Login */
  border: 2px solid #C30808;
}

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

.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__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-fishing-games__about-fishing-games {
  background-color: #121212; /* Match body background */
  color: #ffffff;
  text-align: left;
}

.page-fishing-games__about-fishing-games .page-fishing-games__section-title {
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
}

.page-fishing-games__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__text-block {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-fishing-games__text-block p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-fishing-games__text-block a {
  color: #FFFF00; /* Yellow for links on dark background */
  text-decoration: underline;
}

.page-fishing-games__text-block a:hover {
  color: #C30808;
}

.page-fishing-games__image-block {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: center;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__why-choose {
  background-color: #017439; /* Brand main color */
}

.page-fishing-games__why-choose .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__why-choose .page-fishing-games__section-description {
  color: #f0f0f0;
}

.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;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-fishing-games__feature-card .page-fishing-games__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-fishing-games__feature-card p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-fishing-games__feature-card a {
  color: #017439;
  text-decoration: underline;
}

.page-fishing-games__feature-card a:hover {
  color: #C30808;
}

.page-fishing-games__popular-games {
  background-color: #121212; /* Match body background */
}

.page-fishing-games__popular-games .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__popular-games .page-fishing-games__section-description {
  color: #f0f0f0;
}

.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 {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 20px 20px 10px;
  color: #017439;
}

.page-fishing-games__game-card .page-fishing-games__card-link {
  color: #017439;
  text-decoration: none;
}

.page-fishing-games__game-card .page-fishing-games__card-link:hover {
  text-decoration: underline;
  color: #C30808;
}

.page-fishing-games__game-card p {
  font-size: 0.9em;
  line-height: 1.6;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-fishing-games__how-to-play {
  background-color: #1a1a1a;
}

.page-fishing-games__how-to-play .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__how-to-play .page-fishing-games__section-description {
  color: #f0f0f0;
}

.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 {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  padding-top: 70px;
}

.page-fishing-games__step-number {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #017439;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-fishing-games__step-card .page-fishing-games__card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-fishing-games__step-card p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-fishing-games__step-card a {
  color: #017439;
  text-decoration: underline;
}

.page-fishing-games__step-card a:hover {
  color: #C30808;
}

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

.page-fishing-games__promotions {
  background-color: #121212; /* Match body background */
}

.page-fishing-games__promotions .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__promotions .page-fishing-games__section-description {
  color: #f0f0f0;
}

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

.page-fishing-games__promo-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card .page-fishing-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 20px 20px 10px;
  color: #017439;
}

.page-fishing-games__promo-card .page-fishing-games__card-link {
  color: #017439;
  text-decoration: none;
}

.page-fishing-games__promo-card .page-fishing-games__card-link:hover {
  text-decoration: underline;
  color: #C30808;
}

.page-fishing-games__promo-card p {
  font-size: 0.9em;
  line-height: 1.6;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__faq-section {
  background-color: #017439; /* Brand main color */
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__faq-section .page-fishing-games__section-description {
  color: #f0f0f0;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  list-style: none; /* For details/summary */
}

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

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

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

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
}

.page-fishing-games__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-fishing-games__faq-answer a:hover {
  color: #C30808;
}

.page-fishing-games__conclusion {
  background-color: #1a1a1a;
}

.page-fishing-games__conclusion .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__conclusion .page-fishing-games__section-description {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-bottom: 60px;
  }

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

  .page-fishing-games__hero-description {
    font-size: 1em;
  }

  .page-fishing-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-fishing-games__section-description {
    font-size: 0.95em;
  }

  .page-fishing-games__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__text-block, .page-fishing-games__image-block {
    max-width: 100%;
    min-width: unset;
  }

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

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

  .page-fishing-games__feature-icon,
  .page-fishing-games__card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games__image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-fishing-games__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }

  /* Ensure all containers with images/buttons/videos are responsive */
  .page-fishing-games__section,
  .page-fishing-games__container,
  .page-fishing-games__content-wrapper,
  .page-fishing-games__text-block,
  .page-fishing-games__image-block,
  .page-fishing-games__hero-actions,
  .page-fishing-games__features-grid,
  .page-fishing-games__feature-card,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__game-card,
  .page-fishing-games__steps-grid,
  .page-fishing-games__step-card,
  .page-fishing-games__promo-grid,
  .page-fishing-games__promo-card,
  .page-fishing-games__faq-list,
  .page-fishing-games__faq-item,
  .page-fishing-games__cta-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-fishing-games__image-block, .page-fishing-games__text-block {
    padding-left: 0;
    padding-right: 0;
  }
}