.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from body, explicit for clarity */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-fishing-games__dark-bg {
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
}

.page-fishing-games__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.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%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0.3;
  z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Highlight color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-fishing-games__intro-section,
.page-fishing-games__guide-section,
.page-fishing-games__promo-section,
.page-fishing-games__safety-section,
.page-fishing-games__conclusion-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background from body */
  color: #ffffff; /* Light text for dark background */
}

.page-fishing-games__games-section,
.page-fishing-games__strategy-section,
.page-fishing-games__mobile-section,
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
}

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

.page-fishing-games__highlight {
  color: #FFFF00; /* Highlight color for keywords */
  font-weight: bold;
}

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

.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

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

.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;
  color: #FFFF00; /* Highlight color for card titles */
  margin-bottom: 15px;
}

.page-fishing-games__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games__card-title a:hover {
  text-decoration: underline;
}

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

.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-icon {
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #017439;
}

.page-fishing-games__step-icon img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__step-title {
  font-size: 1.8em;
  color: #FFFF00; /* Highlight color for step titles */
  margin-bottom: 15px;
}

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

.page-fishing-games__step-description a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__list-item {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly darker semi-transparent white */
  border-left: 5px solid #FFFF00;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-fishing-games__list-title {
  font-size: 1.6em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-fishing-games__list-description {
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-fishing-games__list-description a {
  color: #FFFF00;
  text-decoration: underline;
}

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

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

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

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

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

.page-fishing-games__safety-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-fishing-games__item-title {
  font-size: 1.8em;
  color: #FFFF00; /* Highlight color for item titles */
  margin-bottom: 15px;
}

.page-fishing-games__item-description {
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-fishing-games__item-description a {
  color: #FFFF00;
  text-decoration: underline;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly darker semi-transparent white */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #017439; /* Brand color */
  color: #FFFF00;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

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

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

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

.page-fishing-games__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-fishing-games__conclusion-cta {
  margin-top: 40px;
}

/* General image styling */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Consistent with other elements */
}

/* Responsive Styles */
@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 {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

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

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

  .page-fishing-games__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

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

  .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;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promo-section,
  .page-fishing-games__mobile-section,
  .page-fishing-games__safety-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__game-cards,
  .page-fishing-games__promo-cards,
  .page-fishing-games__guide-steps,
  .page-fishing-games__safety-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card,
  .page-fishing-games__step-item,
  .page-fishing-games__safety-item {
    padding: 20px;
  }

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

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

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

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

  .page-fishing-games__mobile-image {
    max-width: 300px;
  }

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

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

  /* 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__hero-image-wrapper,
  .page-fishing-games__game-cards,
  .page-fishing-games__promo-cards,
  .page-fishing-games__guide-steps,
  .page-fishing-games__mobile-content,
  .page-fishing-games__safety-grid,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-fishing-games__mobile-text {
    padding: 0 15px;
    box-sizing: border-box;
  }
}