/* BERDA landing — launcher design language: navy ink, signal red, Russo One + JetBrains Mono,
   notched pixel corners, mono tags. Fast by design: no blur filters, no scroll-jacking,
   one cheap fade-in on scroll, everything off under prefers-reduced-motion. */
@font-face { font-family: "Russo One"; src: url(../fonts/russo-one-cyrillic.woff2) format("woff2"); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Russo One"; src: url(../fonts/russo-one-latin.woff2) format("woff2"); 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+2122, U+2212; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; src: url(../fonts/jetbrains-mono-400-cyrillic.woff2) format("woff2"); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; src: url(../fonts/jetbrains-mono-400-latin.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2122, U+2212; }
@font-face { font-family: "JetBrains Mono"; font-weight: 600; src: url(../fonts/jetbrains-mono-600-cyrillic.woff2) format("woff2"); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 600; src: url(../fonts/jetbrains-mono-600-latin.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2122, U+2212; }

:root {
  --red: #ff4a2e; --red-d: #a52a17; --cream: #eeede6; --blue: #4c84bd; --blue-hi: #7fb0e6;
  --muted: #8aa0bd; --dim: #5f7594; --ink: #070c18; --panel: #0e182c; --panel-2: #13213a;
  --line: rgba(127, 176, 230, .14); --gold: #ffc94a; --green: #7ddc6a; --violet: #a98bff;
  --mono: "JetBrains Mono", Consolas, monospace; --display: "Russo One", "Segoe UI", sans-serif;
  --n: polygon(0 8px, 8px 8px, 8px 0, calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px));
  --ns: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ld { margin: 0; background: var(--ink); color: var(--cream); font: 400 16px/1.55 var(--mono); overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; }
p { margin: 0; }
.ld-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ld-skip { position: absolute; left: -9999px; }
.ld-skip:focus { left: 12px; top: 12px; z-index: 100; padding: 10px 14px; background: var(--red); }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }

/* ── type ── */
.ld-tag { font: 600 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--blue-hi); display: flex; align-items: center; gap: 10px; }
.ld-tag i { font-style: normal; color: var(--red); }
.ld-h2 { margin-top: 16px; font-size: clamp(32px, 5vw, 56px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; text-shadow: 3px 3px 0 rgba(255, 74, 46, .5); }
.ld-h2--xl { font-size: clamp(38px, 6.4vw, 76px); }
.ld-lead { margin-top: 18px; max-width: 640px; color: #c8d6e8; font-size: 17px; }
.ld-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: rgba(127, 176, 230, .12); color: var(--blue-hi); clip-path: var(--ns); }
.ld-link { display: inline-block; margin-top: 26px; font: 600 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-hi); }
.ld-link:hover { color: var(--cream); }

