/* style/fishing-games.css */

/* Body background is dark from shared.css, so use light text */
.page-fishing-games {
  background-color: var(--background-color, #08160F);
  color: var(--text-main, #F2FFF6); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(17, 39, 27, 0.8); /* Card BG with opacity */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

.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,
.page-fishing-games__btn-tertiary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: var(--card-bg, #11271B);
  color: var(--primary-color, #11A84E);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color, #11A84E);
  color: #ffffff;
  border-color: var(--primary-color, #11A84E);
}

.page-fishing-games__btn-tertiary {
  background: var(--primary-color, #11A84E);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-fishing-games__btn-tertiary:hover {
  opacity: 0.9;
}

.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--gold-color, #F2C14E);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  padding-top: 40px;
}

.page-fishing-games__text-block {
  font-size: 1.05em;
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 30px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__image-content--large {
  max-width: 1000px;
}

.page-fishing-games__intro-section,
.page-fishing-games__features-section,
.page-fishing-games__game-types-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__faq-section,
.page-fishing-games__final-cta-section {
  padding: 60px 0;
  border-top: 1px solid var(--divider-color, #1E3A2A);
}

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

.page-fishing-games__feature-item {
  background: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-title {
  color: var(--glow-color, #57E38D);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
}

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

.page-fishing-games__game-card {
  background: var(--card-bg, #11271B);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__game-card-title {
  color: var(--text-main, #F2FFF6);
  font-size: 1.3em;
  margin: 20px 15px 10px 15px;
}

.page-fishing-games__game-card-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-tertiary {
  margin: 0 15px 20px 15px;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-fishing-games__step-item {
  background: var(--card-bg, #11271B);
  padding: 25px 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  padding-left: 80px;
}

.page-fishing-games__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color, #11A84E);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-fishing-games__step-title {
  color: var(--gold-color, #F2C14E);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
}

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

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

.page-fishing-games__promo-card {
  background: var(--card-bg, #11271B);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__promo-card-image {
  width: 100%;
  height: 220px; /* Consistent height for promo images */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__promo-card-title {
  color: var(--text-main, #F2FFF6);
  font-size: 1.3em;
  margin: 20px 15px 10px 15px;
}

.page-fishing-games__promo-card-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-tertiary {
  margin: 0 15px 20px 15px;
}

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

.page-fishing-games__advantage-item {
  background: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-fishing-games__advantage-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__advantage-title {
  color: var(--glow-color, #57E38D);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-fishing-games__advantage-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
}

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

.page-fishing-games__faq-item {
  background: var(--card-bg, #11271B);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  font-weight: bold;
  background: var(--card-bg, #11271B);
  border-radius: 10px;
  list-style: none;
}

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

.page-fishing-games__faq-question:hover {
  color: var(--primary-color, #11A84E);
}

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

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

.page-fishing-games__faq-answer {
  padding: 10px 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.8;
}

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

/* --- Responsive Styles --- */

/* Global image, video, button responsive styles for mobile */
@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__container {
    padding: 0 15px !important;
  }

  /* Images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Image containers */
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__image-content,
  .page-fishing-games__game-card-image,
  .page-fishing-games__promo-card-image,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-cards,
  .page-fishing-games__advantages-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Videos (if any) */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    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 handles --header-offset */
  }

  /* Buttons */
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }

  .page-fishing-games__hero-content {
    padding: 15px;
  }

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

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

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

  .page-fishing-games__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section {
    padding: 40px 0;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__advantage-item,
  .page-fishing-games__step-item,
  .page-fishing-games__faq-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-fishing-games__step-item::before {
    left: 20px;
    width: 35px;
    height: 35px;
    font-size: 1em;
  }

  .page-fishing-games__step-item {
    padding-left: 70px;
  }

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

  .page-fishing-games__faq-answer {
    padding: 5px 20px 15px 20px;
  }

  .page-fishing-games__game-card-image,
  .page-fishing-games__promo-card-image {
    height: 180px; /* Adjust height for smaller screens */
  }
}