/* style/fishing-games.css */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from shared.css body */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-fishing-games__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* General Section Styles */
.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700;
}

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

.page-fishing-games__text-center {
  text-align: center;
}

.page-fishing-games__dark-bg {
  background-color: #0A2463;
  color: #ffffff;
  padding: 80px 0;
}

.page-fishing-games__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #f0f0f0;
  padding: 80px 0;
}

/* Buttons */
.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: background-color 0.3s ease, color 0.3s ease, border-color 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: #FFD700;
  color: #0A2463;
  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: #0A2463;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* About Section */
.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-item {
  background-color: #0A2463;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-item img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

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

.page-fishing-games__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* How To Play Section */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
}

.page-fishing-games__step-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-fishing-games__step-number {
  background-color: #FFD700;
  color: #0A2463;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  flex-shrink: 0;
  margin-right: 20px;
}

.page-fishing-games__step-list li p {
  margin: 0;
  color: #f0f0f0;
  text-align: left;
}

.page-fishing-games__step-list li p strong {
  color: #FFD700;
}

/* Tips Section */
.page-fishing-games__tip-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
}

.page-fishing-games__tip-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-fishing-games__tip-icon {
  font-size: 1.5em;
  color: #FFD700;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-fishing-games__tip-list li p {
  margin: 0;
  color: #f0f0f0;
  text-align: left;
}

/* Video Section */
.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  max-width: 100%;
  display: block;
}

.page-fishing-games__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

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

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

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

.page-fishing-games__faq-question h3 {
  margin: 0;
  color: #FFD700;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  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: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px 20px 20px;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

/* CTA Section */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

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

  .page-fishing-games__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-fishing-games__hero-section {
    min-height: 500px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }

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

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

  .page-fishing-games__hero-cta {
    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;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

  .page-fishing-games__feature-item {
    padding: 20px;
  }

  .page-fishing-games__feature-item img {
    height: 200px;
  }

  .page-fishing-games__feature-title {
    font-size: 1.3em;
  }

  .page-fishing-games__step-list li,
  .page-fishing-games__tip-list li {
    font-size: 1em;
  }

  .page-fishing-games__step-number {
    width: 35px;
    height: 35px;
    font-size: 1em;
    margin-right: 15px;
  }

  .page-fishing-games__tip-icon {
    font-size: 1.3em;
    margin-right: 10px;
  }

  .page-fishing-games__video-wrapper {
    margin-top: 30px;
  }

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

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 10px 15px 15px 15px;
  }

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

  /* Ensure all images are responsive and do not overflow */
  .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__about-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__video-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Video specific responsive styles */
  .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: 0px; /* Video wrapper itself doesn't need padding, container does */
    padding-right: 0px;
    overflow: hidden !important;
  }

  /* Button specific responsive styles */
  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .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__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;
    overflow-x: hidden;
  }
}