/* Sirenco landing page. Tokens are the dashboard's (src/style.css :root, src/rtl.css).
   Shape rule: buttons, inputs and HUD tiles 10px, cards and media 18px, status pills fully round.
   Theme: dark only, like the dashboard. Motion: transform/opacity only, off under reduced motion.
   Type: Estedad (display) for headlines and HUD numbers, Vazirmatn for text. */

@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Estedad";
  src: url("/assets/fonts/Estedad-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Estedad";
  src: url("/assets/fonts/Estedad-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0f1012;
  --bg-deep: #0a0b0c;
  --panel: #17181b;
  --panel-2: #1e2023;
  --line: #27292c;
  --line-2: #34363a;
  --text: #efedeb;
  --muted: #9a9c9f;
  --accent: #f5a623;
  --accent-hi: #ffbd59;
  --on-accent: #271f16;
  --warm: #282420;
  --warm-2: #453829;
  --warm-text: #efc99e;
  --ok: #6fdc95;
  --r-btn: 10px;
  --r-card: 18px;
  --r-pill: 999px;
  --nav-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --display: "Estedad", "Vazirmatn", Tahoma, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Film grain over everything: one tiled texture, never intercepts the pointer. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none;
  background: url("/assets/grain.png") repeat; background-size: 180px; opacity: .22; mix-blend-mode: overlay;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-family: var(--display); font-weight: 800; letter-spacing: 0; }
p { margin: 0; }
bdi, [dir="ltr"] { unicode-bidi: isolate; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--panel-2); font: 700 .8rem var(--mono); color: var(--text); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.addr { font-family: var(--mono); font-size: .93em; letter-spacing: 0; overflow-wrap: anywhere; }
.code { font-family: var(--mono); font-size: .92em; color: var(--warm-text); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 60; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: var(--r-btn); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- icons (Phosphor regular, inlined at build) ---------- */
.ph { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px; padding: 0 18px; border-radius: var(--r-btn);
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s, box-shadow .3s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 1.06rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -10px rgba(245, 166, 35, .55); }
.btn-primary:hover { background: var(--accent-hi); box-shadow: 0 14px 40px -10px rgba(245, 166, 35, .7); }
.btn-glass {
  background: rgba(24, 22, 20, .62); color: var(--text);
  border-color: rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.btn-glass:hover { border-color: rgba(245, 166, 35, .6); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(26, 27, 30, .5); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-hi); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-btn);
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn:active { transform: scale(.94); }
.icon-btn.copied { border-color: var(--ok); color: var(--ok); }

/* ---------- navigation ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 20; height: var(--nav-h); transition: background-color .35s var(--ease), border-color .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(15, 16, 18, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; direction: ltr; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.brand-word { height: 15px; width: auto; }
.nav-links { display: flex; gap: 6px; margin-inline-start: auto; }
.nav-links a { padding: 8px 12px; border-radius: var(--r-btn); color: #d2d0cd; font-weight: 600; font-size: .96rem; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-toggle { display: none; margin-inline-start: auto; background: none; border: 0; color: var(--text); width: 44px; height: 44px; border-radius: var(--r-btn); cursor: pointer; }
.nav-toggle .ph { width: 26px; height: 26px; }
.mobile-menu { position: absolute; inset-inline: 12px; top: calc(var(--nav-h) - 4px); background: rgba(22, 23, 25, .97); border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px; display: grid; gap: 2px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 14px; border-radius: var(--r-btn); font-weight: 600; }
.mobile-menu a:hover { background: rgba(255, 255, 255, .05); }
.nav-sentinel { position: absolute; top: 0; height: 40px; width: 1px; }

/* ---------- hero: cinematic agents ---------- */
.hero { position: relative; min-height: calc(100dvh - 76px); display: grid; align-items: center; padding: calc(var(--nav-h) + 16px) 0 40px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--bg-deep); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; transform-origin: 30% 50%; filter: saturate(.7) contrast(1.05); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 28% 58%, rgba(245, 166, 35, .2), transparent 60%),
    linear-gradient(270deg, rgba(12, 13, 15, .97) 0%, rgba(14, 13, 12, .8) 38%, rgba(14, 12, 10, .25) 70%, rgba(12, 11, 10, .55) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(15, 16, 18, 0) 34%),
    linear-gradient(180deg, rgba(10, 11, 12, .85), transparent 22%);
}
/* Two long light shafts falling across the stage, like dust in a doorway on Dust II. */
.beam { position: absolute; top: -20%; width: 22vw; height: 150%; pointer-events: none; transform-origin: top center; mix-blend-mode: screen;
  background: linear-gradient(180deg, rgba(255, 196, 110, .22), rgba(245, 166, 35, .06) 55%, transparent 80%); filter: blur(28px); }
.beam-1 { left: 14%; transform: rotate(18deg); }
.beam-2 { left: 34%; width: 12vw; transform: rotate(24deg); opacity: .7; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: center; }
.hero-copy { max-width: 600px; }
.hud-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 14px; margin-bottom: 24px;
  border-radius: var(--r-pill); background: rgba(15, 16, 18, .6); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .95rem; font-weight: 600;
}
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.live-dot.is-live { background: var(--ok); }
.live-dot.is-live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; }
.hero-title { font-size: clamp(2.8rem, 6.2vw, 5.6rem); font-weight: 900; line-height: 1.12; }
.hero-title .line { display: block; }
.hero-title .accent { text-shadow: 0 0 60px rgba(245, 166, 35, .35); }
.hero-sub { margin-top: 22px; max-width: 42ch; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: #cfcdca; line-height: 1.9; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hud-stats { display: flex; gap: 0; margin: 40px 0 0; padding: 0; }
.hud-stats div { padding-inline: 22px; border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.hud-stats div:first-child { padding-inline-start: 0; border: 0; }
.hud-stats dt { color: var(--muted); font-size: .86rem; font-weight: 600; }
.hud-stats dd { margin: 2px 0 0; font-family: "Vazirmatn", sans-serif; font-weight: 900; font-size: 1.9rem; line-height: 1.2; font-variant-numeric: tabular-nums; }

.stage { position: relative; align-self: end; height: min(84vh, 780px); min-height: 480px; margin-bottom: -40px; }
.stage-mark {
  position: absolute; inset-inline-end: -4%; top: 44%; translate: 0 -50%;
  direction: ltr; font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(10rem, 24vw, 22rem); line-height: 1; letter-spacing: -.05em;
  transform: skewX(-10deg); color: transparent; -webkit-text-stroke: 2px rgba(245, 166, 35, .22);
  user-select: none; pointer-events: none;
}
.stage-glow { position: absolute; left: 10%; right: 10%; bottom: 2%; height: 26%; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 166, 35, .28), transparent); filter: blur(10px); }
.agent { position: absolute; bottom: 0; height: auto; max-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 98%); mask-image: linear-gradient(180deg, #000 72%, transparent 98%);
  translate: var(--px, 0) var(--py, 0); transition: translate .9s var(--ease); }
