/* 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: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-fishing-games__dark-bg {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff; /* Auxiliary color for light sections */
  color: #333333;
}

.page-fishing-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  padding-bottom: 60px;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken 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;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for important titles */
  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-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-card,
.page-fishing-games__btn-download {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom color for Register/Login font */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e02020;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

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

.page-fishing-games__text-block--small {
  font-size: 0.95em;
  opacity: 0.9;
}

.page-fishing-games__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
}

.page-fishing-games__inline-link {
  color: #FFFF00; /* Highlight important links */
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__inline-link:hover {
  text-decoration: underline;
}

.page-fishing-games__keyword {
  font-weight: bold;
  color: #FFFF00;
}

.page-fishing-games__game-grid,
.page-fishing-games__promo-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 {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

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

.page-fishing-games__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-fishing-games__card-description {
  font-size: 1em;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-fishing-games__btn-card {
  background-color: #C30808;
  color: #FFFF00;
  padding: 12px 25px;
  font-size: 0.95em;
}

.page-fishing-games__btn-card:hover {
  background-color: #e02020;
}

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

.page-fishing-games__step-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-fishing-games__step-icon {
  background-color: #017439;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px;
}

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

.page-fishing-games__step-description {
  font-size: 0.95em;
  color: #555555;
}

.page-fishing-games__content-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-fishing-games__content-flex--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__text-content {
  flex: 1;
}

.page-fishing-games__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__strategy-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-fishing-games__strategy-list li {
  margin-bottom: 10px;
}

.page-fishing-games__strategy-list strong {
  color: #FFFF00;
}

.page-fishing-games__safety-features {
  list-style-type: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__safety-features li {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: #ffffff;
}

.page-fishing-games__safety-features li::before {
  content: '✔';
  color: #FFFF00;
  font-size: 1.5em;
  line-height: 1;
  flex-shrink: 0;
}

.page-fishing-games__safety-features li strong {
  color: #FFFF00;
}

.page-fishing-games__mobile-features {
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
  color: #333333;
}

.page-fishing-games__mobile-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-fishing-games__mobile-features li::before {
  content: '📱';
  position: absolute;
  left: 0;
  top: 0;
}

.page-fishing-games__btn-download {
  background-color: #C30808;
  color: #FFFF00;
  margin-top: 20px;
  padding: 15px 40px;
  font-size: 1.1em;
}

.page-fishing-games__btn-download:hover {
  background-color: #e02020;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-title {
  margin: 0;
  color: #ffffff;
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form a cross */
}

.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: #f0f0f0;
}

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

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

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

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

  .page-fishing-games__content-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__content-flex--reverse {
    flex-direction: column;
  }
}

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

  .page-fishing-games__hero-section {
    min-height: 500px;
    padding-bottom: 40px;
  }

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

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-card,
  .page-fishing-games__btn-download {
    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__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__step-by-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  /* Mobile image and container responsiveness */
  .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__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-fishing-games__faq-answer {
    padding: 0 15px; /* Adjust padding for mobile */
  }

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 15px 25px; /* Adjust padding for mobile */
  }
}