/* ── buttons (launcher) ── */
.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; font: 400 15px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--cream); background: #1c2c48; clip-path: var(--ns); transition: background .15s, transform .1s, filter .15s; white-space: nowrap; }
.ld-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; }
.ld-btn:hover { background: #26406a; }
.ld-btn:active { transform: translateY(2px); }
.ld-btn--red { background: var(--red); color: #fff; box-shadow: inset 0 -5px 0 var(--red-d); padding-bottom: 4px; }
.ld-btn--red:hover { background: var(--red); filter: brightness(1.08); }
.ld-btn--ghost { background: rgba(7, 12, 24, .35); box-shadow: inset 0 0 0 2px rgba(127, 176, 230, .32); }
.ld-btn--ghost:hover { background: rgba(127, 176, 230, .12); }
.ld-btn--sm { height: 38px; padding: 0 14px; font-size: 13px; }
.ld-btn--sm.ld-btn--red { padding-bottom: 3px; box-shadow: inset 0 -4px 0 var(--red-d); }
.ld-btn--lg { height: 56px; padding: 0 28px; font-size: 17px; margin-top: 28px; }
.ld-btn--xl { height: 64px; padding: 0 32px; font-size: 19px; }
.ld-btn--full { width: 100%; }

/* ── header ── */
.ld-head { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.ld-head.is-solid { background: rgba(7, 12, 24, .94); box-shadow: 0 1px 0 var(--line); }
.ld-head__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.ld-logo { display: flex; align-items: center; gap: 10px; font: 400 18px/1 var(--display); letter-spacing: .06em; }
.ld-logo img { image-rendering: pixelated; }
.ld-logo i { font-style: normal; margin-left: 6px; color: var(--red); font-size: 11px; letter-spacing: .3em; font-family: var(--mono); font-weight: 600; }
.ld-nav { display: flex; gap: 26px; margin-right: auto; }
.ld-nav a { font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .15s; }
.ld-nav a:hover { color: var(--cream); }
.ld-head__act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ld-lang { font: 600 12px/1 var(--mono); letter-spacing: .12em; color: var(--muted); padding: 8px; }
.ld-lang:hover { color: var(--cream); }
.ld-burger { display: none; width: 40px; height: 38px; position: relative; background: #1c2c48; clip-path: var(--ns); }
.ld-burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--cream); transition: transform .2s; }
.ld-burger i:first-child { top: 14px; } .ld-burger i:last-child { top: 22px; }
.ld-burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.ld-burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
.ld-menu { background: rgba(7, 12, 24, .98); border-top: 1px solid var(--line); padding: 10px 20px 22px; display: grid; }
.ld-menu[hidden] { display: none; }
.ld-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 20px/1 var(--display); text-transform: uppercase; }
.ld-flash { padding-top: 90px; color: var(--green); }

/* ── hero ── */
.ld-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 0; overflow: hidden; isolation: isolate; }
.ld-hero__media { position: absolute; inset: 0; z-index: -1; background: #0a1020; }
.ld-hero__media img, .ld-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ld-hero__media video { opacity: 0; transition: opacity .8s; }
.ld-hero__media video.is-on { opacity: 1; }
.ld-hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(7, 12, 24, .92) 0%, rgba(7, 12, 24, .55) 45%, rgba(7, 12, 24, .1) 75%),
  linear-gradient(0deg, var(--ink) 0%, rgba(7, 12, 24, 0) 38%), linear-gradient(180deg, rgba(7, 12, 24, .7) 0%, rgba(7, 12, 24, 0) 22%); }
.ld-hero__copy { padding-bottom: 46px; }
.ld-hero__title { margin-top: 22px; }
.ld-hero__title img { width: min(560px, 86vw); height: auto; filter: drop-shadow(4px 4px 0 rgba(255, 74, 46, .45)); }
.ld-hero__tagline { margin-top: 24px; max-width: 640px; font: 400 clamp(24px, 3.2vw, 38px)/1.08 var(--display); text-transform: uppercase; }
.ld-hero__lead { margin-top: 14px; max-width: 520px; color: #c8d6e8; font-size: 16px; }
.ld-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ld-platforms { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; padding: 0; list-style: none; font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.ld-platforms li { display: flex; align-items: center; gap: 8px; }
.ld-platforms li::before { content: ""; width: 8px; height: 8px; background: var(--dim); }
.ld-platforms li.is-live { color: var(--cream); }
.ld-platforms li.is-live::before { background: var(--green); box-shadow: 0 0 10px var(--green); }
.ld-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 auto; padding: 0; list-style: none; background: var(--line); border-top: 1px solid var(--line); max-width: none; }
.ld-pillars li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 22px 24px; background: rgba(7, 12, 24, .88); }
.ld-pillars .ld-ico { grid-row: span 2; }
.ld-pillars b { font: 400 17px/1.1 var(--display); text-transform: uppercase; }
.ld-pillars span:not(.ld-ico) { color: var(--muted); font-size: 13px; }

/* build info filled by game-download.js: «Android • v1.4 • 120 MB» */
.ld-meta { min-height: 16px; margin-top: 14px; font: 600 12px/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.ld-meta .game-download-meta__line { display: none; }
.ld-meta .game-download-meta__line.is-visible, .ld-meta.is-dual .game-download-meta__line { display: inline; }
.ld-meta.is-dual .game-download-meta__line + .game-download-meta__line::before { content: "  ·  "; }

/* ── icons ── */
.ld-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; color: var(--red); background: rgba(255, 74, 46, .1); clip-path: var(--ns); }
.ld-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.ld-ico--lg { width: 58px; height: 58px; } .ld-ico--lg svg { width: 30px; height: 30px; }

