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

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

/* Sections */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 80px;
  min-height: 600px;
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF;
  overflow: hidden;
}

.page-fishing-games__hero-content {
  z-index: 1;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-fishing-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.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;
  flex-wrap: wrap;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  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__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  background-color: #FFFFFF; /* Light background */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-fishing-games__features-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__benefits-section,
.page-fishing-games__cta-final-section {
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF; /* Light text for dark background */
  padding: 60px 0;
}

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

.page-fishing-games__introduction-section .page-fishing-games__section-title,
.page-fishing-games__game-types-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #26A9E0; /* Primary color for titles on light background */
}

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

.page-fishing-games__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Feature Grid */
.page-fishing-games__feature-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__feature-card,
.page-fishing-games__promo-card {
  background-color: #FFFFFF; /* White background for cards on dark sections */
  color: #333333; /* Dark text for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-image,
.page-fishing-games__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__feature-title,
.page-fishing-games__promo-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #26A9E0; /* Primary color for titles in cards */
}

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

/* Lists */
.page-fishing-games__game-list,
.page-fishing-games__steps-list,
.page-fishing-games__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__game-list .page-fishing-games__list-item,
.page-fishing-games__steps-list .page-fishing-games__list-item,
.page-fishing-games__benefits-list .page-fishing-games__list-item {
  background-color: #f8f8f8; /* Light background for list items on light sections */
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #333333;
}

.page-fishing-games__how-to-play-section .page-fishing-games__list-item,
.page-fishing-games__benefits-section .page-fishing-games__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-left-color: #FFFFFF;
}

.page-fishing-games__list-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #26A9E0; /* Primary color for titles on light sections */
}

.page-fishing-games__how-to-play-section .page-fishing-games__list-title,
.page-fishing-games__benefits-section .page-fishing-games__list-title {
  color: #FFFFFF; /* White for titles on dark sections */
}

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

.page-fishing-games__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb3;
  border-color: #1a7fb3;
}

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

.page-fishing-games__view-all-promos,
.page-fishing-games__view-all-faq {
  margin-top: 40px;
  display: block;
  text-align: center;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eee;
  color: #26A9E0; /* Primary brand color for questions */
}

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

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

.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;
  background-color: #fefefe;
}

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

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

/* Dark/Light background classes for text contrast */
.page-fishing-games__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-fishing-games__medium-bg {
  background-color: #f8f8f8;
  color: #333333;
}

/* Responsive Design */
@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 {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-bottom: 60px;
  }

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

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

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

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

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

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

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

  /* Images responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__feature-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__container,
  .page-fishing-games__cta-container,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__feature-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__promo-card {
    padding: 20px;
  }

  .page-fishing-games__list-item {
    padding: 15px;
  }

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

  .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__hero-image {
    filter: brightness(0.4); /* Darken more for better contrast on small screens */
  }
}

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

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

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