.agent-front { height: 100%; width: auto; inset-inline-end: 2%; z-index: 2; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.agent-back { height: 86%; width: auto; inset-inline-end: 46%; bottom: 8%; z-index: 1; filter: brightness(.62) saturate(.85) drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.stage-knife { position: absolute; z-index: 3; width: 30%; inset-inline-start: 58%; bottom: 10%; filter: drop-shadow(0 24px 26px rgba(8, 6, 4, .7)); translate: var(--px, 0) var(--py, 0); transform: rotate(-16deg); transition: translate .9s var(--ease); }

/* ---------- cinematic layer: letterbox, dust in the light, lens streak, vignette ---------- */
.letterbox { position: absolute; inset-inline: 0; height: 6vh; z-index: 4; background: #050506; pointer-events: none; transform-origin: top; }
.letterbox-top { top: 0; }
.letterbox-bottom { bottom: 0; transform-origin: bottom; }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.flare { position: absolute; top: 18%; left: -10%; width: 70%; height: 3px; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 110, .55) 45%, rgba(255, 240, 210, .9) 50%, rgba(255, 190, 110, .55) 55%, transparent); filter: blur(1.5px); opacity: .55; }
.flare::after { content: ""; position: absolute; left: 42%; top: -40px; width: 16%; height: 80px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 210, 150, .35), transparent); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 55%, rgba(0, 0, 0, .55)); }

