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

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

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Contrast with dark background */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  text-align: center;
  overflow: hidden;
}

.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;
  opacity: 0.6;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  border-radius: 10px;
}

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

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

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-inline {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  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: #a00606;
  border-color: #a00606;
}

.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;
}

.page-fishing-games__btn-inline {
  background-color: #017439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9em;
  margin-top: 10px;
}

.page-fishing-games__btn-inline:hover {
  background-color: #005a2e;
}

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

.page-fishing-games__cta-buttons--center {
  margin-top: 40px;
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
  text-align: center;
}

/* Why huno90 Section */
.page-fishing-games__why-huno90-section {
  padding: 80px 0;
}

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

.page-fishing-games__feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-fishing-games__feature-description {
  color: #f0f0f0;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

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

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

.page-fishing-games__game-title a {
  color: #FFFF00;
  text-decoration: none;
}

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

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
}

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

.page-fishing-games__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__step-description {
  color: #f0f0f0;
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 80px 0;
}

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

.page-fishing-games__tip-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FFFF00;
  border-radius: 0 10px 10px 0;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__tip-description {
  color: #f0f0f0;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

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

.page-fishing-games__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-fishing-games__promo-description {
  color: #f0f0f0;
}

/* Security Section */
.page-fishing-games__security-section {
  padding: 80px 0;
}

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

.page-fishing-games__security-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #017439;
  border-radius: 0 10px 10px 0;
  padding: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__security-item strong {
  color: #FFFF00;
}

/* Responsible Gaming Section */
.page-fishing-games__responsible-gaming-section {
  padding: 80px 0;
}

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

.page-fishing-games__responsible-item {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #C30808;
  border-radius: 0 10px 10px 0;
  padding: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
}

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

.page-fishing-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

.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 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 value */
  padding: 20px;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

/* Global image styles */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Styles */
@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;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    flex-direction: column;
    min-height: auto;
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-content {
    padding: 20px 15px;
  }
  .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,
  .page-fishing-games__btn-inline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-fishing-games__cta-buttons,
  .page-fishing-games__hero-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 15px;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__text-block {
    font-size: 0.95em;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__step-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__security-item,
  .page-fishing-games__responsible-item,
  .page-fishing-games__faq-item {
    padding: 20px;
  }
  .page-fishing-games__game-image {
    height: 150px;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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__video-section {
    padding-top: var(--header-offset, 120px) !important; /* With !important for mobile */
  }
  /* Ensure content area images are not too small */
  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 2em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9em;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-fishing-games__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-fishing-games__faq-answer {
    padding: 15px;
  }
}