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

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

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

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

.page-fishing-games__text-block strong {
  color: #FFFFFF;
}

.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__list-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-title {
  font-size: 1.4em;
  color: #017439;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
}

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

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

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

/* 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: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Use custom color for register/login */
  color: #FFFF00; /* Use custom color for register/login font */
  border: 2px solid #C30808;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
  transform: translateY(-3px);
}

/* Sections */
.page-fishing-games__intro-section,
.page-fishing-games__game-types-section,
.page-fishing-games__strategy-section,
.page-fishing-games__mobile-section,
.page-fishing-games__cta-section {
  padding: 60px 0;
}

.page-fishing-games__advantages-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 60px 0;
}

/* Background Colors */
.page-fishing-games__dark-section {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #1a1a1a; /* Body background color */
  color: #ffffff;
}

/* Specific Section Title Colors */
.page-fishing-games__intro-section .page-fishing-games__section-title,
.page-fishing-games__game-types-section .page-fishing-games__section-title,
.page-fishing-games__strategy-section .page-fishing-games__section-title,
.page-fishing-games__mobile-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__advantages-section .page-fishing-games__section-title,
.page-fishing-games__guide-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: #FFFFFF;
}

/* Grid Layout */
.page-fishing-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Cards */
.page-fishing-games__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-fishing-games__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__card-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Ordered List */
.page-fishing-games__ordered-list {
  list-style: decimal;
  padding-left: 20px;
}

.page-fishing-games__ordered-list .page-fishing-games__list-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__ordered-list .page-fishing-games__list-title {
  color: #017439;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-fishing-games__ordered-list .page-fishing-games__list-text {
  color: #f0f0f0;
}

/* Mobile Section */
.page-fishing-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-fishing-games__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 300px;
}

.page-fishing-games__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-fishing-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px 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: rgba(1, 116, 57, 0.7); /* Brand color with transparency */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.8em;
  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 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 to show content */
  padding: 20px;
}

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

.page-fishing-games__faq-answer a {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Global image reset to ensure responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

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

  .page-fishing-games__card-title {
    font-size: 1.4em;
  }

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

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

  .page-fishing-games__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .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% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

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

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

  .page-fishing-games__card {
    padding: 20px;
  }

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

  .page-fishing-games__card-title {
    font-size: 1.2em;
  }

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

  .page-fishing-games__list-title {
    font-size: 1.2em;
  }

  .page-fishing-games__mobile-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-fishing-games__mobile-image-wrapper {
    order: -1; /* Image above text on mobile */
  }

  .page-fishing-games__mobile-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

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

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

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__mobile-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;
  }

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

  .page-fishing-games__cta-buttons a {
    width: 100%;
  }
}

/* Ensure images in content sections are at least 200x200px */
.page-fishing-games__card-image,
.page-fishing-games__mobile-image {
  min-width: 200px;
  min-height: 200px;
}