/* Wide-shot interlude between chapters. */
.interlude { position: relative; min-height: 88vh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.interlude-bg { position: absolute; inset: 0; z-index: -1; background: #070707; }
.interlude-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.75) contrast(1.1); }
.interlude-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, transparent 20%, rgba(8, 8, 9, .85) 75%), linear-gradient(0deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.interlude-row { position: relative; z-index: 5; padding-block: 12vh; }
.interlude-kicker { font: 600 .82rem var(--mono); letter-spacing: .3em; color: rgba(245, 166, 35, .8); }
.interlude-title { margin-top: 18px; font-size: clamp(2.8rem, 7vw, 6.4rem); font-weight: 900; line-height: 1.12; text-shadow: 0 10px 60px rgba(0, 0, 0, .6); }
.interlude-sub { margin-top: 22px; max-width: 44ch; color: #d3d1ce; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }

/* ---------- live drops: CS2 kill feed as the page's one marquee ---------- */
.drops { position: relative; z-index: 2; margin-top: -8px; border-block: 1px solid var(--line); background: rgba(12, 13, 15, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.drops-bar { display: flex; align-items: center; gap: 0; min-height: 76px; }
.drops-label { flex: none; display: inline-flex; align-items: center; gap: 10px; padding-inline: 24px 20px; font-size: 1rem; font-weight: 800; white-space: nowrap; border-inline-end: 1px solid var(--line); align-self: stretch; }
.marquee { position: relative; flex: 1; min-width: 0; overflow: hidden; direction: ltr; padding-block: 14px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.kf {
  direction: rtl; flex: none; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px 0 8px;
  border-radius: var(--r-btn); background: linear-gradient(90deg, rgba(20, 20, 22, .9), rgba(32, 30, 28, .9));
  border: 1px solid rgba(255, 255, 255, .06); border-inline-start: 3px solid var(--c, var(--accent));
  font-size: .95rem; white-space: nowrap;
}
.kf.skeleton { width: 280px; }
.kf img { width: 58px; height: 42px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
.kf-player { font-weight: 800; color: var(--text); max-width: 16ch; overflow: hidden; text-overflow: ellipsis; }
.kf-verb { color: var(--muted); }
.kf-item { font-weight: 700; color: var(--c, var(--accent)); direction: ltr; unicode-bidi: isolate; }
.kf-src { display: inline-grid; place-items: center; color: var(--muted); }
.kf-src .ph { width: 18px; height: 18px; }
.kf-time { color: #6f7174; font-size: .82rem; }

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 10vw, 136px); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2, .rent-copy h2, .faq h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 900; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.06rem; }

/* ---------- live servers: radar + scoreboard ---------- */
.board { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.radar { position: relative; border-radius: var(--r-card); background: radial-gradient(ellipse at 50% 40%, #1d1b18, var(--panel) 70%); border: 1px solid var(--line); padding: 28px; display: grid; align-content: center; justify-items: center; gap: 22px; overflow: hidden; }
.radar::before, .radar::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid rgba(245, 166, 35, .55); pointer-events: none; }
.radar::before { top: 14px; inset-inline-start: 14px; border-inline-end: 0; border-bottom: 0; border-start-start-radius: 6px; }
.radar::after { bottom: 14px; inset-inline-end: 14px; border-inline-start: 0; border-top: 0; border-end-end-radius: 6px; }
.radar-disc { position: relative; width: min(100%, 300px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid rgba(245, 166, 35, .4); box-shadow: 0 0 0 8px rgba(245, 166, 35, .05), 0 0 60px rgba(245, 166, 35, .12) inset; background: #0c0c0d; }
.radar-map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: grayscale(.5) sepia(.35) contrast(1.1); transition: opacity .6s; }
.radar-grid { position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 24%, rgba(245, 166, 35, .22) 24.4% 24.8%, transparent 25.2% 49%, rgba(245, 166, 35, .22) 49.4% 49.8%, transparent 50.2%),
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(245, 166, 35, .22) 0 calc(50% + .5px), transparent 0),
    linear-gradient(0deg, transparent calc(50% - .5px), rgba(245, 166, 35, .22) 0 calc(50% + .5px), transparent 0); }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(245, 166, 35, .42), rgba(245, 166, 35, .08) 40deg, transparent 70deg); }
.radar-blips { position: absolute; inset: 0; }
.blip { position: absolute; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.radar-caption { display: grid; justify-items: center; text-align: center; line-height: 1.5; }
.radar-caption strong { font-family: var(--display); font-size: 1.4rem; font-weight: 900; }

.scoreboard { display: grid; grid-template-rows: auto; grid-auto-rows: 1fr; border-radius: var(--r-card); background: rgba(19, 20, 22, .92); border: 1px solid var(--line); overflow: hidden; }
/* Every row is its own grid, so all but the server column have fixed widths: header and rows line up
   and the address can never run into the map name. */
.sb-head, .sb-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px 150px 180px; align-items: center; gap: 24px; padding-inline: 22px; }
.sb-head { min-height: 46px; background: linear-gradient(90deg, rgba(245, 166, 35, .12), rgba(245, 166, 35, .02)); border-bottom: 1px solid rgba(245, 166, 35, .25); color: var(--warm-text); font-size: .85rem; font-weight: 700; }
.sb-row { min-height: 88px; border-bottom: 1px solid var(--line); transition: background-color .25s; position: relative; }
.sb-row:last-child { border-bottom: 0; }
.sb-row:hover { background: rgba(245, 166, 35, .05); }
.sb-row.is-top::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.sb-row.skeleton { border-radius: 0; border-inline: 0; border-top: 0; }
.sb-server { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sb-thumb { width: 72px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; border: 1px solid rgba(255, 255, 255, .08); }
.sb-name { font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-addr { display: block; color: var(--muted); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.sb-server > div { min-width: 0; }
.sb-map { color: #cfcdca; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-players { display: grid; gap: 6px; }
.sb-count { font-family: var(--display); font-weight: 900; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.sb-count small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.pips { display: flex; gap: 3px; direction: rtl; }
.pips i { flex: 1; height: 6px; max-width: 12px; border-radius: 2px; background: rgba(255, 255, 255, .09); }
.pips i.on { background: var(--accent); box-shadow: 0 0 8px rgba(245, 166, 35, .5); }
.sb-actions { display: flex; gap: 8px; justify-content: flex-end; }
.sb-row.is-off { opacity: .55; }
.server-note { margin-top: 14px; color: var(--muted); }
.state-off { color: var(--muted); font-weight: 700; }

.skeleton { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .045), transparent); }

/* ---------- rent: address + buy menu ---------- */
.rent { background: linear-gradient(180deg, var(--bg) 0%, #12110f 50%, var(--bg) 100%); overflow: hidden; }
.rent-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.rent-copy .lead { margin-top: 16px; color: #cfcdca; font-size: 1.1rem; max-width: 46ch; }
.perks { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 22px; }
.perks li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start; }
.perks li > .ph { width: 46px; height: 46px; padding: 11px; border-radius: var(--r-btn); color: var(--accent); background: rgba(245, 166, 35, .1); border: 1px solid rgba(245, 166, 35, .22); }
.perks strong { display: block; font-weight: 800; }
.perks span { color: var(--muted); font-size: .97rem; }

.rent-visual { position: relative; padding-top: 230px; }
.rent-agent { position: absolute; top: -30px; inset-inline-start: 8%; height: 330px; width: auto; max-width: none; z-index: 0; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 92%); mask-image: linear-gradient(180deg, #000 60%, transparent 92%); pointer-events: none; }
.address-card {
  position: relative; z-index: 1; padding: 32px; border-radius: var(--r-card); overflow: hidden;
  background: radial-gradient(ellipse at 20% 0%, rgba(69, 56, 41, .92), transparent 60%), linear-gradient(135deg, rgba(40, 36, 32, .94), rgba(27, 25, 22, .96));
  border: 1px solid #3a3128; box-shadow: 0 30px 80px rgba(8, 6, 4, .5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.address-card label { display: block; font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.address-input { margin-top: 12px; }
.address-input input {
  width: 100%; height: 56px; padding: 0 18px; border-radius: var(--r-btn);
  background: rgba(12, 11, 10, .72); border: 1px solid #5a4a38; color: var(--text);
  font: 700 1.2rem var(--mono); text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.address-input input::placeholder { color: #8f8578; }
.address-input input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(245, 166, 35, .18); }
.address-help { margin-top: 8px; color: #b9ab98; font-size: .9rem; }
.address-out { margin-top: 20px; font: 600 clamp(.95rem, 1.6vw, 1.12rem) var(--mono); color: var(--text); word-break: break-all; text-align: left; }
.addr-cmd { color: #b9ab98; }
.address-out [data-addr-name] { color: var(--accent); }
.addr-suffix { color: #d8cfc4; }

.buy { position: relative; z-index: 1; margin-top: 84px; border-radius: var(--r-card); border: 1px solid var(--line); background: rgba(16, 17, 19, .92); padding: 22px; }
.buy-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 4px 6px 18px; border-bottom: 1px solid var(--line); }
.buy-head h3 { font-size: 1.35rem; font-weight: 900; }
.buy-head p { font-size: .92rem; }
.buy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.slot {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--r-btn);
  background: linear-gradient(180deg, #1c1d20, #151618); border: 1px solid var(--line-2);
  transition: border-color .25s, background-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.slot:hover, .slot:focus-visible, .slot.is-picked { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(245, 166, 35, .55); background: linear-gradient(180deg, #25211b, #171614); outline: none; }
.slot-key { position: absolute; top: 14px; inset-inline-end: 14px; }
.slot-name { font-family: var(--display); font-size: 1.5rem; font-weight: 900; }
.slot-players { color: var(--warm-text); font-weight: 700; margin-top: -8px; }
.slot-spec { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .93rem; }
.slot-spec span { display: inline-flex; align-items: center; gap: 6px; }
.slot-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.slot-price strong { font-family: "Vazirmatn", sans-serif; font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; }
.slot-price span { color: var(--muted); font-weight: 600; }
.buy-note { margin-top: 16px; padding-inline: 6px; font-size: .93rem; }

/* ---------- features: sticky scenes ---------- */
.scenes { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
.scene-stage { position: sticky; top: calc(var(--nav-h) + 24px); height: min(72vh, 600px); border-radius: var(--r-card); overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 50% 60%, #2a231b, #141416 70%); border: 1px solid var(--line); }
.scene-light { position: absolute; inset: -20%; z-index: -1; background: conic-gradient(from 200deg at 50% 60%, transparent, rgba(245, 166, 35, .16) 30deg, transparent 70deg, transparent 180deg, rgba(245, 166, 35, .1) 220deg, transparent 260deg); }
.scene-count { position: absolute; top: 20px; inset-inline-start: 24px; font-family: var(--display); font-weight: 800; color: var(--muted); font-size: 1rem; z-index: 2; }
.scene-count span { color: var(--accent); font-size: 1.5rem; }
.scene-art { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.92) translateY(20px); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.scene-art.is-active { opacity: 1; transform: none; }
.scene-art img { filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .65)); }
.sa-case { width: 62%; }
.sa-key { position: absolute; width: 34%; left: 12%; bottom: 16%; transform: rotate(14deg); }
.sa-gloves { width: 76%; transform: rotate(-8deg); }
.sa-rifle { width: 92%; transform: rotate(-10deg); }
.sa-knife { width: 84%; transform: rotate(-20deg); }
.pass-card {
  width: 64%; aspect-ratio: 1.58; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 14px), linear-gradient(135deg, #8c6e4b, #cba77e 40%, #755939);
  color: #2a2016; font-family: var(--display); font-weight: 900; letter-spacing: .12em; font-size: 1.05rem; direction: ltr;
  transform: rotate(-8deg); box-shadow: 0 30px 60px rgba(8, 6, 4, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.pass-card .ph { width: 52px; height: 52px; align-self: flex-end; color: #3a2c1c; }
.scene-list { display: grid; }
.scene { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; opacity: .32; transition: opacity .5s var(--ease); }
.scene.is-active { opacity: 1; }
.scene-inline { display: none; }
.scene-icon .ph { width: 44px; height: 44px; padding: 10px; border-radius: var(--r-btn); color: var(--accent); background: rgba(245, 166, 35, .1); border: 1px solid rgba(245, 166, 35, .25); }
.scene h3 { margin-top: 18px; font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 900; }
.scene p { margin-top: 12px; color: #c4c2bf; font-size: 1.08rem; max-width: 40ch; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; inset-inline: 28px; height: 2px;
  background: linear-gradient(90deg, rgba(245, 166, 35, .15), var(--accent), rgba(245, 166, 35, .15));
  transform-origin: right; transform: scaleX(0); transition: transform 1.6s var(--ease) .2s;
}
.steps.drawn::before { transform: scaleX(1); }
.step { position: relative; }
.step > .ph { position: relative; width: 56px; height: 56px; padding: 14px; border-radius: var(--r-btn); background: var(--bg); color: var(--accent); border: 1px solid rgba(245, 166, 35, .35); box-shadow: 0 0 0 8px var(--bg); }
.step h3 { margin-top: 20px; font-size: 1.3rem; }
.step p { margin-top: 8px; color: var(--muted); max-width: 32ch; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 860px; }
.faq h2 { margin-bottom: 30px; }
.faq-list { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.faq details[open] { border-color: #3d352b; background: #1b1a1a; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 800; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { color: var(--accent); transition: transform .35s var(--ease); }
.faq details[open] summary .ph { transform: rotate(180deg); }
.faq details p { padding: 0 22px 22px; color: #c9c7c4; }
.faq details a { color: var(--accent); }

/* ---------- closer ---------- */
.closer { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(60px, 8vw, 110px); }
.closer-bg { position: absolute; inset: 0; z-index: -1; }
.closer-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.closer-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 25% 80%, rgba(245, 166, 35, .18), transparent 55%), linear-gradient(270deg, rgba(15, 16, 18, .96) 25%, rgba(18, 15, 12, .55) 70%, rgba(18, 15, 12, .4)), linear-gradient(180deg, var(--bg), transparent 35%); }
.closer-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: 28px; }
.closer-row > img { align-self: end; }
.closer-copy { padding-block: 20px clamp(40px, 6vw, 80px); }
.closer h2 { font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 900; line-height: 1.2; }
.closer-agent { height: min(520px, 62vh); width: auto; max-width: 100%; object-fit: contain; object-position: bottom; justify-self: center; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-deep); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 40px; align-items: start; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 40ch; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text); font-weight: 600; }
.footer-mail:hover { color: var(--accent); }
.footer-mail .ph { color: var(--accent); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-weight: 600; width: fit-content; }
.footer-links a:hover { color: var(--text); }
.trust { line-height: 0; }
.trust img { width: 110px; height: auto; }
.footer-base { margin-top: 44px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }

/* ---------- motion (only without reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg img { animation: drift 40s ease-in-out infinite alternate; }
  .beam-1 { animation: beam 9s ease-in-out infinite alternate; }
  .beam-2 { animation: beam 12s ease-in-out -4s infinite alternate; }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-title .line { animation: rise 1s var(--ease) both; }
  .hero-title .line + .line { animation-delay: .12s; }
  .hero-copy > :nth-child(3) { animation-delay: .22s; }
  .hero-copy > :nth-child(4) { animation-delay: .3s; }
  .hero-copy > :nth-child(5) { animation-delay: .4s; }
  .agent-front { animation: enter-front 1.4s var(--ease) .1s both; }
  .agent-back { animation: enter-back 1.6s var(--ease) .25s both; }
  .stage-knife { animation: enter-knife 1.4s var(--ease) .5s both; }
  .stage-mark { animation: fade 2s var(--ease) .2s both; }
  .live-dot.is-live::after { animation: pulse 2.2s ease-out infinite; }
  .skeleton::after { animation: shimmer 1.4s ease-in-out infinite; }
  .marquee-track.is-running { animation: marquee var(--dur, 60s) linear infinite; }
  .radar-sweep { animation: spin 4s linear infinite; }
  .blip { animation: blip 4s ease-out infinite; animation-delay: var(--d, 0s); }
  .scene-light { animation: spin 40s linear infinite; }
  .flare { animation: flare 7s ease-in-out infinite alternate; }
  .js .section-head.reveal h2, .js .interlude-head.reveal h2 { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
  .js .section-head.reveal.in h2, .js .interlude-head.reveal.in h2 { clip-path: inset(0 0 -10% 0); }
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.in { opacity: 1; transform: none; }
}
.offscreen, .offscreen *, .offscreen *::after, .offscreen *::before { animation-play-state: paused !important; }
@keyframes flare { from { opacity: .3; transform: translateX(-2%) scaleX(.9); } to { opacity: .7; transform: translateX(3%) scaleX(1.05); } }
@keyframes drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes beam { from { opacity: .35; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes enter-front { from { opacity: 0; transform: translate3d(-40px, 30px, 0) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes enter-back { from { opacity: 0; transform: translate3d(50px, 20px, 0); } to { opacity: 1; transform: none; } }
@keyframes enter-knife { from { opacity: 0; transform: translate3d(0, 50px, 0) rotate(-40deg); } to { opacity: 1; transform: rotate(-16deg); } }
@keyframes pulse { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes shimmer { to { transform: translateX(-100%); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 8% { opacity: 0; transform: scale(.4); } 12% { opacity: 1; transform: scale(1.3); } 60% { opacity: .5; transform: scale(1); } 100% { opacity: .15; transform: scale(1); } }

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .stage { animation: stage-out linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero-copy { animation: copy-out linear both; animation-timeline: scroll(root); animation-range: 10vh 90vh; }
    .interlude-bg img { animation: push-in linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .interlude .letterbox { animation: bars linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  }
}
@keyframes stage-out { to { transform: translateY(14vh) scale(1.06); opacity: .35; } }
@keyframes copy-out { to { transform: translateY(-8vh); opacity: 0; } }
@keyframes push-in { from { transform: scale(1.25); } to { transform: scale(1); } }
@keyframes bars { from { transform: scaleY(2.2); } to { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .agent, .stage-knife { transition: none; }
  .steps::before { transform: scaleX(1); transition: none; }
  .marquee { overflow-x: auto; }
  .scene-art, .scene { transition: none; }
}

/* ---------- responsive: explicit collapses ---------- */
@media (max-width: 1280px) {
  .board { grid-template-columns: 230px minmax(0, 1fr); }
  .radar { padding: 22px 18px; }
  .sb-head, .sb-row { grid-template-columns: minmax(0, 1fr) 84px 130px 170px; gap: 16px; padding-inline: 18px; }
}
@media (max-width: 1024px) {
  .sb-head, .sb-row { grid-template-columns: minmax(0, 1fr) 90px 140px 190px; gap: 16px; padding-inline: 18px; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .stage { order: -1; height: 56vh; min-height: 380px; max-height: 560px; margin-bottom: -60px; }
  .agent-front { inset-inline-end: 16%; }
  .agent-back { inset-inline-end: 48%; }
  .stage-knife { width: 30%; }
  .hero-bg::after { background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(245, 166, 35, .18), transparent 60%), linear-gradient(0deg, var(--bg) 8%, rgba(15, 16, 18, .7) 45%, rgba(12, 11, 10, .55)); }
  .board { grid-template-columns: minmax(0, 1fr); }
  .radar { grid-template-columns: auto minmax(0, 1fr); justify-items: start; }
  .radar-disc { width: 160px; }
  .radar-caption { justify-items: start; text-align: start; }
  .rent-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .scenes { grid-template-columns: minmax(0, 1fr); }
  .scene-stage { display: none; }
  .scene { min-height: 0; opacity: 1; padding-block: 28px; border-bottom: 1px solid var(--line); }
  .scene-inline { display: block; width: min(320px, 70%); margin: 0 auto 8px; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .6)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trust { grid-column: 1 / -1; width: fit-content; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .hero { padding-top: calc(var(--nav-h) + 4px); min-height: auto; }
  .stage { height: 62vw; min-height: 300px; margin-bottom: -40px; }
  .stage-mark { font-size: 9rem; }
  .letterbox { height: 4vh; }
  .interlude { min-height: 72vh; }
  .flare { width: 120%; left: -30%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hud-stats div { padding-inline: 14px; }
  .hud-stats dd { font-size: 1.5rem; }
  .drops-bar { flex-direction: column; align-items: stretch; }
  .drops-label { border: 0; padding: 14px 16px 0; }
  .marquee { padding-block: 10px 14px; }
  .radar { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .radar-caption { justify-items: center; text-align: center; }
  .radar-disc { width: 200px; }
  .sb-head { display: none; }
  .sb-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; padding-block: 14px; }
  .sb-map { display: none; }
  .sb-players { grid-column: 2; grid-row: 1; justify-items: end; }
  .sb-actions { grid-column: 1 / -1; }
  .sb-actions .btn { flex: 1; }
  .sb-thumb { width: 60px; height: 42px; }
  .rent-visual { padding-top: 190px; }
  .rent-agent { height: 260px; top: -20px; }
  .address-card { padding: 24px 20px; }
  .buy { padding: 16px; margin-top: 56px; }
  .buy-grid { grid-template-columns: minmax(0, 1fr); }
  .slot { min-height: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .steps::before { top: 28px; bottom: 28px; inset-inline-start: 27px; inset-inline-end: auto; width: 2px; height: auto; transform-origin: top; transform: scaleY(0); background: linear-gradient(180deg, rgba(245, 166, 35, .15), var(--accent), rgba(245, 166, 35, .15)); }
  .steps.drawn::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; }
  .step > .ph { grid-row: span 2; }
  .step h3 { margin-top: 12px; }
  .closer-row { grid-template-columns: minmax(0, 1fr); }
  .closer-copy { padding-bottom: 0; }
  .closer-agent { height: 340px; justify-self: center; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* =====================================================================================
   Cinematic layer 2: intro, hero atmosphere (fog, embers, tracers, HUD), glitch title,
   case reel, section numbers, spotlight cards, crosshair cursor. Transform/opacity motion,
   paused off screen, all of it off under reduced motion.
   ===================================================================================== */

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; pointer-events: none; }
.intro.done { display: none; }
.intro-half { position: absolute; inset-inline: 0; height: 50.5%; background: #060607; transition: transform 1s cubic-bezier(.76, 0, .24, 1); }
.intro-top { top: 0; } .intro-bottom { bottom: 0; }
.intro-core { position: relative; display: grid; justify-items: center; gap: 18px; transition: opacity .3s, transform .5s var(--ease); }
.intro-mark { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 0 70px rgba(245, 166, 35, .55); }
.intro-word { height: 26px; width: auto; }
.intro-line { width: 280px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.intro-text { font: 600 .7rem var(--mono); letter-spacing: .55em; color: rgba(245, 166, 35, .85); }
.intro.out .intro-top { transform: translateY(-100%); }
.intro.out .intro-bottom { transform: translateY(100%); }
.intro.out .intro-core { opacity: 0; transform: scale(1.08); }
html.intro-on .hero-copy > *, html.intro-on .hero-title .line, html.intro-on .agent, html.intro-on .stage-mark { animation-play-state: paused !important; }

/* ---------- hero atmosphere ---------- */
.fog { position: absolute; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; filter: blur(40px);
  background: radial-gradient(closest-side, rgba(214, 180, 135, .16), transparent); }
.fog-1 { width: 80vw; height: 45vh; left: -15%; bottom: 0; }
.fog-2 { width: 60vw; height: 40vh; left: 25%; bottom: -12%; opacity: .8; }
.fog-3 { width: 45vw; height: 35vh; left: 0; top: 18%; opacity: .6; }
.tracer { position: absolute; left: -25%; height: 2px; width: 240px; border-radius: 2px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 150, .95)); filter: drop-shadow(0 0 6px rgba(245, 166, 35, .95)); }
.tracer-1 { top: 30%; } .tracer-2 { top: 58%; width: 180px; } .tracer-3 { top: 44%; width: 300px; }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; mix-blend-mode: screen; }
.hero .hero-grid { z-index: 3; }

.hud { position: absolute; inset: calc(var(--nav-h) + 12px) 22px 22px; z-index: 4; pointer-events: none; container-type: size; }
.hud-corner { position: absolute; width: 30px; height: 30px; border: 2px solid rgba(245, 166, 35, .55); }
.hud-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud-scan { position: absolute; inset: 0; overflow: hidden; }
.hud-scan::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 80px; transform: translateY(-80px);
  background: linear-gradient(180deg, transparent, rgba(245, 166, 35, .07) 70%, rgba(245, 166, 35, .35) 99%, transparent); }
.hud-readout { position: absolute; left: 44px; bottom: 10px; display: flex; gap: 20px; align-items: center;
  font: 600 .7rem var(--mono); letter-spacing: .22em; color: rgba(239, 237, 235, .55); }
.hud-rec { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hud-side { position: absolute; left: 6px; top: 50%; translate: 0 -50%; writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; gap: 22px; font: 600 .66rem var(--mono); letter-spacing: .4em; color: rgba(239, 237, 235, .35); }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; z-index: 5; width: 26px; height: 42px; translate: -50% 0;
  border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); }

/* Glitch on the amber word: two offset copies that flicker for a split second every few seconds. */
.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.glitch::before { color: #fff3dc; }
.glitch::after { color: #b86b00; }

/* ---------- section chrome ---------- */
main { position: relative; }
main::before { content: ""; position: absolute; inset: 100vh 0 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent); }
.section { position: relative; }
.section::before { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 166, 35, .4), transparent); }
.section-head[data-num], .rent-copy[data-num] { position: relative; isolation: isolate; }
.section-head[data-num]::before, .rent-copy[data-num]::before { content: attr(data-num); position: absolute; z-index: -1; top: -.62em; right: -.06em;
  direction: ltr; font: 900 clamp(6rem, 12vw, 10.5rem) / 1 var(--display); letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 166, 35, .22); pointer-events: none; }

/* Spotlight that follows the pointer across big panels. */
.spot { position: relative; --mx: 50%; --my: 50%; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(460px circle at var(--mx) var(--my), rgba(245, 166, 35, .10), transparent 60%); }
.spot:hover::after { opacity: 1; }

/* Primary buttons catch the light. */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-130%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); }
.btn-primary:hover::after { transform: translateX(130%); transition: transform .8s var(--ease); }

@media (pointer: fine) {
  html { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cg stroke='%23f5a623' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M13 2v6M13 18v6M2 13h6M18 13h6'/%3E%3C/g%3E%3Ccircle cx='13' cy='13' r='1.6' fill='%23f5a623'/%3E%3C/svg%3E") 13 13, crosshair; }
  a, button, summary, label, input { cursor: pointer; }
  input[type="text"] { cursor: text; }
}

/* ---------- case reel ---------- */
.reel { overflow: hidden; }
.reel-glow { position: absolute; inset: 20% 0 0; pointer-events: none; background: radial-gradient(ellipse 60% 55% at 50% 55%, rgba(245, 166, 35, .13), transparent 65%); }
.reel .wrap { position: relative; }
.reel-box { border-radius: var(--r-card); border: 1px solid var(--line); background: linear-gradient(180deg, #151618, #0d0e10); padding: 30px 0; overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04); }
.reel-window { overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.reel-track { display: flex; gap: 10px; width: max-content; will-change: transform; }
.reel-card { position: relative; flex: none; width: 190px; height: 150px; display: grid; place-items: center; border-radius: 10px;
  background: radial-gradient(ellipse at 50% 35%, color-mix(in srgb, var(--c) 32%, transparent), transparent 70%), #1a1b1e;
  border: 1px solid rgba(255, 255, 255, .06); border-bottom: 4px solid var(--c); transition: box-shadow .4s, transform .4s var(--ease); }
.reel-card img { width: 86%; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .6)); }
.reel-card.win { z-index: 1; transform: scale(1.06); box-shadow: 0 0 0 2px var(--c), 0 0 60px color-mix(in srgb, var(--c) 65%, transparent); }
.reel-marker { position: absolute; left: 50%; top: 14px; bottom: 14px; z-index: 3; width: 2px; translate: -50% 0; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.reel-marker::before, .reel-marker::after { content: ""; position: absolute; left: 50%; translate: -50% 0; border: 9px solid transparent; }
.reel-marker::before { top: -2px; border-top-color: var(--accent); }
.reel-marker::after { bottom: -2px; border-bottom-color: var(--accent); }
.reel-result { min-height: 2.2em; margin-top: 22px; text-align: center; font: 900 clamp(1.2rem, 2.2vw, 1.7rem) var(--display); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); }
.reel-result.show { opacity: 1; transform: none; }
.reel-result bdi { color: var(--c); text-shadow: 0 0 30px color-mix(in srgb, var(--c) 60%, transparent); }
.reel-cta { display: flex; justify-content: center; margin-top: 12px; }

.closer .embers { z-index: 0; }
.closer-row { position: relative; z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
  .intro-mark { animation: intro-pop .8s var(--ease) both; }
  .intro-word { animation: intro-rise .8s var(--ease) .12s both; }
  .intro-line { animation: intro-line 1.1s var(--ease) .2s both; }
  .intro-text { animation: intro-blink .9s steps(2) .3s infinite; }
  .hero-title .line { animation: line-in 1.15s var(--ease) both; }
  .hero-title .line:nth-child(1) { animation-delay: .05s; }
  .hero-title .line:nth-child(2) { animation-delay: .2s; }
  .hero-title .line:nth-child(3) { animation-delay: .35s; }
  .glitch::before { animation: glitch-a 5.5s steps(1) 2.5s infinite; }
  .glitch::after { animation: glitch-b 5.5s steps(1) 2.5s infinite; }
  .fog-1 { animation: fog-drift 28s ease-in-out infinite alternate; }
  .fog-2 { animation: fog-drift 34s ease-in-out -9s infinite alternate-reverse; }
  .fog-3 { animation: fog-drift 24s ease-in-out -4s infinite alternate; }
  .tracer-1 { animation: tracer 7s linear 2.6s infinite; }
  .tracer-2 { animation: tracer-b 9s linear 5.1s infinite; }
  .tracer-3 { animation: tracer 11s linear 8.3s infinite; }
  .hud-scan::before { animation: scan 7s linear infinite; }
  .hud-rec { animation: pulse-dot 1.2s steps(2) infinite; }
  .hud-corner { animation: fade 1.4s var(--ease) 1s both; }
  .scroll-cue span { animation: cue 1.8s var(--ease) infinite; }
  .hero .btn-primary::after { animation: shine 6s var(--ease) 3.5s infinite; }
}
@keyframes intro-pop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes intro-rise { from { opacity: 0; transform: translateY(14px); letter-spacing: .3em; } to { opacity: 1; transform: none; } }
@keyframes intro-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes intro-blink { 50% { opacity: .35; } }
@keyframes line-in { from { clip-path: inset(0 0 100% 0); transform: translateY(35%); opacity: 0; } to { clip-path: inset(-25% -6% -35% -6%); transform: none; opacity: 1; } }
@keyframes glitch-a { 0%, 93%, 100% { opacity: 0; transform: none; } 94% { opacity: .9; transform: translate(-6px, -2px); clip-path: inset(10% 0 55% 0); } 96% { opacity: .9; transform: translate(5px, 1px); clip-path: inset(60% 0 8% 0); } 98% { opacity: 0; } }
@keyframes glitch-b { 0%, 93%, 100% { opacity: 0; transform: none; } 95% { opacity: .9; transform: translate(6px, 2px); clip-path: inset(40% 0 30% 0); } 97% { opacity: .9; transform: translate(-4px, 0); clip-path: inset(5% 0 75% 0); } 99% { opacity: 0; } }
@keyframes fog-drift { from { transform: translate3d(-6%, 0, 0) scale(1); } to { transform: translate3d(8%, -4%, 0) scale(1.15); } }
@keyframes tracer { 0% { opacity: 0; transform: rotate(-7deg) translateX(0); } 1% { opacity: 1; } 8% { opacity: 1; transform: rotate(-7deg) translateX(160vw); } 8.5%, 100% { opacity: 0; transform: rotate(-7deg) translateX(160vw); } }
@keyframes tracer-b { 0% { opacity: 0; transform: rotate(5deg) translateX(0); } 1% { opacity: 1; } 7% { opacity: 1; transform: rotate(5deg) translateX(160vw); } 7.5%, 100% { opacity: 0; transform: rotate(5deg) translateX(160vw); } }
@keyframes scan { from { transform: translateY(-80px); } to { transform: translateY(100cqh); } }
@keyframes pulse-dot { 50% { opacity: .2; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes shine { 0%, 80% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes win-pop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1.06); } }

@media (prefers-reduced-motion: reduce) {
  .intro, .embers, .tracer, .hud-scan, .scroll-cue { display: none; }
}
@media (max-width: 1024px) {
  .hud-side { display: none; }
}
@media (max-width: 767px) {
  .hud { inset: calc(var(--nav-h) + 6px) 10px 10px; }
  .hud-readout { left: 16px; gap: 12px; font-size: .6rem; letter-spacing: .14em; }
  .hud-readout span:nth-child(4) { display: none; }
  .scroll-cue { display: none; }
  .reel-card { width: 130px; height: 108px; }
  .reel-box { padding: 20px 0; }
  .intro-line { width: 200px; }
}

/* =====================================================================================
   Every section is a scene: a map graded into the page, fog, a light beam, embers, and
   for some a character. The backdrop sits behind the content (z -1 inside the section).
   ===================================================================================== */
.servers, .rent, .reel, .features, .join, .faq { isolation: isolate; overflow: clip; }
.sbg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sbg-map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(.6) contrast(1.12) sepia(.18) brightness(.85); transform: scale(1.06); }
.sbg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(15, 16, 18, .35) 22%, rgba(15, 16, 18, .35) 72%, var(--bg) 100%),
    radial-gradient(ellipse 70% 80% at var(--lx, 80%) 30%, rgba(245, 166, 35, .12), transparent 60%),
    linear-gradient(var(--vd, 90deg), rgba(12, 12, 13, .15), rgba(12, 12, 13, .85)); }
.sbg-left { --lx: 18%; --vd: 270deg; }
.sbg-right { --lx: 82%; --vd: 90deg; }
.sbg-center { --lx: 50%; --vd: 180deg; }
.sbg-center::after { background:
    linear-gradient(180deg, var(--bg) 0%, rgba(15, 16, 18, .45) 25%, rgba(15, 16, 18, .55) 70%, var(--bg) 100%),
    radial-gradient(ellipse 55% 60% at 50% 55%, rgba(245, 166, 35, .18), transparent 65%); }
.sbg .fog { opacity: .8; }
.sbg .embers { z-index: 2; }
.sbg-beam { position: absolute; top: -30%; width: 26vw; height: 150%; left: var(--lx, 80%); translate: -50% 0; transform: rotate(18deg); transform-origin: top center;
  mix-blend-mode: screen; filter: blur(36px); z-index: 1; background: linear-gradient(180deg, rgba(255, 196, 110, .18), rgba(245, 166, 35, .05) 55%, transparent 80%); }

/* Characters standing in their sections. */
.sec-agent { position: absolute; z-index: 1; height: auto; max-width: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 92%); mask-image: linear-gradient(180deg, #000 55%, transparent 92%);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); }
.servers-agent { left: max(2%, calc(50% - 700px)); top: 20px; width: min(34vw, 470px); }
.servers .section-head, .servers .board, .servers .server-note { position: relative; z-index: 2; }

.reel-case { position: absolute; left: 50%; top: 4%; width: min(46vw, 620px); translate: -50% 0; opacity: .16; filter: blur(2px) saturate(1.2) drop-shadow(0 0 80px rgba(245, 166, 35, .7)); }

.join-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.join-agent { justify-self: center; width: min(100%, 520px); height: auto; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 96%); mask-image: linear-gradient(180deg, #000 62%, transparent 96%);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .7)); }
/* In the two-column join layout the steps run down, like a timeline. */
.join-grid .steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
.join-grid .steps::before { top: 28px; bottom: 28px; inset-inline-start: 27px; inset-inline-end: auto; width: 2px; height: auto; transform-origin: top; transform: scaleY(0);
  background: linear-gradient(180deg, rgba(245, 166, 35, .15), var(--accent), rgba(245, 166, 35, .15)); }
.join-grid .steps.drawn::before { transform: scaleY(1); }
.join-grid .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; }
.join-grid .step > .ph { grid-row: span 2; background: rgba(15, 16, 18, .9); box-shadow: 0 0 0 8px rgba(15, 16, 18, .9), 0 0 30px rgba(245, 166, 35, .15); }
.join-grid .step h3 { margin-top: 10px; }
.join-grid .step p { max-width: 46ch; }

/* Panels over a scene read as glass instead of flat boxes. */
.scoreboard, .radar, .buy, .address-card, .faq details, .scene-stage { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.scoreboard { background: rgba(17, 18, 20, .78); }
.radar { background: radial-gradient(ellipse at 50% 40%, rgba(40, 34, 26, .85), rgba(20, 21, 23, .8) 70%); }
.buy { background: rgba(14, 15, 17, .78); }
.faq details { background: rgba(23, 24, 27, .78); }

@media (prefers-reduced-motion: no-preference) {
  .sbg-map { animation: drift 46s ease-in-out infinite alternate; }
  .sbg-beam { animation: beam 10s ease-in-out infinite alternate; }
  .reel-case { animation: float-case 9s ease-in-out infinite; }
}
@keyframes float-case { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-18px) rotate(2deg); } }

@media (max-width: 1024px) {
  .servers-agent { width: 40vw; opacity: .5; }
  .join-grid { grid-template-columns: minmax(0, 1fr); }
  .join-agent { width: min(80%, 420px); order: -1; margin-bottom: -40px; }
}
@media (max-width: 767px) {
  .servers-agent { display: none; }
  .sbg-map { opacity: .26; }
  .sbg-beam { width: 60vw; }
}

/* ---------- restraint pass: one cast (the hero), quiet scenes elsewhere ---------- */
.rent-visual { padding-top: 0; }
.closer-row { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.closer-copy { padding-block: clamp(70px, 9vw, 120px); }
.closer .hero-ctas { justify-content: center; }
.sbg-map { opacity: .16; filter: saturate(.4) contrast(1.05) brightness(.8); }
.sbg-beam { opacity: .55; }
.sbg::after { background:
    linear-gradient(180deg, var(--bg) 0%, rgba(15, 16, 18, .55) 25%, rgba(15, 16, 18, .55) 70%, var(--bg) 100%),
    radial-gradient(ellipse 60% 70% at var(--lx, 80%) 30%, rgba(245, 166, 35, .07), transparent 60%),
    linear-gradient(var(--vd, 90deg), rgba(12, 12, 13, .25), rgba(12, 12, 13, .85)); }
@media (max-width: 767px) { .sbg-map { opacity: .12; } }
.closer-bg img { opacity: .28; filter: saturate(.55) brightness(.85); }
