/* Doomed Ranger: dark, gritty Doom/Quake theme. Rust/orange with Quake brown/green. Press Start 2P for headings only. */
@font-face { font-family: "Press Start 2P"; src: url("fonts/PressStart2P.woff") format("woff"); font-display: swap; }
:root {
  --bg: #0d0a08; --bg2: #16110c; --panel: #1c1510; --line: #3a2c1f;
  --fg: #ece2d4; --dim: #a8988a; --rust: #c2410c; --orange: #f97316; --ember: #fdba74;
  --brown: #5c4326; --green: #6b7f3a; --green-hi: #a3b85c;
  --pixel: "Press Start 2P", ui-monospace, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--sans);
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 70% -10%, rgba(194,65,12,.22), transparent 60%),
    radial-gradient(ellipse at 0% 110%, rgba(107,127,58,.14), transparent 55%);
  background-attachment: fixed;
}
img, video { max-width: 100%; height: auto; display: block; }
.pixelated, .pixelated img { image-rendering: pixelated; }
a { color: var(--orange); }
a:hover { color: var(--ember); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
kbd { font: 700 .85em ui-monospace, monospace; background: var(--bg2); border: 1px solid var(--brown); border-bottom-width: 3px; padding: 0 .4em; border-radius: 3px; color: var(--ember); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #000; padding: 8px 14px; z-index: 10; font-weight: 700; }
.skip:focus { left: 8px; }

.topbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px clamp(16px, 4vw, 40px); background: rgba(13,10,8,.94); border-bottom: 3px solid var(--rust);
  box-shadow: 0 3px 0 #000;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.topbar nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.topbar nav a { color: var(--dim); text-decoration: none; font: 600 14px var(--sans); text-transform: uppercase; letter-spacing: .1em; }
.topbar nav a:hover { color: var(--orange); }

main { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding: clamp(32px, 6vw, 72px) 0 48px; }
h1 { margin: 0; }
h1 img { width: min(100%, 440px); filter: drop-shadow(4px 4px 0 #000) drop-shadow(0 0 22px rgba(194,65,12,.4)); }
.tagline { margin: 22px 0 0; font-size: clamp(17px, 2vw, 20px); }
.cta { margin-top: 28px; }
.fineprint { margin-top: 16px; color: var(--dim); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.hero-shot { margin: 0; border: 3px solid var(--brown); background: #000; box-shadow: 8px 8px 0 #000, 0 0 50px rgba(249,115,22,.18); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 28px; font: 14px/1.4 var(--pixel); text-transform: uppercase; border: 2px solid transparent; }
.btn-soon, .btn-soon:disabled { background: #4a4a4a; color: #c9c9c9; border-color: #6b6b6b; box-shadow: 5px 5px 0 #000; cursor: not-allowed; }

.section { padding: 52px 0; border-top: 2px solid var(--line); }
h2 { display: flex; align-items: center; margin: 0 0 26px; font: clamp(16px, 2.6vw, 24px)/1.4 var(--pixel); color: var(--orange); text-shadow: 3px 3px 0 #000, 0 0 18px rgba(194,65,12,.35); }
.pix { width: 14px; height: 14px; background: var(--rust); box-shadow: 14px 0 0 var(--green); margin-right: 30px; flex: none; }
h3 { margin: 0 0 10px; font: 12px/1.5 var(--pixel); color: var(--ember); }
.lead { margin: 0 0 14px; max-width: 72ch; }
.hint { color: var(--dim); font-size: 15px; }

.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.features li { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--green); padding: 18px; }
.features li:nth-child(odd) { border-left-color: var(--rust); }
.features p { margin: 0; font-size: 15.5px; }
.shot { margin: 24px 0 0; border: 3px solid var(--brown); background: #000; max-width: 780px; box-shadow: 6px 6px 0 #000; }
figcaption { padding: 8px 12px; color: var(--dim); font-size: 14px; background: var(--bg2); }

.weapons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.weapon { margin: 0; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--brown); padding: 8px; }
.weapon video, .media video { width: 100%; background: #000; aspect-ratio: 640 / 132; }
.weapon figcaption { background: none; padding: 10px 4px 2px; }
.weapon h3 { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.slot { color: var(--green-hi); white-space: nowrap; }
.weapon p { margin: 0; color: var(--fg); font-size: 15px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.media { margin: 0; border: 3px solid var(--brown); background: #000; box-shadow: 6px 6px 0 #000; }
.media.gameplay video { aspect-ratio: 16 / 9; }
.media + .media { margin-top: 20px; }

.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 10px; background: var(--rust); box-shadow: 2px 2px 0 #000; }
.ticks strong { color: var(--ember); }

.card { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--orange); padding: 22px; }
.card p { margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }
.status { font: 14px/1.5 var(--pixel); color: var(--orange); }

.footer { margin-top: 40px; padding: 28px clamp(16px, 4vw, 40px); border-top: 3px solid var(--rust); background: var(--bg2); color: var(--dim); text-align: center; font-size: 14px; }
.footer p { margin: 6px auto; max-width: 900px; }

@media (max-width: 900px) { .hero, .split { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .topbar nav { gap: 2px 14px; }
  .topbar nav a { font-size: 13px; }
  .weapons { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  h1 img { margin: 0 auto; }
}

.compare { display:flex; flex-wrap:wrap; gap:20px; margin-top:28px; align-items:flex-start; }
.compare .shot { margin:0; max-width:none; flex:0 0 auto; }
.compare .shot img { height:300px; width:auto; display:block; }
@media (max-width:720px){ .compare .shot img { height:auto; width:100%; } .compare .shot { flex:1 1 100%; } }

.hero-art { display:flex; flex-direction:column; align-items:flex-start; gap:36px; }
.hero-banner { align-self:flex-start; width:auto; }
.hero-banner img { width:300px; height:auto; display:block; }
.hero-art .credit { width:100%; }
.hero-art .credit img { width:100%; height:auto; display:block; }

.more-layout { display:grid; grid-template-columns: 240px minmax(0,1fr); gap:24px; align-items:start; }
.more-ranger { margin:0; border:3px solid var(--brown); background:#000; box-shadow:6px 6px 0 #000; }
.more-ranger img { width:100%; height:auto; display:block; }
.more-layout .features-right { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top:0; }
@media (max-width:900px){ .more-layout { grid-template-columns:1fr; } .more-ranger { max-width:240px; } }
@media (max-width:600px){ .more-layout .features-right { grid-template-columns:1fr; } }

.btn-download { background: var(--rust); color: var(--fg); border-color: var(--orange); box-shadow: 5px 5px 0 #000; }
.btn-download:hover { background: var(--orange); color: var(--bg); }
