/* =========================
   THE HUNTED - landing.css
   Longdark-style landing page
   Scoped so it won't affect the game
   ========================= */

:root{
  --landing-text: rgba(255,255,255,0.92);
  --landing-muted: rgba(255,255,255,0.68);
  --landing-border: rgba(255,255,255,0.12);
  --landing-shadow: rgba(0,0,0,0.55);
}

body.site{
  margin:0;
  min-height:100vh;
  color: var(--landing-text);
  background: #000;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Full-bleed hero background */
body.site::before{
  content:"";
  position: fixed;
  inset: 0;
  background: url("/assets/landing-bg.png") center / cover no-repeat;
  filter: brightness(0.98) contrast(1.06) saturate(1.06);
  z-index: 0;
}

/* Left-side readability gradient (keeps art visible on right) */
body.site::after{
  content:"";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.62) 0%,
    rgba(0,0,0,0.35) 32%,
    rgba(0,0,0,0.10) 55%,
    rgba(0,0,0,0.00) 70%
  );
  z-index: 1;
}

/* Ensure all content sits above background layers */
body.site > *{
  position: relative;
  z-index: 2;
}

/* ===== Header ===== */
body.site .header{
  position: sticky;
  top: 0;
  z-index: 10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 14px 18px;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

body.site .brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: inherit;
}

body.site .brand-mark{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-weight: 900;
  letter-spacing: 0.08em;
  border: 1px solid var(--landing-border);
  background: rgba(255,255,255,0.08);
}

body.site .brand-text{
  display:flex;
  flex-direction:column;
  line-height: 1.1;
}

body.site .brand-title{
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 2.5rem;
  text-transform: uppercase;
}

body.site .brand-sub{
  font-size: 0.78rem;
  color: var(--landing-muted);
  margin-top: 3px;
}

body.site .nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

body.site .nav-link{
  text-decoration:none;
  color: rgba(255,255,255,0.84);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.02);
}

body.site .nav-link:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.10);
}

/* ===== Buttons ===== */
body.site .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 14px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.95);
  transition: transform .2s ease, background .2s ease;
}

body.site .btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.16);
}

body.site .btn-primary{
  background: rgba(255,255,255,0.22);
}

body.site .btn-primary:hover{
  background: rgba(255,255,255,0.32);
}

body.site .btn-ghost{
  opacity: 0.92;
}

body.site .btn-lg{
  padding: 14px 18px;
  border-radius: 16px;
  min-width: 150px;
}

/* ===== Hero ===== */
body.site .hero{
  min-height: calc(100vh - 72px);
  display:grid;
  grid-template-columns: minmax(320px, 560px) 1fr;
  gap: 18px;
  padding: 28px 18px 26px;
}

body.site .hero-left{
  align-self: center;
  padding: 30px 28px;
  border-radius: 22px;
  border: 1px solid var(--landing-border);
  background: linear-gradient(180deg, rgba(0,0,0,0.72), rgba(0,0,0,0.46));
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 90px var(--landing-shadow);
}

body.site .hero-h1{
  margin:0;
  font-size: clamp(34px, 4.3vw, 54px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,0.65);
}

body.site .hero-p{
  margin: 14px 0 0;
  color: rgba(255,255,255,0.86);
  line-height: 1.6;
  max-width: 56ch;
}

body.site .hero-cta{
  margin-top: 22px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

body.site .hero-badges{
  margin-top: 18px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

body.site .pill{
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.84);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

/* ===== Sections ===== */
body.site .section{
  padding: 64px 18px;
  background: rgba(0,0,0,0.62);
  border-top: 1px solid rgba(255,255,255,0.10);
}

body.site .section-dim{
  background: rgba(0,0,0,0.72);
}

body.site .inner{
  max-width: 1040px;
  margin: 0 auto;
}

body.site h2{
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.site .muted{
  color: var(--landing-muted);
}

body.site .grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

body.site .grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

body.site .card{
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

/* ===== Footer ===== */
body.site .footer{
  padding: 18px;
  background: rgba(0,0,0,0.82);
  border-top: 1px solid rgba(255,255,255,0.10);
}

body.site .footer-inner{
  max-width: 1040px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

body.site .footer-brand{
  display:flex;
  gap: 12px;
  align-items:center;
}

body.site .footer-mark{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-weight: 900;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
}

body.site .footer-studio{
  font-weight: 900;
  letter-spacing: 0.08em;
}

body.site .footer-right{
  color: var(--landing-muted);
  font-size: 0.85rem;
}

/* ===== Mobile ===== */
@media (max-width: 900px){
  body.site .hero{
    grid-template-columns: 1fr;
    min-height: auto;
  }
  body.site .grid-3{ grid-template-columns: 1fr; }
  body.site .grid-2{ grid-template-columns: 1fr; }
}

/* ===== Centered section layout ===== */
body.site .inner{
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;       /* centers the content block */
  text-align: center;        /* centers headings + short text */
}

body.site .prose{
  max-width: 72ch;
  text-align: left;          /* keeps paragraphs readable */
  line-height: 1.7;
  color: rgba(255,255,255,0.86);
  margin-top: 14px;
}

/* ===== Story image blocks ===== */
body.site .story-images{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

body.site figure.shot{
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
}

body.site figure.shot img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  filter: contrast(1.03) saturate(1.02);
}

body.site figure.shot figcaption{
  padding: 10px 12px 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.68);
  text-align: left;
}

/* Tall featured shot (for FIRE_STABLE etc.) */
body.site figure.shot.tall img{
  height: 460px;
}

/* Mobile */
@media (max-width: 900px){
  body.site .story-images{
    grid-template-columns: 1fr;
  }
  body.site figure.shot img{
    height: 280px;
  }
  body.site figure.shot.tall img{
    height: 360px;
  }
}