/* ------------------------------------------------------------------
   pinewhisper-lat.css
   Palette:
     background: #02292e
     headings/accents/buttons: #00e5f0
     text: #eed2b2
     button-text: #02292e
     button-hover: #eed2b2
------------------------------------------------------------------ */

/* ---------- Root & Base ---------- */
:root{
  --bg: #02292e;
  --accent: #00e5f0;
  --text: #eed2b2;
  --btn-text: #02292e;
  --btn-hover: #eed2b2;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body.pinewhisper-lat-body {
  margin:0;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.55;
  scroll-behavior: smooth;
}

/* Links */
a{ color: var(--text); transition: color .18s ease; }
a:hover{ color: var(--accent); text-decoration: none; }

/* Headings */
h1,h2,h3,h4,h5,h6 {
  color: var(--accent);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
  margin-top:0;
}

/* ---------- NAVBAR ---------- */
.pinewhisper-lat-navbar{
  background-color: rgba(2,41,46,0.95);
  border-bottom: 1px solid rgba(0,229,240,0.06);
  position: flex;
  top: 0;
  z-index: 999;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.pinewhisper-lat-logo{ max-height:80px; }

.pinewhisper-lat-nav .nav-link{
  color: var(--text);
  font-weight:600;
  padding: 0.45rem 0.8rem;
}
.pinewhisper-lat-nav .nav-link:hover,
.pinewhisper-lat-nav .nav-link.active {
  color: var(--accent);
  transform: translateY(-2px);
  transition: all .18s ease;
}

/* navbar toggler */
.navbar-toggler{
  border: 1px solid rgba(0,229,240,0.12);
  color: var(--accent);
  background: transparent;
  border-radius: 8px;
}
.navbar-toggler:hover{ background: rgba(0,229,240,0.04); color: var(--btn-text); }

/* ---------- HERO (80vh, centered, contained) ---------- */
.pinewhisper-lat-hero{
  height: 80vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  position: relative;
  background-image: linear-gradient(180deg, rgba(2,41,46,0.4), rgba(2,41,46,0.4)), url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.pinewhisper-lat-hero-overlay{ position:absolute; inset:0; pointer-events:none; }
.pinewhisper-lat-hero-inner{
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: 2rem;
  box-sizing: border-box;
}
.pinewhisper-lat-hero-title{
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: .6rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 2px 2px rgba(0,0,0,0.45);
}
.pinewhisper-lat-hero-text{
  color: var(--text);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 900px;
  margin-left:auto; margin-right:auto;
  line-height: 1.6;
  opacity: .98;
}

/* CTA button */
.pinewhisper-lat-btn{
  display: inline-block;
  margin-top: 1rem;
  background: var(--accent);
  color: var(--btn-text);
  padding: 10px 26px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  text-decoration: none;
  transition: all .22s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.pinewhisper-lat-btn:hover{
  background: transparent;
  color: var(--btn-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6);
}

/* ---------- DISCLAIMER CARD ---------- */
.pinewhisper-lat-disclaimer-card { padding: 3.5rem 1rem; background: transparent; }
.pinewhisper-lat-disclaimer{
  background: linear-gradient(180deg, rgba(0,229,240,0.02), rgba(0,229,240,0.01));
  border: 1px solid rgba(0,229,240,0.09);
  color: var(--text);
  padding: 1.4rem;
  border-radius: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pinewhisper-lat-disclaimer:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.6); }
.pinewhisper-lat-disclaimer-title{ color: var(--accent); font-weight:700; margin-bottom:.6rem; }
.pinewhisper-lat-disclaimer-text{ color: var(--text); line-height:1.7; }

/* ---------- GAME (16:9 responsive, max-width 900px) ---------- */
.pinewhisper-lat-play{ padding: 3.5rem 1rem; }
.pinewhisper-lat-section-title{ color: var(--accent); font-weight:800; margin-bottom:1rem; text-align:center; }
.pinewhisper-lat-game-wrapper{ max-width:900px; margin: 0 auto; width:100%; }
.pinewhisper-lat-game-frame{
  width:100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  border-radius: 14px;
  overflow:hidden;
  background:#000;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(0,229,240,0.06);
}
.pinewhisper-lat-game-frame iframe{ width:100%; height:100%; border:0; display:block; }

/* small note */
.pinewhisper-lat-note{ color: rgba(238,210,178,0.9); }

/* ------------------------------
   FEATURES SECTION
------------------------------ */
.pinewhisper-lat-features {
  background: #02292e;
  color: #eed2b2;
  text-align: center;
  padding: 5rem 1rem;
}

.pinewhisper-lat-section-title {
  color: #00e5f0;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 3rem;
  text-shadow: 0 0 10px rgba(0, 229, 240, 0.4);
}

/* Centered Row Layout */
.pinewhisper-lat-features-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Feature Cards */
.pinewhisper-lat-feature-card {
  background: rgba(3, 55, 59, 0.6);
  border: 1px solid rgba(0, 229, 240, 0.25);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  width: 250px; /* Ensures 4 fit nicely across */
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(0, 229, 240, 0.08);
  position: relative;
}

.pinewhisper-lat-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 240, 0.4);
  box-shadow: 0 0 25px rgba(0, 229, 240, 0.2);
}

