/* Лендинг (сценарий landing): палитра игры; заголовки, кнопки и меню — пиксельный Press Start 2P (чёткая кириллица на крупных
   размерах), текст — Rubik, цифры — Rubik 800, логотип — Pixelify Sans, как в игре.
   Мягкие скруглённые карточки, слоистые тени, пиксели — только целым масштабом (image-rendering: pixelated). Телефон — сначала. */
:root {
  --bg: #0b1020; --bg2: #0e1430; --card: #151d3b; --card2: #1c2652; --line: rgba(255, 255, 255, 0.08); --line2: rgba(255, 255, 255, 0.14);
  --text: #f1f4ff; --muted: #a9b3d8; --dim: #7480a8;
  --green: #4ade80; --green2: #22c55e; --green-d: #15803d; --yellow: #ffd43b; --pink: #ff8fab; --violet: #a78bfa; --sky: #38bdf8; --orange: #ffa94d; --cyan: #22d3ee;
  --font: 'Rubik', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --px: 'Pixelify Sans', 'Rubik', ui-monospace, monospace;
  --pix: 'Press Start 2P', 'Pixelify Sans', ui-monospace, monospace;
  --r-xl: 28px; --r-lg: 22px; --r-md: 16px;
  --sh-card: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 26px 50px -22px rgba(0, 0, 0, 0.7), 0 8px 18px -8px rgba(0, 0, 0, 0.5);
  --gut: 16px;
  /* герой и финал: CSS-пикселей на пиксель рисунка (его же читает landing.js для пролёта); постер героя — размер в пикселях рисунка */
  --k: 1; --pw: 420px; --ph: 520px;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.55 var(--font); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, canvas { display: block; max-width: 100%; }
main { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--pix); font-weight: 400; line-height: 1.32; margin: 0; letter-spacing: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 60; background: var(--yellow); color: #000; padding: 8px 12px; font-weight: 700; border-radius: 10px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* ---------- кнопки: объёмные, скруглённые, с «нажатием» ---------- */
.btn {
  --b1: #6ff3a0; --b2: var(--green2); --bd: var(--green-d); --fg: #052e14;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 400 14px/1.25 var(--pix); letter-spacing: 0; color: var(--fg); padding: 15px 22px; border-radius: 14px;
  background: linear-gradient(180deg, var(--b1), var(--b2)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 5px 0 var(--bd), 0 12px 26px -6px rgba(34, 197, 94, 0.55);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, filter 0.12s; -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 7px 0 var(--bd), 0 18px 34px -8px rgba(34, 197, 94, 0.65); }
.btn:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 1px 0 var(--bd), 0 6px 14px -6px rgba(34, 197, 94, 0.5); }
.btn-sm { font-size: 12px; padding: 11px 14px; border-radius: 10px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 3px 0 var(--bd); }
.btn-lg { font-size: 16px; padding: 17px 24px; border-radius: 16px; }
.btn-xl { font-size: 16px; padding: 21px 30px; border-radius: 18px; }
.btn-xl::after { content: ''; position: absolute; inset: -6px; border-radius: 26px; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); animation: ring 2.4s ease-out infinite; pointer-events: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(74, 222, 128, 0); } }
.btn-ghost { --b1: #26315f; --b2: #1c2550; --bd: #0b1020; --fg: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 5px 0 #0a0f22, 0 10px 22px -10px rgba(0, 0, 0, 0.6); }
.btn-ghost:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 7px 0 #0a0f22, 0 14px 26px -10px rgba(0, 0, 0, 0.6); }

/* ---------- логотип и шапка ---------- */
.logo { display: inline-flex; align-items: flex-start; gap: 6px; text-decoration: none; flex: none; }
.logo-t { font: 700 24px/1 var(--px); letter-spacing: 2px; background: linear-gradient(180deg, #fff 0%, #ffe8a3 45%, #ff8fab 78%, #a78bfa 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 #2a1450); }
.alpha { font: 800 9px/15px var(--font); letter-spacing: 0.08em; color: #fff; padding: 0 5px; border-radius: 4px; background: linear-gradient(90deg, #f59e0b, #ef4444); margin-top: 1px; }
.top { position: absolute; z-index: 30; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 8px; padding: max(12px, env(safe-area-inset-top)) var(--gut) 12px; transition: background 0.25s, box-shadow 0.25s, padding 0.25s; }
.top-nav { display: none; }
.lang { margin-left: auto; position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 10px; border: 0; cursor: pointer; color: var(--text); font: 400 12px/1 var(--pix);
  background: linear-gradient(180deg, #24306a, #18214a); box-shadow: inset 0 0 0 2px #36438a, inset 0 -4px 0 rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 3px, 3px 3px, 3px 0, calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px)); }
.lang-btn:hover, .lang.open .lang-btn { background: linear-gradient(180deg, #2c3a80, #1d2858); }
.lang-btn .globe, .lang-btn .caret { image-rendering: pixelated; flex: none; }
.lang-btn .caret { transition: transform 0.15s; }
.lang.open .caret { transform: rotate(180deg); }
.lang-name { display: none; }
.lang-list { position: absolute; z-index: 70; right: 0; top: calc(100% + 8px); min-width: 190px; margin: 0; padding: 6px; list-style: none; background: #141c3c; box-shadow: inset 0 0 0 2px #36438a, 0 18px 40px rgba(0, 0, 0, 0.55);
  clip-path: 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)); }
.lang-list [role=option] { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; font: 600 15px var(--font); color: var(--text); cursor: pointer; outline: none; }
.lang-list [role=option]:hover, .lang-list [role=option]:focus { background: rgba(255, 255, 255, 0.08); }
.lang-list [role=option]:focus-visible { box-shadow: inset 0 0 0 2px var(--yellow); }
.lang-list [aria-selected=true] { color: var(--green); }
.lang-list [aria-selected=true]::after { content: ''; width: 12px; height: 9px; background: var(--green); clip-path: polygon(0 45%, 18% 45%, 40% 70%, 82% 0, 100% 0, 100% 18%, 40% 100%, 0 62%); }
.top-login { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 10px; text-decoration: none; font: 400 12px var(--pix); color: var(--text); background: rgba(11, 16, 32, 0.66); box-shadow: inset 0 0 0 1px var(--line2); }
.top-login:hover { box-shadow: inset 0 0 0 1px var(--green); }
.top .btn { display: none; }

/* ---------- герой ---------- */
.hero { position: relative; min-height: 100svh; max-height: 1000px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; background: #1a1430; }
@supports not (min-height: 100svh) { .hero { min-height: 100vh; } }
.hero-media { position: relative; flex: 1 1 auto; min-height: 46svh; overflow: hidden; z-index: -1; }
.hero-poster, .hero-live { image-rendering: pixelated; }
.hero-poster { position: absolute; max-width: none; width: calc(var(--pw) * var(--k)); height: calc(var(--ph) * var(--k)); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hero-live { position: absolute; left: 0; top: 0; max-width: none; opacity: 0; transform-origin: 50% 50%; transition: opacity 0.9s ease; }
.hero-live.on { opacity: 1; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 32, 0.6) 0%, rgba(11, 16, 32, 0) 20%, rgba(11, 16, 32, 0) 66%, var(--bg) 100%); pointer-events: none; }
.hero-in { position: relative; flex: none; margin-top: -48px; padding: 0 var(--gut) 26px; max-width: 680px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: pulse 1.8s ease-out infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }
.hero-h { font-size: 22px; line-height: 1.36; text-wrap: balance; text-shadow: 0 3px 0 rgba(20, 8, 50, 0.55), 0 0 40px rgba(11, 16, 32, 0.5); }
.hero-sub { margin-top: 14px; font-size: clamp(16px, 4.2vw, 21px); line-height: 1.5; color: #d9def6; max-width: 32em; text-wrap: pretty; }
.hero-cta { margin-top: 22px; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.hero-cta .btn { align-self: stretch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 0; padding: 0; font: 500 14px var(--font); color: var(--muted); }
.chips li { display: inline-flex; align-items: center; gap: 7px; }
.chips li::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--yellow); }
.scroll-cue { display: none; }

/* ---------- город в цифрах ---------- */
.stats { position: relative; z-index: 2; margin: 8px var(--gut) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: var(--r-lg); overflow: hidden; background: var(--line); box-shadow: var(--sh-card); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 6px 14px; background: linear-gradient(180deg, #18214a, #131a3a); text-align: center; }
.stat b { font: 800 clamp(24px, 6.6vw, 40px)/1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; color: var(--yellow); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35), 0 0 22px color-mix(in srgb, currentColor 45%, transparent); }
.stat:nth-child(6n + 2) b { color: var(--green); } .stat:nth-child(6n + 3) b { color: var(--pink); } .stat:nth-child(6n + 4) b { color: var(--sky); } .stat:nth-child(6n + 5) b { color: var(--orange); } .stat:nth-child(6n + 6) b { color: var(--violet); }
.stat span { font: 500 12.5px/1.25 var(--font); color: var(--muted); }

/* ---------- разделы ---------- */
.sec { position: relative; padding: 72px var(--gut) 0; max-width: 1240px; margin: 0 auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ac, var(--yellow)); background: color-mix(in srgb, var(--ac, var(--yellow)) 14%, transparent); padding: 8px 13px; border-radius: 999px; margin-bottom: 16px; }
.sec-h { font-size: 20px; line-height: 1.4; text-wrap: balance; }
.sec-sub { margin-top: 14px; color: var(--muted); font-size: clamp(16px, 4vw, 19px); max-width: 38em; text-wrap: pretty; }
.life { text-align: center; }
.life .sec-sub { margin-left: auto; margin-right: auto; }

/* сценарии: телефон — карусель со «щелчком», планшет — 2 колонки, компьютер — бенто */
.scn { margin: 30px calc(-1 * var(--gut)) 0; padding: 6px var(--gut) 26px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; text-align: left; }
.scn::-webkit-scrollbar { display: none; }
.card { --ac: var(--yellow); flex: 0 0 min(84%, 360px); scroll-snap-align: center; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(180deg, var(--card2), var(--card)); box-shadow: var(--sh-card), inset 0 0 0 1px var(--line); transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s; }
.card:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px color-mix(in srgb, var(--ac) 45%, transparent), 0 34px 60px -24px color-mix(in srgb, var(--ac) 40%, rgba(0, 0, 0, 0.8)), 0 10px 20px -10px rgba(0, 0, 0, 0.5); }
.c-career { --ac: var(--yellow); } .c-biz { --ac: var(--pink); } .c-home { --ac: var(--sky); } .c-farm { --ac: var(--green); } .c-craft { --ac: var(--orange); }
.c-fun { --ac: var(--violet); } .c-car { --ac: #facc15; } .c-style { --ac: #f472b6; } .c-friends { --ac: var(--cyan); }
.shot { position: relative; height: 210px; overflow: hidden; background: #0a0f22; }
.shot img { width: 100%; height: 100%; max-width: none; object-fit: none; object-position: 50% 50%; image-rendering: pixelated; }
.shot::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(21, 29, 59, 0.55)); pointer-events: none; }
.card-t { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; }
.card .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; font-size: 21px; background: color-mix(in srgb, var(--ac) 18%, #10172f); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 40%, transparent); flex: none; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font: 600 12.5px/1 var(--font); padding: 7px 10px; border-radius: 999px; color: color-mix(in srgb, var(--ac) 80%, #fff); background: color-mix(in srgb, var(--ac) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 26%, transparent); }
.scn-dots { display: flex; justify-content: center; gap: 7px; margin-top: 2px; }
.scn-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line2); transition: width 0.25s, background 0.25s; }
.scn-dots i.on { width: 24px; background: var(--yellow); }

/* персонаж: спрайты игры 16×26, кадры — по горизонтали листа (landing/img/chars.png) */
.maker { --ac: var(--pink); }
.maker-in { display: grid; gap: 34px; }
.maker-art { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 26px 12px 22px;
  background: radial-gradient(60% 55% at 50% 38%, rgba(255, 143, 171, 0.32), transparent 70%), radial-gradient(40% 50% at 18% 10%, rgba(167, 139, 250, 0.35), transparent 70%), linear-gradient(180deg, #2a1d58, #1a1440 64%, #130f30);
  box-shadow: var(--sh-card), inset 0 0 0 1px var(--line); }
.maker-art::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: repeating-conic-gradient(#2a2160 0 25%, #221a4e 0 50%) 0 0 / 28px 28px; opacity: 0.85; }
.maker-stage { position: relative; display: grid; place-items: end center; height: 230px; }
.maker-stage::after { content: ''; position: absolute; bottom: -6px; width: 150px; height: 20px; border-radius: 50%; background: rgba(0, 0, 0, 0.35); z-index: -1; }
.maker-row { position: relative; display: flex; gap: 2px; margin-top: 18px; }
.pp { --s: 4; --row: 0; display: block; width: calc(16px * var(--s)); height: calc(26px * var(--s)); background: url(img/chars.png) 0 calc(var(--row) * -26px * var(--s)) / calc(144px * var(--s)) calc(var(--rows, 24) * 26px * var(--s)) no-repeat; image-rendering: pixelated; }
.pp.big { --s: 8; animation: idleB 1.6s steps(1) infinite; transform-origin: 50% 100%; }
.pp.big.pop { animation: pop 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), idleB 1.6s steps(1) infinite; }
.pp.sm { --s: 3; animation: walk 0.6s steps(4) infinite; }
.pp.sm:nth-child(2n) { animation-duration: 0.66s; }
.pp.sm:nth-child(3n) { animation: dance 0.5s steps(2) infinite; }
@keyframes walk { from { background-position-x: 0; } to { background-position-x: calc(-64px * var(--s)); } }
@keyframes dance { from { background-position-x: calc(-112px * var(--s)); } to { background-position-x: calc(-144px * var(--s)); } }
@keyframes idleB { 0%, 70% { background-position-x: calc(-64px * var(--s)); } 71%, 85% { background-position-x: calc(-80px * var(--s)); } 86%, 100% { background-position-x: calc(-96px * var(--s)); } }
@keyframes pop { 0% { transform: scale(0.82); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
.spec { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec li { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.spec b { font: 800 28px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--pink); text-shadow: 0 0 18px rgba(255, 143, 171, 0.45); }
.spec span { color: var(--muted); font-size: 14.5px; }
.maker-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; }

/* город прямо сейчас */
.now { --ac: var(--green); }
.now-in { display: grid; gap: 30px; }
.clock { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.clock b { font: 800 20px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--text); }
.events { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.events li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.events .e-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #10172f; font-size: 22px; }
.events .e-t { font-weight: 700; line-height: 1.25; }
.events .e-d { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.events .e-at { font: 800 16px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; }
.events .e-b { display: block; margin-top: 6px; font: 700 11px/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px; text-align: center; }
.events li.is-now { box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.5), 0 0 30px -12px rgba(74, 222, 128, 0.5); }
.events li.is-now .e-b { background: var(--green); color: #052e14; }
.events li.is-soon .e-b { background: rgba(255, 212, 59, 0.16); color: var(--yellow); }
.feed { border-radius: var(--r-xl); background: linear-gradient(180deg, #172049, #111834); box-shadow: var(--sh-card), inset 0 0 0 1px var(--line); padding: 8px; display: flex; flex-direction: column; }
.feed-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 14px; }
.feed-title { font: 400 12px/1.3 var(--pix); }
.feed-live { display: inline-flex; align-items: center; gap: 8px; font: 700 11px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); background: rgba(74, 222, 128, 0.12); padding: 7px 11px; border-radius: 99px; }
.feed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.feed-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.035); animation: feedIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.pulse { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 8px; }
.pl { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px; border-radius: 18px; background: linear-gradient(180deg, rgba(74, 222, 128, 0.1), rgba(74, 222, 128, 0.04)); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.18); }
.pl-ic { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #0d1430; font-size: 17px; }
.pl b { font: 800 22px/1.05 var(--font); font-variant-numeric: tabular-nums; color: var(--green); text-shadow: 0 0 16px rgba(74, 222, 128, 0.4); }
.pl-t { font-size: 12.5px; line-height: 1.25; color: var(--muted); }
.feed-sub { padding: 8px 14px 6px; font: 700 11px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.feed-list .f-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #0d1430; font-size: 19px; }
.feed-list .f-t { font-size: 15px; line-height: 1.4; }
.feed-list .f-a { display: block; margin-top: 3px; font-size: 12.5px; color: var(--dim); }
.feed-empty { padding: 30px 18px; color: var(--muted); text-align: center; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* где играть: ноутбук и телефон с настоящим интерфейсом игры */
.anywhere { --ac: var(--sky); }
.any-in { display: grid; gap: 30px; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; color: #d9def6; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font: 800 14px/1 var(--font); color: #04263a; background: var(--sky); }
.devices { position: relative; padding: 4px 5% 40px; }
.laptop { width: 100%; max-width: 640px; }
.laptop-screen { position: relative; border-radius: 18px 18px 6px 6px; padding: 10px; background: #070b18; box-shadow: inset 0 0 0 2px #2a335a, 0 30px 60px -24px rgba(0, 0, 0, 0.8); }
.laptop-screen img { width: 100%; height: auto; border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; }
.laptop-base { height: 14px; margin: 0 -5%; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #3a4472, #232b4f); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.7); }
.phone { position: absolute; right: 0; bottom: 0; width: 34%; max-width: 210px; border-radius: 30px; padding: 7px; background: #070b18; box-shadow: inset 0 0 0 2px #2a335a, 0 30px 50px -18px rgba(0, 0, 0, 0.85); }
.phone-screen { border-radius: 24px; overflow: hidden; aspect-ratio: 390 / 844; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* финальный призыв */
.final { --fbx: 0px; position: relative; margin-top: 90px; min-height: 460px; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; padding: 60px var(--gut); }
/* ночная площадь с концертом (кадр того же движка); на телефоне сдвинута так, чтобы толпа была в кадре */
.final-bg { position: absolute; z-index: -2; max-width: none; width: calc(960px * var(--k)); height: calc(500px * var(--k)); left: 50%; top: 50%; transform: translate(calc(-50% - var(--fbx, 120px)), -50%); image-rendering: pixelated; }
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(48% 38% at 50% 52%, rgba(11, 16, 32, 0.66), rgba(11, 16, 32, 0) 100%), linear-gradient(180deg, var(--bg) 0%, rgba(11, 16, 32, 0) 18%, rgba(11, 16, 32, 0) 80%, var(--bg) 100%); }
.final-h { font-size: 22px; line-height: 1.4; text-shadow: 0 4px 0 rgba(20, 8, 50, 0.6), 0 0 40px rgba(0, 0, 0, 0.6); }
.final-sub { margin: 14px 0 28px; font-size: 18px; color: #e5e9fb; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }

/* подвал */
.foot { margin-top: 0; padding: 44px var(--gut) calc(112px + env(safe-area-inset-bottom)); background: #080c1a; box-shadow: inset 0 1px 0 var(--line); text-align: center; }
.mini-qa { max-width: 1180px; margin: 0 auto 34px; display: grid; gap: 14px; text-align: left; }
.mini-qa div { padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); }
.mini-qa dt { font-weight: 700; }
.mini-qa dd { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.foot-row { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; font-size: 14px; }
.foot-links a, .linkish { color: var(--muted); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.foot-links a:hover, .linkish:hover { color: var(--text); text-decoration: underline; }
.foot-langs { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp-lang { font: 600 13.5px var(--font); color: var(--muted); text-decoration: none; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); }
.lp-lang.on { color: #052e14; background: var(--green); box-shadow: none; }
.foot-copy { margin-top: 16px; font-size: 13px; color: var(--dim); }

/* липкая «Играть» (телефон) */
.sticky { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(11, 16, 32, 0), rgba(11, 16, 32, 0.94) 42%); transform: translateY(120%); transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1); }
.sticky .btn { display: flex; width: 100%; }
body.show-sticky .sticky { transform: none; }

/* cookie */
.cc { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 14px 16px; border-radius: 18px; background: #1c2652; box-shadow: inset 0 0 0 1px var(--line2), 0 18px 40px rgba(0, 0, 0, 0.55); font-size: 14px; transition: bottom 0.25s; }
body.show-sticky .cc { bottom: calc(92px + env(safe-area-inset-bottom)); }
.cc-t a { color: var(--sky); }
.cc-b { display: flex; gap: 8px; }
.cc-btn { font: 700 14px var(--font); border: 0; padding: 9px 15px; border-radius: 11px; cursor: pointer; color: var(--text); background: rgba(255, 255, 255, 0.08); }
.cc-btn.cc-ok { color: #052e14; background: var(--green); }

/* появление при прокрутке (только с JS; «меньше движения» — сразу) */
html.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .scn .rv:nth-child(3n + 2) { transition-delay: 0.08s; } html.js .scn .rv:nth-child(3n) { transition-delay: 0.16s; }

/* ---------- телефон: шапка в одну строку (пиксельный шрифт шире обычного) ---------- */
@media (max-width: 459px) {
  .top { gap: 6px; }
  .logo-t { font-size: 20px; letter-spacing: 1px; }
  .alpha { font-size: 8px; line-height: 13px; padding: 0 4px; }
  .lang-btn { height: 36px; gap: 6px; padding: 0 8px; font-size: 11px; }
  .top-login { height: 36px; padding: 0 9px; font-size: 10px; }
}

/* ---------- узкий телефон ---------- */
@media (max-width: 380px) {
  :root { --gut: 14px; }
  .logo-t { font-size: 18px; letter-spacing: 1px; }
  .btn-xl { font-size: 14px; padding: 19px 20px; }
  .hero-h { font-size: 20px; }
  .stat span { font-size: 11.5px; }
}

/* ---------- горизонтальный телефон ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 100svh; justify-content: flex-end; }
  .hero-media { position: absolute; inset: 0; }
  .hero-scrim { background: linear-gradient(90deg, rgba(11, 16, 32, 0.95) 0%, rgba(11, 16, 32, 0.82) 42%, rgba(11, 16, 32, 0.1) 74%); }
  .hero-in { margin-top: 0; padding: 66px var(--gut) 16px; max-width: 62%; }
  .hero-h { font-size: 20px; }
  .hero-sub { font-size: 14.5px; margin-top: 6px; }
  .hero-cta { margin-top: 12px; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
  .hero-cta .btn { align-self: auto; }
  .btn-xl { font-size: 14px; padding: 15px 20px; }
  .chips { justify-content: flex-start; }
}

/* ---------- планшет ---------- */
@media (min-width: 640px) {
  :root { --gut: 28px; --k: 1.5; --pw: 960px; --ph: 540px; }
  .hero-h { font-size: 32px; }
  .sec-h { font-size: 28px; }
  .final-h { font-size: 32px; }
  .card h3 { font-size: 16px; }
  .stats { grid-template-columns: repeat(6, 1fr); }
  .hero-cta { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .hero-cta .btn { align-self: auto; }
  .chips { justify-content: flex-start; }
  .scn { margin: 34px 0 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .card { flex: none; }
  .card.wide { grid-column: span 2; }
  .shot { height: 240px; }
  .scn-dots { display: none; }
  .spec { grid-template-columns: repeat(4, 1fr); }
  .spec li { flex-direction: column; gap: 6px; }
  .mini-qa { grid-template-columns: repeat(3, 1fr); }
  .final { --fbx: 0px; }
}

/* ---------- компьютер ---------- */
@media (min-width: 980px) {
  :root { --k: 2; }
  .top { padding: 18px 40px; gap: 14px; }
  .top.scrolled { position: fixed; padding-top: 10px; padding-bottom: 10px; background: rgba(11, 16, 32, 0.94); box-shadow: 0 1px 0 var(--line), 0 10px 30px -14px rgba(0, 0, 0, 0.7); }
  .top-nav { display: flex; gap: 6px; margin-left: 26px; }
  .top-nav a { text-decoration: none; color: #d9def6; font: 400 12px/1 var(--pix); padding: 10px 12px; border-radius: 10px; }
  .lang-name { display: inline; }
  .lang-code { display: none; }
  .top-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
  .top .btn { display: inline-flex; }
  .logo-t { font-size: 28px; }
  .hero { min-height: max(640px, min(100vh, 940px)); justify-content: center; }
  .hero-media { position: absolute; inset: 0; min-height: 0; }
  .hero-scrim { background:
    linear-gradient(90deg, rgba(11, 16, 32, 0.95) 0%, rgba(11, 16, 32, 0.86) 32%, rgba(11, 16, 32, 0.55) 50%, rgba(11, 16, 32, 0) 68%),
    linear-gradient(180deg, rgba(11, 16, 32, 0.6) 0%, rgba(11, 16, 32, 0) 16%, rgba(11, 16, 32, 0) 78%, var(--bg) 100%); }
  .hero-in { margin: 0; padding: 120px 40px 120px 64px; max-width: 860px; }
  .hero-h { font-size: 48px; line-height: 1.3; }
  .sec-h { font-size: 36px; }
  .final-h { font-size: 40px; }
  .scroll-cue { display: block; position: absolute; left: 50%; bottom: 96px; width: 30px; height: 46px; margin-left: -15px; border-radius: 16px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4); }
  .scroll-cue i { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
  .stats { margin: -64px auto 0; max-width: 1140px; }
  .stat { padding: 22px 8px 18px; }
  .sec { padding-top: 110px; }
  .scn { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .shot { height: 250px; }
  .maker-in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; }
  .maker-art { min-height: 440px; }
  .maker-stage { height: 300px; }
  .pp.big { --s: 10; }
  .pp.sm { --s: 4; }
  .now-in { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
  .any-in { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 56px; }
  .devices { padding: 4px 5% 30px 0; }
  .final { min-height: 600px; margin-top: 120px; place-items: center start; padding-left: max(64px, calc((100vw - 1180px) / 2)); text-align: left; --fbx: 0px; }
  .final::before { background: linear-gradient(90deg, rgba(11, 16, 32, 0.9) 0%, rgba(11, 16, 32, 0.66) 26%, rgba(11, 16, 32, 0.1) 50%, rgba(11, 16, 32, 0) 62%), linear-gradient(180deg, var(--bg) 0%, rgba(11, 16, 32, 0) 16%, rgba(11, 16, 32, 0) 82%, var(--bg) 100%); }
  .final-in { max-width: 560px; }
  .sticky { display: none; }
  .cc { left: auto; right: 24px; bottom: 24px; max-width: 520px; }
  body.show-sticky .cc { bottom: 24px; }
  .foot { padding-bottom: 44px; }
  .foot-row { flex-direction: row; justify-content: space-between; max-width: 1180px; margin: 0 auto; }
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 2000px) { :root { --k: 3; } }
@media (min-width: 980px) and (max-width: 1199px) { .top-nav { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .rv { opacity: 1; transform: none; }
}

/* пиксельный шрифт моноширинный: пробел шириной в букву — сжимаем промежутки между словами */
h1, h2, h3, .btn, .top-nav a, .lang-btn, .top-login, .feed-title { word-spacing: -0.38em; }
/* подписи под кнопкой читаются на любом кадре пролёта */
.hero li { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 8px rgba(11, 16, 32, 0.9); }
