/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background);
}

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
}

/* Color themes */
.page-fishing-games__dark-bg {
  background-color: var(--background);
  color: var(--text-main);
  padding: 80px 0;
}

.page-fishing-games__light-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
  padding: 80px 0;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 80px;
  background-color: var(--deep-green); /* Fallback background for content */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for better text contrast */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(8, 22, 15, 0.7); /* Semi-transparent dark background for text readability */
  border-radius: 10px;
  margin-top: -100px; /* Overlap with image slightly for visual appeal */
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

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

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--glow);
  border: 2px solid var(--glow);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--glow);
  color: var(--background);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-fishing-games__feature-item {
  text-align: center;
  padding: 30px;
  background-color: var(--background);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__feature-title {
  font-size: 24px;
  color: var(--glow);
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Game Types Section */
.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__game-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-fishing-games__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 22px;
  padding: 15px;
  color: var(--gold);
}

.page-fishing-games__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games__game-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-description {
  font-size: 16px;
  color: var(--text-secondary);
  padding: 0 15px 15px;
}

/* How To Play Section */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__step-item {
  text-align: center;
  padding: 30px;
  background-color: var(--background);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-top: 80px;
}

.page-fishing-games__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--glow);
  color: var(--background);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: 700;
  box-shadow: 0 0 0 5px var(--card-bg);
}

.page-fishing-games__step-title {
  font-size: 24px;
  color: var(--glow);
  margin-bottom: 15px;
}

.page-fishing-games__step-description {
  font-size: 16px;
  color: var(--text-secondary);
}

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

.page-fishing-games__promo-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__promo-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  padding: 15px;
  color: var(--gold);
}

.page-fishing-games__promo-title a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games__promo-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__promo-description {
  font-size: 16px;
  color: var(--text-secondary);
  padding: 0 15px 15px;
  flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-secondary {
  margin: 0 15px 15px;
  text-align: center;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider);
}

.page-fishing-games__faq-question:hover {
  background-color: var(--main-color);
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--gold);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--divider);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  color: var(--gold);
}

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 16px;
  color: var(--text-secondary);
  background-color: var(--card-bg);
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__cta-bottom-content {
  background: var(--card-bg);
  padding: 60px 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -50px;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 50px;
  }

  .page-fishing-games__hero-content {
    margin-top: -30px;
    padding: 20px 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
    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% !important; /* Force full width on mobile */
    max-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__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__dark-bg,
  .page-fishing-games__light-bg {
    padding: 60px 0;
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 20px;
  }

  .page-fishing-games__text-block {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__feature-icon {
    width: 120px;
    height: 120px;
  }

  .page-fishing-games__game-thumbnail {
    height: 180px;
  }

  .page-fishing-games__promo-thumbnail {
    height: 200px;
  }

  .page-fishing-games__cta-bottom-content {
    padding: 40px 20px;
  }

  .page-fishing-games__faq-question {
    font-size: 18px;
    padding: 15px;
  }

  .page-fishing-games__faq-answer {
    font-size: 15px;
    padding: 15px;
  }
}