/* Icons */
.pinewhisper-lat-feature-icon {
  font-size: 2.8rem;
  color: #00e5f0;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0, 229, 240, 0.5);
  transition: transform 0.3s ease;
}

.pinewhisper-lat-feature-card:hover .pinewhisper-lat-feature-icon {
  transform: translateY(-6px);
}

/* Titles and Text */
.pinewhisper-lat-feature-title {
  font-size: 1.3rem;
  color: #00e5f0;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pinewhisper-lat-feature-text {
  color: #eed2b2;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .pinewhisper-lat-feature-card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .pinewhisper-lat-feature-card {
    width: 100%;
  }
}

/* ---------- ABOUT ---------- */
.pinewhisper-lat-about{ padding: 3.5rem 1rem; text-align:center; }
.pinewhisper-lat-about-text{
  color: var(--text);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.8;
  max-width: 820px;
  margin-left:auto; margin-right:auto;
}
.pinewhisper-lat-about-image-wrapper{ margin-top:1.25rem; display:flex; justify-content:center; }
.pinewhisper-lat-about-img{
  max-width:500px; width:100%; border-radius:12px;
  object-fit:contain;
}

/* ------------------------------
   REVIEWS SECTION
------------------------------ */
.pinewhisper-lat-reviews {
  background-color: #02292e;
  color: #eed2b2;
  text-align: center;
  padding: 5rem 1rem;
  overflow: hidden;
}

.pinewhisper-lat-section-title {
  color: #00e5f0;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(0, 229, 240, 0.4);
  margin-bottom: 3rem;
}

/* 4 Cards in One Row - Centered */
.pinewhisper-lat-reviews-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* Review Cards */
.pinewhisper-lat-review-card {
  background: rgba(3, 55, 59, 0.6);
  border: 1px solid rgba(0, 229, 240, 0.25);
  border-radius: 16px;
  padding: 2rem 1.2rem;
  width: 25%;
  box-shadow: 0 0 15px rgba(0, 229, 240, 0.08);
  transition: all 0.4s ease;
  position: relative;
  text-align: left;
}

.pinewhisper-lat-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0, 229, 240, 0.25);
  border-color: rgba(0, 229, 240, 0.4);
}

/* Quote Mark */
.pinewhisper-lat-quote {
  position: absolute;
  top: 8px;
  left: 18px;
  font-size: 3rem;
  color: rgba(0, 229, 240, 0.3);
  font-family: Georgia, serif;
  pointer-events: none;
}

/* Review Text */
.pinewhisper-lat-review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #eed2b2;
  margin: 1.2rem 0 1.6rem;
  padding-left: 1.2rem;
}

/* Reviewer Name */
.pinewhisper-lat-reviewer {
  color: #00e5f0;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .pinewhisper-lat-reviews-row {
    flex-wrap: wrap;
  }
  .pinewhisper-lat-review-card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .pinewhisper-lat-review-card {
    width: 100%;
    text-align: center;
  }
  .pinewhisper-lat-review-text {
    padding-left: 0;
  }
  .pinewhisper-lat-reviewer {
    text-align: center;
  }
}

/* ---------- CONTACT ---------- */
.pinewhisper-lat-contact{ padding: 3.5rem 1rem; }
.pinewhisper-lat-input{
  background: rgba(2,41,46,0.28);
  border: 1px solid rgba(0,229,240,0.06);
  color: var(--text);
  padding: .8rem 1rem;
  border-radius: 10px;
}
.pinewhisper-lat-input::placeholder{ color: rgba(238,210,178,0.6); }
.pinewhisper-lat-input:focus{ outline:none; border-color: var(--accent); box-shadow: 0 0 18px rgba(0,229,240,0.05); }

/* ---------- FOOTER ---------- */
.pinewhisper-lat-footer{
  background: rgba(2,41,46,0.98);
  color: var(--text);
  padding: 3rem 1rem;
  border-top: 1px solid rgba(0,229,240,0.04);
}
.pinewhisper-lat-footer-logo{ width:140px; height:auto; transition: transform .18s; }
.pinewhisper-lat-footer-logo:hover{ transform: scale(1.03); }
.pinewhisper-lat-footer-links{ gap:1rem; margin-bottom:1.2rem; display:flex; justify-content:center; flex-wrap:wrap; padding:0; }
.pinewhisper-lat-footer-link{ color: var(--text); font-weight:600; text-decoration:none; transition: color .18s; }
.pinewhisper-lat-footer-link:hover{ color: var(--accent); }

