/* style/fishing-games.css */
.page-fishing-games {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Inherit from body var(--dark-bg) */
}

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

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

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

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-fishing-games__text-block a {
  color: #FFD700;
  text-decoration: none;
}

.page-fishing-games__text-block a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
  color: #ffffff;
}

.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.5); /* Darken background image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

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

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

.page-fishing-games__hero-buttons,
.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: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background-color: #FFD700;
  color: #1A2B3C;
  border: 2px solid #FFD700;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A2B3C;
}

.page-fishing-games__btn-tertiary {
  background-color: #1A2B3C;
  color: #FFD700;
  border: 2px solid #1A2B3C;
}

.page-fishing-games__btn-tertiary:hover {
  background-color: #FFD700;
  color: #1A2B3C;
  border-color: #FFD700;
}

/* Feature Grid */
.page-fishing-games__features {
  background-color: rgba(26, 43, 60, 0.8);
}

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

.page-fishing-games__feature-card {
  background-color: #1A2B3C;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
}

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

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

.page-fishing-games__card-description {
  font-size: 1em;
  color: #cccccc;
}

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

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

.page-fishing-games__game-card {
  background-color: #1A2B3C;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* How to Play */
.page-fishing-games__how-to-play {
  background-color: rgba(26, 43, 60, 0.8);
}

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

.page-fishing-games__list-item {
  background-color: #1A2B3C;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-fishing-games__list-title {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-fishing-games__list-item p {
  color: #cccccc;
}

.page-fishing-games__list-item a {
  color: #FFD700;
  text-decoration: none;
}

.page-fishing-games__list-item a:hover {
  text-decoration: underline;
}

/* Promotions */
.page-fishing-games__promotions {
  background-color: transparent;
}

.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: #1A2B3C;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Tips Section */
.page-fishing-games__tips {
  background-color: rgba(26, 43, 60, 0.8);
}

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

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

.page-fishing-games__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: #1A2B3C;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: #1A2B3C;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

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

.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 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #cccccc;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure override */
  padding: 15px 25px;
}

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

/* CTA Bottom */
.page-fishing-games__cta-bottom {
  background-color: #FFD700;
  color: #1A2B3C;
  padding: 80px 20px;
}

.page-fishing-games__cta-content .page-fishing-games__section-title {
  color: #1A2B3C;
}

.page-fishing-games__cta-content .page-fishing-games__text-block {
  color: #1A2B3C;
}

.page-fishing-games__cta-content .page-fishing-games__text-block a {
  color: #1A2B3C;
  font-weight: bold;
}

.page-fishing-games__cta-content .page-fishing-games__text-block a:hover {
  text-decoration: underline;
}

.page-fishing-games__cta-bottom .page-fishing-games__btn-primary {
  background-color: #1A2B3C;
  color: #FFD700;
  border-color: #1A2B3C;
}

.page-fishing-games__cta-bottom .page-fishing-games__btn-primary:hover {
  background-color: #0d1a26;
  border-color: #0d1a26;
}

.page-fishing-games__cta-bottom .page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #1A2B3C;
  border-color: #1A2B3C;
}

.page-fishing-games__cta-bottom .page-fishing-games__btn-secondary:hover {
  background-color: #1A2B3C;
  color: #FFD700;
}

/* Responsive Styles */
@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__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

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

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

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

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

  .page-fishing-games__container,
  .page-fishing-games__feature-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__step-list,
  .page-fishing-games__promo-grid,
  .page-fishing-games__tip-list,
  .page-fishing-games__faq-list {
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__list-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0;
    margin-right: 0;
  }

  /* Ensure all images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video specific mobile adaptation (if any video is added) */
  .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;
  }
}

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

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

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

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

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