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

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
  padding-bottom: 40px;
  background-color: #017439; /* Fallback for content area */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 810px;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 30px auto 0;
  text-align: center;
  color: #ffffff;
  padding: 0 15px;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Custom color for main title */
}

.page-fishing-games__description {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-fishing-games__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-fishing-games__section-title--white {
  color: #ffffff;
}

.page-fishing-games__section-intro {
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333333;
}

.page-fishing-games__section-intro--white {
  color: #f0f0f0;
}

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

.page-fishing-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
}

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

.page-fishing-games__feature-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__feature-title {
  font-size: 22px;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  font-size: 15px;
  color: #555555;
}

/* Popular Games Section */
.page-fishing-games__popular-games {
  padding: 60px 0;
}

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

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFFF00;
  margin-bottom: 10px;
}

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

.page-fishing-games__game-trial-frame {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
  margin-bottom: 20px;
  background-color: rgba(0, 0, 0, 0.2);
}

/* Strategy Guide Section */
.page-fishing-games__strategy-guide {
  padding: 60px 0;
}

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

.page-fishing-games__guide-item {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #e0e0e0;
}

.page-fishing-games__guide-title {
  font-size: 22px;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__guide-item p {
  font-size: 16px;
  color: #555555;
}

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

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

.page-fishing-games__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFFF00;
  margin-bottom: 10px;
}

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

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

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-fishing-games__step-item {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border-left: 5px solid #017439;
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__step-item p {
  font-size: 16px;
  color: #555555;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

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

/* Universal Image Responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 42px;
  }
  .page-fishing-games__section-title {
    font-size: 34px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__guide-title,
  .page-fishing-games__step-title {
    font-size: 20px;
  }
  .page-fishing-games__description,
  .page-fishing-games__section-intro,
  .page-fishing-games__feature-description,
  .page-fishing-games__game-description,
  .page-fishing-games__promo-description,
  .page-fishing-games__guide-item p,
  .page-fishing-games__step-item p {
    font-size: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }
  .page-fishing-games__hero-image {
    object-fit: contain !important; /* Ensure banner image is contained, as per U888 rule */
  }
  .page-fishing-games__hero-content {
    margin-top: 20px;
  }
  .page-fishing-games__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-fishing-games__description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    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: 28px;
    margin-bottom: 15px;
  }
  .page-fishing-games__section-intro {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .page-fishing-games__features-section,
  .page-fishing-games__popular-games,
  .page-fishing-games__strategy-guide,
  .page-fishing-games__promotions,
  .page-fishing-games__how-to-play,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__guide-content,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__guide-item,
  .page-fishing-games__step-item {
    padding: 20px;
  }
  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 180px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__guide-title,
  .page-fishing-games__step-title {
    font-size: 18px;
  }
  .page-fishing-games__feature-description,
  .page-fishing-games__game-description,
  .page-fishing-games__promo-description,
  .page-fishing-games__guide-item p,
  .page-fishing-games__step-item p {
    font-size: 14px;
  }
  .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;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
  .page-fishing-games__faq-qtext { font-size: 15px; }

  /* Mandatory 768px media query blocks for specific elements, even if not present on this page */
  /* Banner __hero-section: covered above with object-fit: contain */
  /* Three access links __access-links: if they existed */
  .page-fishing-games__access-links { flex-direction: column; gap: 10px; }
  .page-fishing-games__access-link { max-width: 100%; width: 100%; }
  /* Five entries __category-lobby: if they existed */
  .page-fishing-games__category-lobby__grid { grid-template-columns: repeat(2, 1fr); }
  .page-fishing-games__category-card-link img { aspect-ratio: 1/1; width: 100%; object-fit: cover; border: none; box-shadow: none; }
  /* Blog slider __blog-slider: if it existed */
  .page-fishing-games__blog-slider-track { scroll-snap-type: x mandatory; overflow-x: scroll; -webkit-overflow-scrolling: touch; display: flex; gap: 16px; padding-bottom: 10px; }
  .page-fishing-games__post-item { flex: 0 0 90%; scroll-snap-align: start; }
  .page-fishing-games__blog-slider-nav { display: flex; justify-content: center; margin-top: 20px; }
  .page-fishing-games__blog-slider-prev, .page-fishing-games__blog-slider-next { display: block; }
}