/* ── sections ── */
.ld-sec { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.ld-sec--band { background: linear-gradient(180deg, #0a1222, #0c1528); border-block: 1px solid var(--line); }
.ld-sec__head { margin-bottom: 44px; }
.ld-sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* events bento */
.ld-events { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto auto; gap: 16px; }
.ld-event { position: relative; min-height: 240px; padding: 28px; display: flex; align-items: flex-end; overflow: hidden; background: var(--panel); clip-path: var(--n); --tone: var(--red); }
.ld-event.is-big { grid-row: span 3; min-height: 520px; }
.ld-event::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 80% at 85% 0%, color-mix(in srgb, var(--tone) 32%, transparent), transparent 60%), linear-gradient(180deg, transparent 30%, rgba(7, 12, 24, .9)); }
.ld-event::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.ld-event__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ld-event__art { position: absolute; z-index: 1; right: -4%; top: -2%; width: 78%; max-width: 460px; image-rendering: pixelated; filter: drop-shadow(0 0 40px rgba(255, 74, 46, .45)); }
.ld-event__glyph { position: absolute; z-index: 2; right: 20px; top: 18px; color: var(--tone); opacity: .9; }
.ld-event__glyph svg { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
.ld-event.is-big .ld-event__glyph svg { width: 150px; height: 150px; stroke-width: 1.2; }
.ld-event__body { position: relative; z-index: 2; max-width: 520px; }
.ld-event .ld-chip { background: color-mix(in srgb, var(--tone) 18%, transparent); color: var(--tone); }
.ld-event h3 { margin-top: 14px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.05; text-transform: uppercase; }
.ld-event.is-big h3 { font-size: clamp(30px, 3.6vw, 46px); }
.ld-event p { margin-top: 10px; color: #c8d6e8; font-size: 15px; }
.ld-tone-red { --tone: var(--red); } .ld-tone-gold { --tone: var(--gold); } .ld-tone-violet { --tone: var(--violet); } .ld-tone-blue { --tone: var(--blue-hi); }

/* split */
.ld-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ld-split--rev > :first-child { order: 2; }
.ld-shot { position: relative; margin: 0; clip-path: var(--n); background: var(--panel); }
.ld-shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.ld-shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(127, 176, 230, .2); }
.ld-shot figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 10px; background: rgba(7, 12, 24, .8); clip-path: var(--ns); }
.ld-ticks { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ld-ticks li { position: relative; padding-left: 28px; color: #d7e2f0; }
.ld-ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; background: var(--red); clip-path: polygon(0 40%, 40% 40%, 40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%); }

/* world */
.ld-world { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ld-world__shot { margin: 0; clip-path: var(--n); }
.ld-world__shot img { width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; }
.ld-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ld-card, .ld-ridecard, .ld-mini { padding: 24px; background: var(--panel); clip-path: var(--n); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, transform .2s; }
.ld-card:hover, .ld-ridecard:hover, .ld-mini:hover { background: var(--panel-2); transform: translateY(-3px); }
.ld-card h3, .ld-ridecard h3, .ld-mini h3 { margin-top: 16px; font-size: 19px; line-height: 1.1; text-transform: uppercase; }
.ld-card p, .ld-ridecard p, .ld-mini p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ride */
.ld-ride { overflow: hidden; isolation: isolate; }
.ld-ride__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.ld-ride::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink), rgba(7, 12, 24, .7) 30%, rgba(7, 12, 24, .7) 70%, var(--ink)); }
.ld-rides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ld-ridecard { background: rgba(14, 24, 44, .86); }

/* survival 8 */
.ld-grid8 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ld-mini { display: flex; flex-direction: column; }

/* reviews */
.ld-score { display: grid; justify-items: end; gap: 4px; font-size: 13px; color: var(--muted); }
.ld-score b { font: 400 54px/1 var(--display); color: var(--cream); }
.ld-stars { position: relative; display: inline-block; font-size: 18px; letter-spacing: 3px; color: #2a3a58; }
.ld-stars::before { content: "★★★★★"; position: absolute; inset: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; color: var(--gold); }
.ld-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ld-review { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--panel); clip-path: var(--n); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; }
.ld-review:hover { background: var(--panel-2); }
.ld-review p { color: #d7e2f0; font-size: 15px; flex: 1; }
.ld-review b { font: 400 15px/1 var(--display); color: var(--blue-hi); }

/* final */
.ld-final { position: relative; padding: clamp(90px, 12vw, 150px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.ld-final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ld-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(7, 12, 24, .62), rgba(7, 12, 24, .94)); }
.ld-final__in { display: flex; flex-direction: column; align-items: center; }
.ld-final .ld-tag { justify-content: center; }
.ld-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 36px; padding: 0; list-style: none; width: 100%; max-width: 980px; text-align: left; }
.ld-steps li { display: flex; gap: 14px; padding: 20px; background: rgba(14, 24, 44, .88); clip-path: var(--n); box-shadow: inset 0 0 0 1px var(--line); }
.ld-steps li > b { display: grid; place-items: center; width: 40px; height: 40px; flex: none; font: 400 20px/1 var(--display); background: var(--red); clip-path: var(--ns); }
.ld-steps strong { display: block; font: 400 17px/1.15 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.ld-steps span { color: var(--muted); font-size: 14px; }
.ld-community { display: flex; gap: 22px; margin-top: 26px; font: 600 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-hi); }
.ld-community a:hover { color: var(--cream); }

