/* Shared styles for the entire page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD36B; /* Glow */
}

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding as body handles header offset */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
  color: #FFF6D6;
  padding-bottom: 40px;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD36B; /* Glow */
}

.page-fishing-games__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
}

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

.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: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #333333; /* Dark text for contrast */
  border: none;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E6B03D 100%);
}

.page-fishing-games__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #3A2A12; /* Border */
}

.page-fishing-games__btn-secondary:hover {
  background: #1A1A1A;
  color: #FFD86A;
}

/* General Section Styling */
.page-fishing-games__about-section,
.page-fishing-games__game-showcase,
.page-fishing-games__tips-section,
.page-fishing-games__cta-bottom {
  padding: 60px 0;
}

.page-fishing-games__dark-bg {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-fishing-games__light-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

.page-fishing-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-fishing-games__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-fishing-games__text-block {
  flex: 1;
  font-size: 17px;
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
}

.page-fishing-games__image-block {
  flex: 1;
  text-align: center;
}

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

.page-fishing-games__sub-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-fishing-games__feature-list,
.page-fishing-games__step-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-fishing-games__feature-list li,
.page-fishing-games__step-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-fishing-games__feature-list li::before,
.page-fishing-games__step-list li::before {
  content: '✓';
  color: #FFD36B;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-fishing-games__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

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

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

.page-fishing-games__game-card .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: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-fishing-games__game-title a {
  color: #FFD36B; /* Glow */
  text-decoration: none;
}

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

.page-fishing-games__game-description {
  font-size: 16px;
  margin-bottom: 20px;
}

.page-fishing-games__cta-buttons--center {
  margin-top: 50px;
  text-align: center;
}

.page-fishing-games__tip-card .page-fishing-games__card-title {
  color: #FFD36B;
}

.page-fishing-games__step-list strong {
  color: #FFD36B;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}
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: #1A1A1A;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  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: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

/* Bottom CTA */
.page-fishing-games__cta-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

/* Mobile Responsive - Images and Containers */
@media (max-width: 768px) {
  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .page-fishing-games__section-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-fishing-games__hero-section {
    min-height: 400px;
    padding-bottom: 30px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(28px, 8vw, 38px);
  }
  .page-fishing-games__hero-description {
    font-size: clamp(15px, 3vw, 18px);
  }
  .page-fishing-games__cta-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: 16px;
  }

  .page-fishing-games__about-section,
  .page-fishing-games__game-showcase,
  .page-fishing-games__why-choose-us,
  .page-fishing-games__how-to-play,
  .page-fishing-games__tips-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom {
    padding: 40px 0;
  }

  .page-fishing-games__content-wrapper,
  .page-fishing-games__content-wrapper--reversed {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__sub-title {
    font-size: 20px;
  }

  .page-fishing-games__grid-features,
  .page-fishing-games__game-grid,
  .page-fishing-games__grid-tips {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-fishing-games__card-title {
    font-size: 20px;
  }

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

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-fishing-games__container,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__content-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ Mobile */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
  .page-fishing-games__faq-qtext { font-size: 16px; }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer { padding: 0 15px 15px; }
}

/* The following are HOMEPAGE-SPECIFIC CSS blocks. 
   As per strict instructions, they are included in fishing-games.css output, 
   even though semantically they belong to the homepage. */
@media (max-width: 1023px) {
  .page-fishing-games__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__hero-brand,
  .page-fishing-games__hero-jackpot {
    display: none !important;
  }
  .page-fishing-games__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-topbar,
  .page-fishing-games__game-trial-bottombar {
    display: none !important;
  }
  .page-fishing-games__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-fishing-games__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-fishing-games__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-fishing-games__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-fishing-games__hero-brand,
  .page-fishing-games__hero-jackpot,
  .page-fishing-games__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-fishing-games__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-fishing-games__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-fishing-games__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* Additional mobile responsive rules for specific homepage sections (if they were present) */
/* As this is a non-homepage, these are generally not needed for the fishing-games page content, 
   but included here for strict compliance if the prompt implies they should be universally present. */
@media (max-width: 768px) {
  /* Placeholder for __promo-strip if it were present on this page */
  /* .page-fishing-games__promo-strip-track { grid-template-columns: repeat(2, 1fr); } */

  /* Placeholder for __hot-games if it were present on this page */
  /* .page-fishing-games__hot-games-grid { grid-template-columns: repeat(1, 1fr); } */

  /* Placeholder for __brand-intro if it were present on this page */
  /* .page-fishing-games__brand-intro { display: block; } */
}