/* style/fishing-games.css */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-fishing-games__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-fishing-games__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  padding: 20px;
  z-index: 2;
}

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

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-fishing-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: left;
}

.page-fishing-games__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Image Styling */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__image-full {
  width: 100%;
}

.page-fishing-games__image-medium {
  max-width: 800px;
}

.page-fishing-games__image-centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__game-card, .page-fishing-games__promo-card, .page-fishing-games__strategy-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover, .page-fishing-games__promo-card:hover, .page-fishing-games__strategy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-fishing-games__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-fishing-games__btn-secondary {
  background: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background: #e0f2f7;
  color: #26A9E0;
}

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

.page-fishing-games__btn-large {
  padding: 16px 32px;
  font-size: 1.2em;
}

.page-fishing-games__ordered-list, .page-fishing-games__unordered-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-fishing-games__ordered-list li, .page-fishing-games__unordered-list li {
  background: #f8f8f8;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #333333;
  counter-increment: list-counter;
  position: relative;
  padding-left: 60px;
}

.page-fishing-games__ordered-list li::before {
  content: counter(list-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #26A9E0;
  color: #FFFFFF;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1em;
}

.page-fishing-games__list-item-title {
  color: #26A9E0;
  font-weight: bold;
}

.page-fishing-games__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title, .page-fishing-games__dark-bg .page-fishing-games__card-title, .page-fishing-games__dark-bg .page-fishing-games__highlight {
  color: #FFFFFF;
}

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

.page-fishing-games__app-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-fishing-games__feature-item {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  flex: 1 1 300px;
  max-width: 350px;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  background-color: #e0f2f7; /* Lighter brand color for question background */
  border-bottom: 1px solid #d0e8ee;
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  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, padding 0.3s ease;
  text-align: left;
}

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

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 1.05em;
  color: #555555;
}

.page-fishing-games__call-to-action {
  background: linear-gradient(135deg, #26A9E0, #1e87b8);
  color: #FFFFFF;
  padding: 80px 20px;
}

.page-fishing-games__call-to-action .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__call-to-action .page-fishing-games__paragraph {
  color: #e0f2f7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__call-to-action .page-fishing-games__cta-buttons {
  margin-top: 40px;
}

.page-fishing-games__call-to-action .page-fishing-games__btn-primary {
  background: #EA7C07; /* Login button color */
  border-color: #EA7C07;
}

.page-fishing-games__call-to-action .page-fishing-games__btn-primary:hover {
  background: #c76706;
  border-color: #c76706;
}

.page-fishing-games__call-to-action .page-fishing-games__btn-secondary {
  background: #FFFFFF;
  color: #26A9E0;
  border-color: #FFFFFF;
}

.page-fishing-games__call-to-action .page-fishing-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #26A9E0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__paragraph {
    font-size: 1em;
  }
}

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

  .page-fishing-games__hero-section {
    height: 70vh;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
  }

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

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-fishing-games__container {
    padding: 0 15px; /* Add padding to prevent content from touching edges */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

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

  .page-fishing-games__game-grid, .page-fishing-games__promo-grid, .page-fishing-games__strategy-grid, .page-fishing-games__app-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__game-card, .page-fishing-games__promo-card, .page-fishing-games__strategy-card, .page-fishing-games__feature-item {
    padding: 20px;
    max-width: 100%;
  }

  .page-fishing-games__card-image {
    height: 180px;
  }

  .page-fishing-games__ordered-list li, .page-fishing-games__unordered-list li {
    padding: 15px 15px 15px 50px;
    font-size: 1em;
  }

  .page-fishing-games__ordered-list li::before {
    left: 15px;
    width: 25px;
    height: 25px;
    font-size: 0.9em;
  }

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

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

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

  .page-fishing-games__call-to-action {
    padding: 50px 15px;
  }

  /* Mobile responsive image styles */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive video styles */
  .page-fishing-games video,
  .page-fishing-games__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Ensure all containers with images/videos/buttons are responsive */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__app-features {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9em;
  }
  .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__card-title {
    font-size: 1.3em;
  }
  .page-fishing-games__card-image {
    height: 150px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 1em;
  }
}