/* faq */
.ld-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.ld-q { border-bottom: 1px solid var(--line); }
.ld-q summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 400 18px/1.25 var(--display); }
.ld-q summary::-webkit-details-marker { display: none; }
.ld-q summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; color: var(--red); transition: transform .2s; }
.ld-q[open] summary::after { transform: rotate(45deg); }
.ld-q p { padding: 0 0 20px; color: var(--muted); }

/* footer */
.ld-foot { border-top: 1px solid var(--line); background: #050913; padding-top: 56px; }
.ld-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.ld-foot__grid > div { display: grid; align-content: start; gap: 10px; font-size: 14px; color: #c8d6e8; }
.ld-foot__grid a:hover { color: var(--cream); }
.ld-foot .ld-tag { margin-bottom: 8px; }
.ld-foot__blurb { margin-top: 10px; color: var(--muted); max-width: 360px; }
.ld-foot__fine { font-size: 12px; color: var(--dim); max-width: 380px; }
.ld-foot__copy { margin-top: 44px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); font: 600 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* sticky mobile CTA */
.ld-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 12, 24, .95); box-shadow: 0 -1px 0 var(--line); }

/* scroll reveal (one cheap transform+opacity) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── download dialog (reuses the shared partial; restyled here) ── */
.download-dialog-backdrop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(3, 6, 12, .82); }
.download-dialog-backdrop[hidden] { display: none; }
.download-dialog { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--panel); clip-path: var(--n); box-shadow: inset 0 0 0 1px rgba(127, 176, 230, .22); }
.download-dialog[hidden] { display: none; }
.download-dialog-close { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; font-size: 24px; color: var(--muted); }
.download-dialog-close:hover { color: var(--cream); }
.download-platform-body, .download-dialog .p-6 { padding: 32px; }
.download-dialog-icon { display: grid; place-items: center; width: 52px; height: 52px; font: 400 26px/1 var(--display); color: #fff; background: var(--red); clip-path: var(--ns); }
.download-dialog-icon-error { background: #7a2a20; }
.download-dialog .section-label { font: 600 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-hi); }
.download-dialog h2 { text-transform: uppercase; line-height: 1.05; }
.download-dialog .text-4xl { font-size: 34px; } .download-dialog .text-3xl { font-size: 28px; } .download-dialog .text-sm { font-size: 14px; }
.download-dialog .text-\[var\(--muted\)\] { color: var(--muted); }
.download-dialog .mt-2 { margin-top: 8px; } .download-dialog .mt-3 { margin-top: 12px; } .download-dialog .mt-5 { margin-top: 20px; } .download-dialog .mt-7 { margin-top: 28px; }
.download-dialog .space-y-3 > * + * { margin-top: 12px; }
.download-dialog .flex { display: flex; } .download-dialog .gap-3 { gap: 12px; } .download-dialog .flex-1 { flex: 1; } .download-dialog .w-full { width: 100%; }
.download-dialog .btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; font: 400 15px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--cream); background: #1c2c48; clip-path: var(--ns); border: 0; }
.download-dialog .btn-primary, .download-dialog .btn-download { background: var(--red); color: #fff; }
.download-platform-grid { display: grid; gap: 10px; margin-top: 24px; }
.download-platform-card { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; text-align: left; background: #0a1324; clip-path: var(--ns); box-shadow: inset 0 0 0 2px rgba(127, 176, 230, .16); transition: box-shadow .15s, background .15s; }
.download-platform-card-live:hover { background: #0f1c33; box-shadow: inset 0 0 0 2px var(--red); }
.download-platform-card:disabled { opacity: .5; cursor: default; }
.download-platform-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--cream); background: #1c2c48; clip-path: var(--ns); }
.download-platform-card-live .download-platform-icon { background: var(--red); }
.download-platform-glyph { width: 26px; height: 26px; }
.download-platform-copy { display: grid; gap: 4px; }
.download-platform-name { font: 400 18px/1 var(--display); text-transform: uppercase; }
.download-platform-hint { font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.download-platform-shine, .premium-dialog-aurora, .promo-banner-flare { display: none; }
.premium-dialog-body { padding: 32px; }
.premium-dialog-seal { display: block; width: 44px; color: var(--gold); margin-bottom: 14px; }
.premium-dialog-title { margin-top: 8px; font-size: 30px; text-transform: uppercase; }
.premium-dialog-lead, .premium-dialog-note, .premium-promo-text { margin-top: 12px; color: var(--muted); font-size: 14px; }
.premium-dialog-forever { margin-top: 16px; padding: 14px; background: rgba(255, 201, 74, .08); color: #e9dcb8; font-size: 14px; clip-path: var(--ns); }
.premium-dialog-forever em { color: var(--gold); font-style: normal; }
.premium-perk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.premium-perk { padding: 14px; background: #0a1324; clip-path: var(--ns); }
.premium-perk h3 { font-size: 14px; text-transform: uppercase; margin-top: 6px; }
.premium-perk p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.premium-promo { margin-top: 16px; padding: 14px; background: rgba(255, 74, 46, .1); clip-path: var(--ns); }
.premium-promo[hidden] { display: none; }
.premium-dialog-actions { display: grid; gap: 10px; margin-top: 18px; }


/* ── wipe countdown ── */
.ld-wipe { position: relative; background: linear-gradient(90deg, rgba(255, 74, 46, .14), rgba(255, 74, 46, .02) 60%), #0a1222; border-block: 1px solid rgba(255, 74, 46, .28); }
.ld-wipe__in { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.ld-wipe__title { margin-top: 10px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.05; text-transform: uppercase; }
.ld-wipe__text { margin-top: 8px; max-width: 520px; color: var(--muted); font-size: 14px; }
.ld-wipe .ld-btn--lg { margin-top: 0; }
.ld-timer { display: flex; gap: 8px; }
.ld-timer span { display: grid; justify-items: center; gap: 6px; min-width: 70px; padding: 12px 8px 10px; background: var(--ink); clip-path: var(--ns); box-shadow: inset 0 0 0 1px rgba(255, 74, 46, .35); }
.ld-timer b { font: 400 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.ld-timer i { font: 600 10px/1 var(--mono); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ld-final__wipe { margin-top: 18px; font: 600 14px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ld-final__wipe b { color: var(--red); font-weight: 600; }

/* ── clips ── */
.ld-sec--tight { padding: clamp(56px, 7vw, 88px) 0; }
.ld-clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ld-clip { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); clip-path: var(--n); }
.ld-clip video { width: 100%; height: 100%; object-fit: cover; }
.ld-clip figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 10px; font: 400 13px/1 var(--display); text-transform: uppercase; background: rgba(7, 12, 24, .85); clip-path: var(--ns); }

/* ── screenshot slots in cards ── */
.ld-card--shot { position: relative; padding-top: 0 !important; overflow: hidden; }
.ld-thumb { display: block; flex: none; width: calc(100% + 48px); max-width: none; height: auto; margin: 0 -24px 0; aspect-ratio: 16 / 9; object-fit: cover; }
.ld-card--shot .ld-ico--sm { position: absolute; left: 12px; top: 12px; }
.ld-ico--sm { width: 36px; height: 36px; background: rgba(7, 12, 24, .85); } .ld-ico--sm svg { width: 20px; height: 20px; }

/* ── requirements ── */
.ld-req { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.ld-req__col { padding: 16px; background: rgba(7, 12, 24, .55); clip-path: var(--ns); box-shadow: inset 0 0 0 1px var(--line); }
.ld-req dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 12px 0 0; font-size: 13px; }
.ld-req dt { color: var(--dim); } .ld-req dd { margin: 0; color: #d7e2f0; }
.ld-platforms__req::before { display: none !important; }
.ld-platforms__req a { color: var(--blue-hi); text-decoration: underline; text-underline-offset: 3px; }

/* ── red button «chips off» like a hit block ── */
.ld-btn--red { position: relative; overflow: hidden; }
.ld-btn--red::after { content: ""; position: absolute; left: 0; top: 0; width: 6px; height: 6px; pointer-events: none; opacity: 0;
  box-shadow: 14px 6px 0 #ffd3c9, 40px 30px 0 #c23a22, 70px 8px 0 #ffd3c9, 120px 34px 0 #c23a22, 160px 4px 0 #ffd3c9, 200px 28px 0 #c23a22, 240px 10px 0 #ffd3c9, 280px 36px 0 #c23a22; }
.ld-btn--red:hover::after { animation: ld-chip .5s steps(5) 1; }
.ld-btn--red:hover { animation: ld-crack .3s steps(2) 1; }
@keyframes ld-chip { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(26px); } }
@keyframes ld-crack {
  0% { clip-path: var(--ns); }
  50% { clip-path: polygon(0 8px, 8px 8px, 8px 0, calc(100% - 12px) 0, calc(100% - 12px) 6px, 100% 6px, 100% calc(100% - 10px), calc(100% - 6px) calc(100% - 10px), calc(100% - 6px) 100%, 10px 100%, 10px calc(100% - 6px), 0 calc(100% - 6px)); }
  100% { clip-path: var(--ns); }
}

/* ── download button: «the file is on its way» (game-download.js sets data-download-state) ── */
.ld-btn[data-download-state="checking"], .ld-btn[data-download-state="preparing"] { cursor: progress; animation: none; }
.ld-btn[data-download-state="checking"] svg, .ld-btn[data-download-state="preparing"] svg { animation: ld-dl-hop .45s steps(3) infinite; }
.ld-btn--red[data-download-state="checking"]::before, .ld-btn--red[data-download-state="preparing"]::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 5px; pointer-events: none;
  background: repeating-linear-gradient(90deg, #ffd3c9 0 8px, transparent 8px 12px); animation: ld-dl-run .9s steps(9) infinite; }
.ld-btn[data-download-state="started"] svg { animation: ld-dl-drop .5s steps(4) 1 both; }
.ld-btn--red[data-download-state="started"] { animation: ld-dl-flash .5s steps(2) 1; }
.ld-btn[data-download-state="started"] { cursor: default; }
@keyframes ld-dl-hop { 0% { transform: translateY(-3px); } 100% { transform: translateY(3px); } }
@keyframes ld-dl-run { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@keyframes ld-dl-drop { 0% { transform: translateY(-6px); opacity: .4; } 60% { transform: translateY(4px); opacity: 1; } 100% { transform: translateY(0); } }
@keyframes ld-dl-flash { 0% { filter: brightness(1.35); } 100% { filter: none; } }

/* ── responsive ── */
@media (max-width: 1080px) {
  .ld-wipe__in { grid-template-columns: 1fr; }
  .ld-clips { grid-template-columns: 1fr 1fr; }
  .ld-nav { display: none; }
  .ld-burger { display: block; }
  .ld-rides, .ld-grid8 { grid-template-columns: 1fr 1fr; }
  .ld-cards { grid-template-columns: 1fr 1fr; }
  .ld-pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ld-hide-s { display: none; }
  .ld-head__in { gap: 12px; height: 60px; }
  .ld-logo span { display: none; }
  .ld-hero { padding-top: 90px; }
  .ld-hero__shade { background: linear-gradient(0deg, var(--ink) 4%, rgba(7, 12, 24, .55) 55%, rgba(7, 12, 24, .5) 100%); }
  .ld-hero__cta .ld-btn { width: 100%; }
  .ld-pillars li { padding: 16px; }
  .ld-events { grid-template-columns: 1fr; }
  .ld-event.is-big { grid-row: auto; min-height: 420px; }
  .ld-split, .ld-split--rev { grid-template-columns: 1fr; }
  .ld-split--rev > :first-child { order: 0; }
  .ld-reviews, .ld-steps, .ld-faq { grid-template-columns: 1fr; }
  .ld-world__shot img { aspect-ratio: 16 / 10; }
  .ld-rides, .ld-grid8 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ld-mini, .ld-ridecard, .ld-card { padding: 16px; }
  .ld-mini h3, .ld-ridecard h3, .ld-card h3 { font-size: 15px; margin-top: 12px; }
  .ld-mini p, .ld-ridecard p, .ld-card p { font-size: 12.5px; }
  .ld-ico { width: 40px; height: 40px; }
  .ld-pillars b { font-size: 14px; }
  .ld-pillars span:not(.ld-ico) { font-size: 11.5px; }
  .ld-event { padding: 20px; }
  .ld-event__art { width: 72%; right: -10%; top: -6%; opacity: .9; }
  .ld-event.is-big .ld-event__body { padding-top: 40%; }
  .ld-foot__grid { grid-template-columns: 1fr 1fr; }
  .ld-foot__grid > div:first-child { grid-column: 1 / -1; }
  .ld-score { justify-items: start; }
  .ld-foot { padding-bottom: 76px; }
  .premium-perk-grid { grid-template-columns: 1fr; }
  .ld-timer span { min-width: 0; flex: 1; } .ld-timer b { font-size: 28px; }
  .ld-wipe .ld-btn { width: 100%; }
  .ld-req { grid-template-columns: 1fr; }
  .ld-thumb { width: calc(100% + 32px); margin: 0 -16px; }
}
@media (min-width: 761px) { .ld-sticky { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ── news (homepage, #updates) ── */
.ld-news { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.ld-newscard { display: flex; flex-direction: column; background: var(--panel); clip-path: var(--n); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; min-width: 0; }
.ld-newscard:hover { background: var(--panel-2); }
.ld-newscard.is-lead { grid-row: span 2; }
.ld-newscard__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0a1020; }
.ld-newscard:not(.is-lead) .ld-newscard__img { aspect-ratio: 21 / 9; }
.ld-newscard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ld-newscard:hover .ld-newscard__img img { transform: scale(1.03); }
.ld-newscard__fresh { position: absolute; left: 14px; top: 14px; background: var(--red); color: #fff; }
.ld-newscard__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.ld-newscard time { font: 600 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.ld-newscard h3 { font-size: 20px; line-height: 1.15; text-transform: uppercase; }
.ld-newscard.is-lead h3 { font-size: clamp(22px, 2.4vw, 30px); }
.ld-newscard p { color: #b9c8dc; font-size: 14px; }
.ld-newscard b { margin-top: auto; padding-top: 6px; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

/* ── media partners teaser (homepage, #media) ── */
.ld-btn--blue { background: var(--blue); box-shadow: inset 0 -5px 0 #2d5785; padding-bottom: 4px; color: #fff; }
.ld-btn--blue:hover { background: var(--blue); filter: brightness(1.1); }
.ld-mediacta { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 56px); overflow: hidden; isolation: isolate; background: var(--panel); clip-path: var(--n); box-shadow: inset 0 0 0 1px rgba(127, 176, 230, .22); }
.ld-mediacta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.ld-mediacta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 12, 24, .96) 30%, rgba(7, 12, 24, .55)); }
.ld-mediacta__act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.ld-mediacta__act .ld-link { margin-top: 28px; }
.ld-mediacta__pts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ld-mediacta__pts li { display: grid; gap: 4px; padding: 16px 18px; background: rgba(7, 12, 24, .72); clip-path: var(--ns); box-shadow: inset 3px 0 0 var(--blue-hi); }
.ld-mediacta__pts b { font: 400 26px/1 var(--display); color: var(--gold); text-transform: uppercase; }
.ld-mediacta__pts span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .ld-news { grid-template-columns: 1fr; }
  .ld-newscard.is-lead { grid-row: auto; }
  .ld-newscard:not(.is-lead) { flex-direction: row; }
  .ld-newscard:not(.is-lead) .ld-newscard__img { flex: 0 0 34%; aspect-ratio: auto; }
  .ld-newscard:not(.is-lead) .ld-newscard__body { padding: 14px; gap: 6px; }
  .ld-newscard:not(.is-lead) h3 { font-size: 15px; }
  .ld-newscard:not(.is-lead) p { display: none; }
  .ld-mediacta { grid-template-columns: 1fr; gap: 20px; padding: 24px 18px; }
  .ld-mediacta__act .ld-btn { width: 100%; }
  .ld-mediacta__act .ld-link { margin-top: 4px; }
  .ld-mediacta__pts { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .ld-mediacta__pts li { padding: 12px 10px; }
  .ld-mediacta__pts b { font-size: 18px; }
  .ld-mediacta__pts span { font-size: 11px; line-height: 1.3; }
}
