/* Base Styles for fishing-games page */
.page-fishing-games {
  background-color: var(--background-color, #0A0A0A); /* Default to dark background if shared var not set */
  color: #FFF6D6; /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-fishing-games__dark-section {
  background-color: #0A0A0A; /* Explicit background for sections */
  color: #FFF6D6;
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #F2C14E; /* Brand color for titles */
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #F2C14E;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
  margin-bottom: 20px;
  /* Use clamp for responsive font-size without fixed large values */
  font-size: clamp(28px, 5vw, 48px);
}

.page-fishing-games__lead-text {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFF6D6;
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
}

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
  margin-top: 100px; /* Push content down to avoid header overlap visually */
}

.page-fishing-games__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

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

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #FFE48E 0%, #E8B02F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Brand color text */
  border: 2px solid #F2C14E;
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
}

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Introduction Section */
.page-fishing-games__introduction p {
  max-width: 900px;
  margin: 15px auto;
  text-align: center;
  font-size: 17px;
  color: #FFF6D6;
}

/* Featured Games Section */
.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-fishing-games__game-card {
  background-color: #111111; /* Card background */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.4);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: #F2C14E;
}

.page-fishing-games__card-description {
  font-size: 15px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

/* Guide Section */
.page-fishing-games__guide-content {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.page-fishing-games__guide-text {
  flex: 1;
  color: #FFF6D6;
}

.page-fishing-games__guide-text ol {
  list-style: decimal;
  padding-left: 20px;
  margin-top: 20px;
  color: #FFF6D6;
}

.page-fishing-games__guide-text ol li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-fishing-games__guide-text strong {
  color: #FFD36B;
}

.page-fishing-games__guide-image-wrapper {
  flex: 0 0 500px; /* Fixed width for image on desktop */
  max-width: 50%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__guide-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Promotions Section */
.page-fishing-games__promo-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-fishing-games__promo-banner {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  display: block;
}

.page-fishing-games__promotions p,
.page-fishing-games__promotions ul {
  text-align: left;
  margin: 15px auto;
  color: #FFF6D6;
  font-size: 17px;
}

.page-fishing-games__promotions ul {
  list-style: disc;
  padding-left: 40px;
  max-width: 800px;
}

.page-fishing-games__promotions ul li {
  margin-bottom: 8px;
}

/* Why Choose Section */
.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-fishing-games__feature-card {
  background-color: #111111; /* Card background */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

.page-fishing-games__feature-card .page-fishing-games__card-title {
  font-size: 24px;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-fishing-games__feature-card p {
  font-size: 16px;
  color: #FFF6D6;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 30px auto 0;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card background */
}
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;
  color: #F2C14E; /* Question text color */
}
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: rgba(242, 193, 78, 0.1);
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Glow color for toggle */
  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: rgba(17, 17, 17, 0.8); /* Slightly lighter dark background for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6; /* Answer text color */
}
.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom {
  padding-bottom: 60px;
}
.page-fishing-games__cta-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* --- VERBATIM HOMEPAGE TRIAL CSS BLOCKS (AS REQUIRED BY PROMPT) --- */
@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;
  }
}

/* --- MOBILE RESPONSIVE STYLES (REQUIRED FOR ALL INNER PAGES) --- */
@media (max-width: 768px) {
  .page-fishing-games__hero-content {
    padding: 20px 15px;
    margin-top: 60px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(24px, 8vw, 36px);
  }
  .page-fishing-games__lead-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-fishing-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-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: 20px;
  }

  /* Images and their containers */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-fishing-games__section,
  .page-fishing-games__container,
  .page-fishing-games__game-grid,
  .page-fishing-games__game-card,
  .page-fishing-games__features-grid,
  .page-fishing-games__feature-card,
  .page-fishing-games__promo-content,
  .page-fishing-games__guide-content,
  .page-fishing-games__faq-list,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific section adjustments */
  .page-fishing-games__guide-content {
    flex-direction: column;
    gap: 20px;
  }
  .page-fishing-games__guide-image-wrapper {
    flex: none;
    max-width: 100%;
  }

  /* FAQ */
  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;
  }
  .page-fishing-games__faq-answer p {
    font-size: 15px;
  }
  /* Placeholder for other homepage blocks as required by prompt, even if not directly used on inner page */
  /* .page-fishing-games__promo-strip-track { grid-template-columns: repeat(4,1fr); overflow-x:hidden; } */
  /* .page-fishing-games__hot-games-grid{ grid-template-columns: repeat(2,1fr); } */
  /* .page-fishing-games__brand-intro { display: block; } */
  /* .page-fishing-games__winner-ticker { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 999; } */
  /* body { padding-bottom: 60px; } */
}
/* General image styling (min-width 200px rule) */
.page-fishing-games img {
  min-width: 200px;
  min-height: 200px;
}
.page-fishing-games__game-image {
  height: 200px; /* Ensure card images are not too small, but also respect aspect ratio on smaller screens */
  object-fit: cover;
}
/* Ensure no filter CSS */
.page-fishing-games img {
  filter: none;
}

/* Homepage trial specific styles (from prompt, for consistency) */
.page-fishing-games__game-trial-overlay{z-index:5;pointer-events:auto;}.page-fishing-games__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-fishing-games__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-fishing-games__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-fishing-games__reward-modal{position:fixed;inset:0;z-index:10000;}
/* Additional styles for the reward modal, if it were present in HTML */
.page-fishing-games__reward-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease;
}
.page-fishing-games__reward-modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}
.page-fishing-games__reward-modal-content {
  background-color: #111111;
  color: #FFF6D6;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 25px rgba(255, 211, 107, 0.6);
  border: 1px solid #F2C14E;
}
.page-fishing-games__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #FFD36B;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.page-fishing-games__reward-modal-close:hover {
  transform: rotate(90deg);
}
.page-fishing-games__reward-modal h3 {
  color: #F2C14E;
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 15px;
}
.page-fishing-games__reward-modal p {
  font-size: 16px;
  margin-bottom: 25px;
}