/* Shared by every page: the top bar, the Wishlist buttons, the footer with its signup, the toast.
   Pages add their own sheet on top (home.css, article.css, site.css). */
:root {
  --night: #0b0907;
  --smog: #17130f;
  --ink: #f1e7d8;
  --dim: #b9ab95;
  --faint: rgba(241,231,216,.6);
  --line: rgba(241,231,216,.12);
  --lamp: #f6b244;
  --lamp-hot: #ffe2a8;
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 4.5vw, 72px);
  --ease: cubic-bezier(.2,.7,.1,1);
  --over-video: 0 1px 2px rgba(0,0,0,.7), 0 2px 24px rgba(0,0,0,.65);
}

/* ---------- Top bar ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); height: 76px; padding-inline: var(--gutter); isolation: isolate; }
.nav::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; transition: opacity .5s;
  background: linear-gradient(180deg, rgba(5,4,3,.72), rgba(5,4,3,.35) 55%, transparent); }
.nav.scrolled::before { background: linear-gradient(180deg, rgba(11,9,7,.95), rgba(11,9,7,.78) 60%, transparent); }
.nav-logo { font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: .38em; text-transform: uppercase; font-size: 15px; color: var(--ink); text-decoration: none; text-shadow: var(--over-video); padding-block: 10px; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 32px); margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font: 700 12px var(--font); letter-spacing: .2em; text-transform: uppercase; padding-block: 10px; text-shadow: var(--over-video); transition: color .25s; }
.nav-links a { position: relative; }
.nav-links a:hover { color: var(--lamp-hot); }
.nav-links a[aria-current] { color: var(--lamp-hot); text-shadow: 0 0 14px rgba(226,163,61,.55); }
.nav-links a[aria-current]::after { content: ""; position: absolute; left: 0; right: .2em; bottom: 2px; height: 2px; border-radius: 2px; background: var(--lamp); box-shadow: 0 0 10px rgba(226,163,61,.8); }
@media (max-width: 520px) { .nav { gap: 16px; height: 64px; } .nav-logo { letter-spacing: .26em; font-size: 13px; } .nav-links a { letter-spacing: .12em; font-size: 11px; } }
@media (max-width: 380px) { .nav-links a:last-child { display: none; } }

/* ---------- Wishlist: lit amber with a glow (what used to be the hover look) ---------- */
.btn-steam, .nav-cta { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; text-decoration: none; border-radius: 3px;
  color: #1c1106; background: rgba(230,168,66,.94); border: 1px solid rgba(245,190,100,.9);
  box-shadow: 0 0 18px rgba(226,163,61,.42), 0 0 60px rgba(226,163,61,.16);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), color .4s, border-color .4s; }
.btn-steam:hover { background: rgba(242,182,82,1); box-shadow: 0 0 26px rgba(236,175,72,.6), 0 0 80px rgba(226,163,61,.25); }
.btn-steam { height: 58px; padding: 0 30px; font: 800 13px var(--font); letter-spacing: .2em; text-transform: uppercase; }
.nav-cta { height: 38px; padding: 0 17px; font: 800 11px var(--font); letter-spacing: .2em; text-transform: uppercase;
  color: var(--lamp-hot); background: rgba(20,15,10,.35); border-color: rgba(226,163,61,.6); box-shadow: none; backdrop-filter: blur(8px); }
