/* LRX Torn Tracker site: the app's sign-in look (black, champagne gold, chrome silver, pixel city). */
@font-face { font-family: "LRX TT Mono"; src: url("LRXe8-tt-mono-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "LRX TT Mono"; src: url("LRXe8-tt-mono-latin-ext.woff2") format("woff2"); font-weight: 400 600; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }

:root {
  --bg: #040405;
  --bg-2: #0a0b0d;
  --gold: #c9a96a;
  --gold-2: #e3cc97;
  --gold-soft: rgba(201, 169, 106, 0.12);
  --silver: #d9dee4;
  --text: #e9edf0;
  --muted: #a7afb7;
  --faint: #6d757d;
  --line: rgba(255, 255, 255, 0.08);
  --card: linear-gradient(170deg, rgba(26, 27, 30, 0.86), rgba(9, 10, 12, 0.94));
  --sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "LRX TT Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-lux: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
html.lang-wait body { visibility: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.01em; text-wrap: balance; }
p, figcaption { text-wrap: pretty; }
p { margin: 0; }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--gold-2); color: #141517; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn-silver {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 11px;
  font: 700 13.5px var(--sans); letter-spacing: 2.2px; text-transform: uppercase; color: #141517; text-decoration: none; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(180deg, #f6f7f9 0%, #cdd3d9 52%, #a9b1ba 100%);
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px -14px rgba(201, 169, 106, 0.55);
  transition: transform .15s, box-shadow .25s, filter .2s;
}
.btn-silver:hover { box-shadow: inset 0 1px 0 #fff, 0 18px 40px -12px rgba(201, 169, 106, 0.75); filter: brightness(1.04); }
.btn-silver:active { transform: translateY(1px); }
.btn-silver svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 11.5px; letter-spacing: 1.8px; border-radius: 9px; }
.gold-link { color: var(--gold-2); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.gold-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(4, 4, 5, 0.72); border-color: var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; width: min(1240px, 100%); margin: 0 auto; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 8px; }
.brand-t { font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--silver); white-space: nowrap; }
.brand-t b { color: var(--gold); font-weight: 700; letter-spacing: 5px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--gold-2); background: rgba(255, 255, 255, 0.04); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.45); }
.lang button { min-width: 38px; height: 28px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: 600 12px var(--sans); cursor: pointer; }
.lang button[aria-pressed="true"] { color: #141517; background: linear-gradient(180deg, #f6f7f9, #b9c0c8); }
.menu { display: none; width: 40px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: rgba(0, 0, 0, 0.45); cursor: pointer; padding: 0 10px; flex-direction: column; justify-content: center; gap: 5px; }
.menu i { display: block; height: 1.5px; background: var(--silver); border-radius: 2px; transition: transform .25s; }
.menu[aria-expanded="true"] i:first-of-type { transform: translateY(3.25px) rotate(45deg); }
.menu[aria-expanded="true"] i:last-of-type { transform: translateY(-3.25px) rotate(-45deg); }

/* Hero: the app's sign-in screen */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; padding: 96px 16px 72px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 520px at 50% 38%, rgba(201, 169, 106, 0.10), transparent 60%),
    radial-gradient(1200px 700px at 50% 120%, rgba(214, 220, 227, 0.06), transparent 60%),
    var(--bg);
}
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
/* New Year scene (Christmas Town, 19 Dec 16:00 - 31 Dec 16:00 TCT): above the town and its bottom fade, below the card. */
.hero-newyear { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 140px; z-index: -1; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-glow {
  position: absolute; width: 720px; height: 720px; left: 50%; top: 44%; margin: -360px 0 0 -360px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: conic-gradient(from 0deg, transparent, rgba(201, 169, 106, 0.10), transparent 30%, rgba(214, 220, 227, 0.07), transparent 60%);
  filter: blur(40px); animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-card {
  position: relative; width: min(500px, 100%); padding: 40px 36px 30px; border-radius: 18px; text-align: center;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  animation: cardIn 1s var(--ease-out) both .15s;
}
.hero-card::before, .glass-edge::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(227, 204, 151, 0.55), rgba(255, 255, 255, 0.04) 35%, rgba(255, 255, 255, 0.02) 65%, rgba(214, 220, 227, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.97); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.logo-wrap { position: relative; width: 132px; height: 132px; margin: 0 auto 16px; border-radius: 26px; overflow: hidden; animation: logoIn 1.1s var(--ease-out) both .3s; }
.logo { width: 100%; height: 100%; object-fit: contain; }
.sheen { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 3.8s var(--ease-lux) 1.2s infinite; mix-blend-mode: overlay; }
@keyframes logoIn { from { opacity: 0; transform: scale(.82); filter: blur(10px) brightness(1.8); } to { opacity: 1; transform: none; filter: none; } }
@keyframes sheen { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 6px; text-transform: uppercase; color: var(--gold); animation: fade .8s ease both .7s; }
.kicker span { color: var(--silver); font-weight: 400; letter-spacing: 4px; }
.rule { height: 1px; width: 64%; margin: 16px auto 20px; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: rule 1s var(--ease-out) both .85s; }
@keyframes rule { from { transform: scaleX(0); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.hero h1 {
  font-size: clamp(27px, 3.4vw, 38px); line-height: 1.15; margin-bottom: 12px; animation: rise .8s var(--ease-out) both .95s;
  background: linear-gradient(180deg, #f6f7f9 10%, #b9c0c8 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: 14.5px; margin: 0 auto 22px; max-width: 400px; animation: rise .8s var(--ease-out) both 1.05s; }
.hero-sub b, .lead b, .premium-note b, .steps b { color: var(--text); font-weight: 600; }
.hero-card .btn-silver { width: 100%; animation: rise .8s var(--ease-out) both 1.15s; }
.hero-card .gold-link { display: inline-block; margin-top: 16px; animation: fade .8s ease both 1.3s; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); animation: fade .8s ease both 1.4s; }
.facts li { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); color: var(--muted); font-size: 12px; }
.dev-chip {
  position: absolute; right: 22px; bottom: 22px; display: grid; gap: 1px; padding: 8px 14px; border-radius: 11px; text-align: center; text-decoration: none;
  background: rgba(14, 15, 17, 0.82); border: 1px solid rgba(255, 255, 255, 0.10); box-shadow: 0 16px 34px -18px #000; font-size: 13px; color: var(--text);
  animation: fade 1s ease both 1.6s;
}
.dev-chip .mono { color: var(--gold-2); font-size: 12px; }
.dev-chip small { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.dev-chip:hover { border-color: rgba(227, 204, 151, 0.4); }

/* Section heads */
section { position: relative; }
.screens, .features, .rules, .credits, .releases, .download { padding: 104px 0 0; }
.head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.head h2, .dl-card h2 {
  font-size: clamp(28px, 4vw, 44px); line-height: 1.12;
  background: linear-gradient(180deg, #f6f7f9 10%, #aab2bb 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: 16px; margin-top: 14px; }

/* Screens */
.shot-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 26px; padding: 5px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.shot-tabs button { height: 38px; padding: 0 16px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--muted); font: 500 13.5px var(--sans); cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.shot-tabs button:hover { color: var(--text); }
.shot-tabs button[aria-selected="true"] { color: var(--gold-2); background: var(--gold-soft); border-color: rgba(201, 169, 106, 0.4); }
.shot { margin: 0; }
.shot-frame {
  position: relative; padding: 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 60px 120px -50px rgba(201, 169, 106, 0.28), 0 40px 80px -40px #000;
}
.shot-frame::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(160deg, rgba(227, 204, 151, 0.5), rgba(255, 255, 255, 0.03) 40%, rgba(214, 220, 227, 0.28)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.shot-frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 10px; background: #0b0c0e; transition: opacity .25s; }
.shot-frame img.swap { opacity: 0; }
.shot figcaption { text-align: center; color: var(--muted); max-width: 680px; margin: 20px auto 0; font-size: 14.5px; min-height: 3.2em; }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; padding: 26px 24px 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); transition: transform .3s var(--ease-out), border-color .3s; }
.card:hover { transform: translateY(-3px); border-color: rgba(227, 204, 151, 0.28); }
.ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 11px; background: var(--gold-soft); border: 1px solid rgba(201, 169, 106, 0.3); }
.ico svg { width: 21px; height: 21px; fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 16.5px; margin-bottom: 6px; color: var(--text); }
.card p { color: var(--muted); font-size: 14px; }
.premium-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }

/* Rules: dot grid echoes the pixel city */
.rules-card {
  position: relative; padding: 56px 48px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(circle at 1px 1px, rgba(227, 204, 151, 0.13) 1px, transparent 1.6px) 0 0 / 14px 14px,
    radial-gradient(700px 300px at 50% 0%, rgba(201, 169, 106, 0.12), transparent 70%),
    linear-gradient(170deg, #0d0e10, #060607);
}
.rules-card .head { margin-bottom: 36px; }
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rule-list li { display: flex; gap: 16px; padding: 22px; border-radius: 14px; background: rgba(4, 4, 5, 0.72); border: 1px solid var(--line); }
.num { color: var(--gold); font-size: 13px; padding-top: 2px; }
.rule-list h3 { font-size: 16px; margin-bottom: 4px; }
.rule-list p { color: var(--muted); font-size: 14px; }

/* Credits: flex carousel */
.credits { overflow: hidden; }
.credits::before { content: ''; position: absolute; left: 50%; top: 52%; width: 900px; height: 460px; margin-left: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 169, 106, 0.12), transparent); pointer-events: none; }
.flex { position: relative; }
.flex-title { text-align: center; font-size: 20px; font-weight: 650; min-height: 32px; color: var(--text); }
.flex-title .mono { color: var(--gold-2); font-size: 15px; font-weight: 500; margin-left: 6px; }
.flex-title small { display: block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.flex-stage { position: relative; height: clamp(360px, 40vw, 480px); margin: 6px 0; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.flex-stage.dragging { cursor: grabbing; }
.flex-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.flex-nav { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(10, 11, 13, 0.75); color: var(--silver); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(10px); transition: border-color .2s, color .2s; }
.flex-nav:hover { border-color: rgba(227, 204, 151, 0.5); color: var(--gold-2); }
.flex-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flex-nav.prev { left: max(16px, calc(50% - 580px)); }
.flex-nav.next { right: max(16px, calc(50% - 580px)); }
.flex-meta { display: flex; justify-content: center; align-items: center; gap: 16px; font-size: 13.5px; }
.flex-count { color: var(--faint); letter-spacing: 1px; }
.flex-meta a { color: var(--gold-2); text-decoration: none; font-weight: 500; }
.flex-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.flex[data-ready="false"] :is(.flex-stage, .flex-title, .flex-meta) { display: none; }
.flex[data-ready="true"] .people { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Fallback row (no WebGL, reduced motion or no script) */
.people { display: flex; gap: 14px; list-style: none; margin: 0; padding: 8px max(24px, calc(50% - 566px)) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.people li { flex: 0 0 200px; scroll-snap-align: center; }
.people a { position: relative; display: grid; gap: 2px; padding: 10px 10px 14px; border-radius: 16px; text-decoration: none; background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.people a:hover { border-color: rgba(227, 204, 151, 0.4); }
.pic { position: relative; display: grid; place-items: center; aspect-ratio: 400 / 550; margin-bottom: 8px; border-radius: 11px; overflow: hidden; background: radial-gradient(circle at 30% 20%, #2a2620, #0b0b0c); }
.pic::before { content: attr(data-initials); font: 700 34px var(--sans); letter-spacing: 2px; color: var(--gold-2); opacity: .8; }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.people b { font-size: 15px; color: var(--text); }
.people .mono { color: var(--gold-2); font-size: 12px; }
.people small { color: var(--muted); font-size: 12px; }
.note { text-align: center; color: var(--faint); font-size: 13px; margin-top: 18px; }
.note a, .faq a, .foot .small a { color: var(--gold-2); }

/* Release notes */
.rel-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.rel { border-radius: 16px; border: 1px solid var(--line); background: var(--card); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.rel[open] { border-color: rgba(201, 169, 106, 0.32); }
.rel summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 18px 22px; cursor: pointer; list-style: none; }
.rel summary::-webkit-details-marker { display: none; }
.rel summary::after { content: '+'; margin-left: auto; color: var(--gold); font-family: var(--mono); transition: transform .2s; }
.rel[open] summary::after { transform: rotate(45deg); }
.rel-v { color: var(--gold-2); font-size: 15px; font-weight: 500; }
.rel-t { font-weight: 600; font-size: 15.5px; }
.rel-d { color: var(--faint); font-size: 12px; }
.rel-latest { padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(201, 169, 106, 0.4); background: var(--gold-soft); color: var(--gold-2); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.rel ul { display: grid; gap: 9px; margin: 0; padding: 2px 22px 22px 22px; list-style: none; border-top: 1px solid var(--line); padding-top: 16px; }
.rel li { position: relative; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.rel li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .8; }
.rel li b { color: var(--text); font-weight: 600; }

/* Download */
.download { padding-bottom: 110px; }
.dl-card { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 52px 48px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 50px 100px -50px rgba(201, 169, 106, 0.25); }
.dl-card h2 { margin-bottom: 22px; }
.steps { margin: 0 0 26px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; color: var(--muted); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 12.5px var(--mono); color: var(--gold); }
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.small { color: var(--faint); font-size: 12.5px; margin-top: 16px; }
.faq { display: grid; gap: 10px; align-content: start; }
.faq details { border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); }
.faq summary { padding: 14px 18px; cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-family: var(--mono); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 16px; color: var(--muted); font-size: 14px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 34px 0 40px; background: linear-gradient(#040405, #000); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; font-size: 13px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--gold-2); }
.foot .small { grid-column: 1 / -1; margin: 0; }

/* Scroll reveal (only when scripts run) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .dl-card { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 1024px) {
  .menu { display: inline-flex; }
  .top-actions .btn-sm { display: none; }
  .nav { position: absolute; top: 64px; left: 12px; right: 12px; flex-direction: column; padding: 8px; border-radius: 14px; background: rgba(8, 9, 11, 0.96); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px #000; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 15px; }
  .top-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap, .top-in { padding: 0 16px; }
  .brand-t { letter-spacing: 3px; font-size: 11px; }
  .brand-t b { letter-spacing: 3px; }
  .hero { padding: 84px 16px 96px; }
  .hero-card { padding: 30px 20px 24px; }
  .logo-wrap { width: 104px; height: 104px; border-radius: 22px; }
  .kicker { letter-spacing: 4px; font-size: 12px; }
  .dev-chip { right: 50%; transform: translateX(50%); bottom: 18px; }
  .grid, .rule-list { grid-template-columns: 1fr; }
  .rules-card, .dl-card { padding: 34px 18px; border-radius: 18px; }
  .screens, .features, .rules, .credits, .releases, .download { padding-top: 76px; }
  .shot-frame { padding: 5px; border-radius: 12px; }
  .shot-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; scrollbar-width: none; }
  .shot-tabs button { flex: 0 0 auto; }
  .flex-nav { width: 40px; height: 40px; margin-top: -20px; }
  .rel summary { padding: 16px 16px; }
  .rel ul { padding: 14px 16px 18px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