/* Footer disclaimer card */
.pinewhisper-lat-footer-disclaimer{
  background: linear-gradient(180deg, rgba(0,229,240,0.02), rgba(0,229,240,0.01));
  border: 1px solid rgba(0,229,240,0.06);
  padding: 1.4rem; border-radius: 12px; color: var(--text);
}

/* ---------- SCROLL TO TOP ---------- */
.pinewhisper-lat-scroll-top{
  position: fixed; right:22px; bottom:22px; width:44px; height:44px;
  border-radius:50%; border:none; display:none; align-items:center; justify-content:center;
  background: var(--accent); color: var(--btn-text); box-shadow: 0 12px 30px rgba(0,0,0,0.6); z-index:1000;
}
.pinewhisper-lat-scroll-top.visible{ display:flex; }
.pinewhisper-lat-scroll-top:hover{ transform: translateY(-4px); }

/* ------------------------------
   AGE CONFIRMATION POPUP
------------------------------ */
.pinewhisper-lat-popup {
  position: fixed;
  inset: 0;
  background-color: rgba(2, 41, 46, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  font-family: 'Manrope', sans-serif;
}

.pinewhisper-lat-popup.visible {
  opacity: 1;
  pointer-events: auto;
}

.pinewhisper-lat-popup-inner {
  background: #03373b;
  border: 1px solid #00e5f0;
  max-width: 600px;
  width: 90%;
  color: #eed2b2;
  box-shadow: 0 0 25px rgba(0, 229, 240, 0.2);
  text-align: center;
  animation: popupAppear 0.5s ease forwards;
}

@keyframes popupAppear {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.pinewhisper-lat-popup-title {
  color: #00e5f0;
  text-shadow: 0 0 6px rgba(0, 229, 240, 0.6);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
}

.pinewhisper-lat-popup-text {
  color: #eed2b2;
  font-size: 1.05rem;
  line-height: 1.6;
}

.pinewhisper-lat-popup-actions button {
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.pinewhisper-lat-btn {
  background-color: #00e5f0;
  color: #02292e;
  border: none;
  padding: 0.75rem 1.5rem;
}

.pinewhisper-lat-btn:hover {
  background-color: #eed2b2;
  color: #02292e;
}

.pinewhisper-lat-popup .btn-outline-light {
  border-color: #00e5f0;
  color: #00e5f0;
}

.pinewhisper-lat-popup .btn-outline-light:hover {
  background-color: #00e5f0;
  color: #02292e;
}

/* For smaller screens */
@media (max-width: 576px) {
  .pinewhisper-lat-popup-inner {
    padding: 2rem 1.5rem;
  }
  .pinewhisper-lat-popup-title {
    font-size: 1.5rem;
  }
  .pinewhisper-lat-popup-text {
    font-size: 0.95rem;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px){
  .pinewhisper-lat-feature-card, .pinewhisper-lat-review-card{ text-align:center; }
}

@media (max-width: 576px){
  .pinewhisper-lat-hero { height: 72vh; }
  .pinewhisper-lat-hero-title { font-size:1.6rem; }
  .pinewhisper-lat-game-frame { max-height: 360px; }
}

/* ---------- Accessibility focus ---------- */
a:focus, button:focus, input:focus, textarea:focus{
  outline: 3px solid rgba(0,229,240,0.12); outline-offset: 2px;
}

/* helper */
.text-muted { color: rgba(238,210,178,0.65) !important; }



/* ---------------------------------
   LEGAL SECTIONS (Disclaimer / Privacy / Terms)
---------------------------------- */
.pinewhisper-lat-legal {
  background-color: #02292e;
  color: #eed2b2;
  padding: 5rem 1.5rem;
  line-height: 1.9;
}

.pinewhisper-lat-legal-main-title {
  color: #00e5f0;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-shadow: 0 0 14px rgba(0, 229, 240, 0.4);
}

.pinewhisper-lat-legal-heading {
  color: #00e5f0;
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px rgba(0, 229, 240, 0.3);
}

.pinewhisper-lat-legal-text {
  font-size: 1.05rem;
  color: #eed2b2;
  background: rgba(3, 55, 59, 0.3);
  border-left: 3px solid #00e5f0;
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.3rem;
  box-shadow: 0 0 12px rgba(0, 229, 240, 0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.pinewhisper-lat-legal-text:hover {
  background: rgba(3, 55, 59, 0.55);
  box-shadow: 0 0 20px rgba(0, 229, 240, 0.15);
}

@media (max-width: 768px) {
  .pinewhisper-lat-legal-main-title {
    font-size: 2.2rem;
  }
  .pinewhisper-lat-legal-heading {
    font-size: 1.3rem;
  }
  .pinewhisper-lat-legal-text {
    font-size: 0.95rem;
  }
}
