/* Base Styles */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #10233F; /* Card BG, as body background is likely dark */
}

.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: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

.page-fishing-games__dark-section {
  background-color: #08162B; /* Deep Navy */
  padding: 60px 0;
}

.page-fishing-games__light-bg {
  background-color: #10233F; /* Card BG */
  padding: 60px 0;
}

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

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(17, 68, 166, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(17, 68, 166, 0.6);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Gold */
  border-color: #F2C14E;
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  color: #ffffff;
}

.page-fishing-games__btn-link {
  display: inline-block;
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.page-fishing-games__btn-link:hover {
  color: #F2C14E; /* Gold */
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding, body has header offset */
  padding-bottom: 60px;
  text-align: center;
}

.page-fishing-games__hero-section .page-fishing-games__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__hero-content {
  max-width: 800px;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 900px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__feature-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #4FA8FF; /* Glow */
}

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

.page-fishing-games__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-fishing-games__feature-description {
  font-size: 16px;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
}

/* 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(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-fishing-games__game-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #4FA8FF; /* Glow */
}

.page-fishing-games__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games__game-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #F2C14E; /* Gold */
}

.page-fishing-games__game-meta {
  font-size: 14px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-fishing-games__game-play-btn {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease;
}

.page-fishing-games__game-play-btn:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-fishing-games__view-all-games {
  text-align: center;
}

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

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

.page-fishing-games__step-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #4FA8FF; /* Glow */
}

.page-fishing-games__step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #4FA8FF; /* Glow */
}

.page-fishing-games__step-description {
  font-size: 16px;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
}

/* Tips Section */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.page-fishing-games__tip-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__tip-heading {
  font-size: 20px;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-fishing-games__tip-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
}

/* Promotions Section */
.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-fishing-games__promo-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #4FA8FF; /* Glow */
}

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

.page-fishing-games__promo-card h3 {
  padding: 15px 20px 0;
  margin: 0;
}

.page-fishing-games__promo-card h3 a {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__promo-card h3 a:hover {
  color: #4FA8FF; /* Glow */
}

.page-fishing-games__promo-text {
  font-size: 16px;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 20px 20px;
}

.page-fishing-games__promo-card .page-fishing-games__btn-link {
  display: block;
  text-align: right;
  padding: 0 20px 20px;
}

.page-fishing-games__view-all-promos {
  text-align: center;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: #1B3357; /* Divider */
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold */
}
.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
}

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

.page-fishing-games__cta-bottom .page-fishing-games__section-title {
  font-size: 40px;
}

.page-fishing-games__cta-bottom .page-fishing-games__section-description {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-bottom .page-fishing-games__cta-buttons {
  margin-top: 30px;
}

/* Copyright */
.page-fishing-games__copyright-section {
  background-color: #08162B; /* Deep Navy */
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #AFC4E8; /* Text Secondary */
  border-top: 1px solid #1B3357; /* Divider */
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* This is a non-homepage, so the specific homepage trial CSS is not strictly needed, 
     but keeping the placeholder for completeness as per instructions if it were index.html */
  .page-fishing-games__home-hero { /* Placeholder for homepage trial CSS */
    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 { /* Placeholder for homepage trial CSS */
    display: none !important;
  }
  .page-fishing-games__game-trial { /* Placeholder for homepage trial CSS */
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-shell { /* Placeholder for homepage trial CSS */
    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 { /* Placeholder for homepage trial CSS */
    display: none !important;
  }
  .page-fishing-games__game-trial-viewport { /* Placeholder for homepage trial CSS */
    position: relative;
    aspect-ratio: 1024 / 768;
    min-height: 240px;
    max-height: none !important;
    flex: none !important;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
  }
  .page-fishing-games__game-trial-frame { /* Placeholder for homepage trial CSS */
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-fishing-games__game-trial-overlay { /* Placeholder for homepage trial CSS */
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-fishing-games__game-trial-start { /* Placeholder for homepage trial CSS */
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  /* This is a non-homepage, so the specific homepage trial CSS is not strictly needed, 
     but keeping the placeholder for completeness as per instructions if it were index.html */
  .page-fishing-games__home-hero { /* Placeholder for homepage trial CSS */
    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 { /* Placeholder for homepage trial CSS */
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial { /* Placeholder for homepage trial CSS */
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-fishing-games__game-trial-shell { /* Placeholder for homepage trial CSS */
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-viewport { /* Placeholder for homepage trial CSS */
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-fishing-games__game-trial-frame { /* Placeholder for homepage trial CSS */
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-fishing-games__hero-jackpot-claim { /* Placeholder for homepage trial CSS */
    background: #c62828 !important;
    color: #fff !important;
  }
  .page-fishing-games__promo-strip { /* Placeholder for homepage promo strip */
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__main-title {
    font-size: 36px;
  }

  .page-fishing-games__hero-description {
    font-size: 18px;
  }

  .page-fishing-games__section-title {
    font-size: 30px;
  }

  .page-fishing-games__section-description {
    font-size: 16px;
  }

  .page-fishing-games__features-section,
  .page-fishing-games__popular-games,
  .page-fishing-games__how-to-play,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom {
    padding: 40px 0;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    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__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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ specific mobile styles */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
  .page-fishing-games__faq-qtext { font-size: 16px; }
  .page-fishing-games__faq-toggle { font-size: 24px; width: 24px; }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer { padding: 0 15px 15px; }

  /* Placeholder for homepage specific modules if this were index.html */
  .page-fishing-games__promo-strip-track { /* Placeholder for homepage promo strip */
    grid-template-columns: repeat(4,1fr);
    overflow-x:hidden;
  }
  .page-fishing-games__hot-games-grid { /* Placeholder for homepage hot games */
    grid-template-columns: repeat(2,1fr);
  }
  /* No __brand-intro or __winner-ticker as per non-homepage rules */
}

/* Default is-hidden for overlays/modals */
.is-hidden {
  display: none !important;
  visibility: hidden !important;
}

/* Reward Modal styles for JS */
.page-fishing-games__reward-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.page-fishing-games__reward-modal.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.page-fishing-games__reward-modal-content {
  background-color: #10233F; /* Card BG */
  border: 2px solid #F2C14E; /* Gold */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 30px rgba(242, 193, 78, 0.5);
  position: relative;
  animation: modalPopIn 0.3s ease-out;
}

@keyframes modalPopIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.page-fishing-games__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: #AFC4E8; /* Text Secondary */
  cursor: pointer;
  transition: color 0.3s ease;
}

.page-fishing-games__reward-modal-close:hover {
  color: #F2C14E; /* Gold */
}

.page-fishing-games__reward-modal-title {
  font-size: 32px;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__reward-modal-text {
  font-size: 18px;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 25px;
  line-height: 1.6;
}

.page-fishing-games__reward-modal .page-fishing-games__btn-primary {
  margin-top: 15px;
  width: auto;
}