.nav-cta:hover { color: #1c1106; background: rgba(230,168,66,.94); border-color: rgba(245,190,100,.9); box-shadow: 0 0 18px rgba(226,163,61,.4); }
.steam-ico { width: 21px; height: 21px; fill: currentColor; flex: none; }
@media (max-width: 520px) { .nav-cta { padding: 0 13px; height: 36px; } }

/* ---------- Footer: one shared block on every page ---------- */
.site-foot { position: relative; z-index: 2; background: #0e0b08; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.foot-top { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 28px 60px; align-items: center; padding: clamp(36px, 5vw, 56px) var(--gutter); max-width: 1500px; margin: 0 auto; }
.foot-mark { margin: 0; font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: .38em; text-transform: uppercase; font-size: 18px; color: var(--ink); }
.foot-line { margin: 10px 0 0; max-width: 40ch; color: var(--dim); }
.foot-signup label:not(.sr) { display: block; margin-bottom: 10px; font: 700 11px var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.foot-signup .row { display: flex; gap: 8px; }
.foot-signup input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 3px; border: 1px solid rgba(241,231,216,.2); background: #15110d; color: var(--ink); font: inherit; }
.foot-signup input:focus { border-color: var(--lamp); outline: none; }
.foot-signup button { height: 46px; padding: 0 18px; border: 1px solid rgba(251,189,69,.7); border-radius: 3px; background: none; color: var(--lamp-hot); cursor: pointer;
  font: 700 11px var(--font); letter-spacing: .2em; text-transform: uppercase; transition: background .3s, color .3s; }
.foot-signup button:hover { background: var(--lamp); color: #1a0f05; }
.foot-signup .form-note { margin: 8px 0 0; font-size: 13px; }
.foot-signup .form-note:empty { display: none; }
.form-note.ok { color: var(--lamp-hot); } .form-note.err { color: #ff9f80; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px)); max-width: 1500px; margin: 0 auto;
  border-top: 1px solid rgba(241,231,216,.07); font-size: 13px; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-bottom a { color: var(--ink); text-decoration: none; }
.foot-bottom nav a { padding-block: 5px; margin-block: -5px; }   /* 24px+ tap targets, same layout */
.foot-bottom a:hover { color: var(--lamp-hot); }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  width: max-content; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 4px; background: #1a140f; border: 1px solid rgba(251,189,69,.4); color: var(--ink); font: 15px var(--font);
  box-shadow: 0 20px 60px rgba(0,0,0,.6); transition: opacity .35s, transform .35s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }


/* ---------- Wishlist panel (until the Steam page opens) ---------- */
.wl { width: min(92vw, 480px); max-width: none; padding: 40px 34px 32px; border: 1px solid rgba(251,189,69,.45); border-radius: 8px; color: var(--ink); text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, rgba(251,189,69,.18), transparent 60%), #120e0a; box-shadow: 0 40px 140px rgba(0,0,0,.75); font-family: var(--font); }
.wl::backdrop { background: rgba(5,4,3,.72); backdrop-filter: blur(8px); }
.wl h2 { margin: 0; font-weight: 800; font-variation-settings: "wdth" 118; text-transform: uppercase; letter-spacing: .04em; font-size: 26px; line-height: 1.1; }
.wl p { margin: 12px auto 0; max-width: 36ch; color: var(--dim); font-size: 15.5px; line-height: 1.55; }
.wl form.signup { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.wl input { flex: 1 1 200px; min-width: 0; height: 50px; padding: 0 16px; border-radius: 3px; border: 1px solid rgba(241,231,216,.22); background: #1a140f; color: var(--ink); font: 16px var(--font); }
.wl input:focus { outline: none; border-color: var(--lamp); }
.wl button[type=submit] { height: 50px; padding: 0 20px; border: 0; border-radius: 3px; cursor: pointer; font: 800 12px var(--font); letter-spacing: .18em; text-transform: uppercase; color: #1a0f05;
  background: linear-gradient(180deg, #f2c266, #e2a33d 60%, #cf8b28); box-shadow: 0 0 18px rgba(226,163,61,.3); }
.wl .form-note { flex-basis: 100%; margin: 6px 0 0; font-size: 13px; }
.wl .form-note:empty { display: none; }
.wl-close { position: absolute; top: 10px; right: 10px; background: none; border: 0; color: var(--faint); font: 700 10px var(--font); letter-spacing: .24em; text-transform: uppercase; padding: 10px; cursor: pointer; }
.wl-close:hover { color: var(--ink); }
.wl small { display: block; margin-top: 16px; color: var(--faint); font-size: 12px; }
