/* VOLTA-84 — Retro-Futuristic. Mobile-first. Анимируются только transform и opacity. */
:root {
  --bg: #120a06;
  --bg-2: #1b100a;
  --bg-3: #24150c;
  --cream: #ffe9c7;
  --amber: #ffb000;
  --amber-dim: rgba(255, 176, 0, .35);
  --orange: #ff6a2b;
  --red: #e8432d;
  --teal: #3ce0c8;
  --beige: #dccaa6;
  --beige-2: #c9b48d;
  --display: 'Michroma', 'Eurostile', 'Arial Black', sans-serif;
  --term: 'VT323', ui-monospace, 'Courier New', monospace;
  --pad: clamp(18px, 4vw, 60px);
  --glow: 0 0 6px rgba(255, 176, 0, .55), 0 0 18px rgba(255, 106, 43, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--cream); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font: 400 22px/1.25 var(--term); background: var(--bg); overflow-x: hidden; overflow-x: clip;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' shape-rendering='crispEdges'%3E%3Cpath d='M2 2h3v3h3v3h3v3h3v3h3v3h-6v3h-3v-3H5v3H2z' fill='%23ffb000' stroke='%23120a06' stroke-width='1'/%3E%3C/svg%3E") 2 2, auto;
}
a, button { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' shape-rendering='crispEdges'%3E%3Cpath d='M2 2h3v3h3v3h3v3h3v3h3v3h-6v3h-3v-3H5v3H2z' fill='%233ce0c8' stroke='%23120a06' stroke-width='1'/%3E%3C/svg%3E") 2 2, pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--amber); color: var(--bg); }
:focus-visible { outline: 2px dashed var(--teal); outline-offset: 4px; }
.amber { color: var(--amber); }
.dim { opacity: .55; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 600; padding: 6px 12px; background: var(--amber); color: var(--bg); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- Экран ЭЛТ: сканлайны, виньетка, бегущая полоса ---------- */
.crt {
  position: fixed; inset: 0; z-index: 400; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(130% 100% at 50% 50%, transparent 60%, rgba(0, 0, 0, .55) 100%),
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 2px, rgba(0, 0, 0, .2) 3px, rgba(0, 0, 0, 0) 4px);
}
.crt__roll { position: absolute; left: 0; right: 0; top: 0; height: 22vh; background: linear-gradient(to bottom, transparent, rgba(255, 233, 199, .035) 50%, transparent); transform: translateY(-30vh); }
.motion .crt__roll { animation: roll 7s linear infinite; }
@keyframes roll { to { transform: translateY(130vh); } }
.motion .crt { animation: flicker 5s steps(1) infinite; }
@keyframes flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: .82; } 95% { opacity: .95; } }

/* ---------- Загрузка: включение ЭЛТ ---------- */
.boot { position: fixed; inset: 0; z-index: 500; background: #000; display: none; }
.motion .boot { display: block; }
.boot__line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #fff; box-shadow: 0 0 18px #fff; transform: scaleX(0); }
.boot__screen { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: var(--pad); background: radial-gradient(90% 80% at 50% 50%, #1f1209, #000); transform: scaleY(.004); opacity: 0; }
.boot__text { margin: 0; font: 400 clamp(18px, 2.6vw, 28px)/1.35 var(--term); color: var(--amber); text-shadow: var(--glow); white-space: pre-wrap; }
.boot__text span { display: block; opacity: 0; }
.boot__text .hi { color: var(--cream); margin-top: .6em; }
.boot__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.caret { display: inline-block; width: .55em; height: .95em; margin-left: .1em; vertical-align: -.1em; background: currentColor; }
.motion .caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Навигация ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); background: rgba(18, 10, 6, .92); border-bottom: 1px dashed var(--amber-dim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.nav__logo { font: 400 14px/1 var(--display); letter-spacing: .14em; color: var(--cream); text-shadow: var(--glow); }
.nav__logo span { color: var(--amber); }
.nav__links { display: none; gap: 26px; font-size: 22px; text-transform: uppercase; }
.nav__links a { position: relative; color: rgba(255, 233, 199, .75); }
.nav__links a::before { content: '>'; position: absolute; left: -14px; color: var(--teal); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s steps(2); }
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::before { opacity: 1; transform: none; }
.nav__rec { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; text-transform: uppercase; padding: 4px 12px; border: 1px solid var(--amber-dim); }
.nav__rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.motion .nav__rec i { animation: blink 1.4s steps(1) infinite; }
@media (min-width: 800px) { .nav__links { display: flex; } }

/* ---------- Общие ---------- */
.label { margin: 0 0 22px; font-size: 22px; color: var(--teal); text-transform: uppercase; letter-spacing: .04em; }
.h2 { margin: 0 0 26px; font: 400 clamp(1.4rem, 4.2vw, 3.3rem)/1.18 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--cream); text-shadow: -1px 0 rgba(60, 224, 200, .45), 1px 0 rgba(232, 67, 45, .45); max-width: 22ch; }
.body { margin: 0 0 26px; max-width: 46ch; font-size: clamp(22px, 1.8vw, 26px); color: rgba(255, 233, 199, .86); }
.motion [data-in] { opacity: 0; transform: translateY(18px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(84px, 12vh, 120px) var(--pad) 0; }
.hero__copy { position: relative; z-index: 3; order: 1; }
.hero__kicker { margin: 0 0 14px; font-size: 22px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.hero__title { margin: 0 0 16px; font: 400 clamp(2.4rem, 9.4vw, 8.6rem)/1 var(--display); letter-spacing: .02em; white-space: nowrap; }
.neon {
  display: inline-block; color: #fff3dc;
  text-shadow: -3px 0 rgba(60, 224, 200, .55), 3px 0 rgba(232, 67, 45, .6), 0 0 10px #ffb000, 0 0 30px #ff6a2b, 0 0 60px rgba(232, 67, 45, .55);
}
.motion .neon { animation: neon 6s steps(1) infinite; }
@keyframes neon { 0%, 61%, 64%, 100% { opacity: 1; } 62% { opacity: .55; } 63% { opacity: .9; } }
.hero__tag { margin: 0 0 30px; font-size: clamp(24px, 2.4vw, 34px); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 26px; }
.hero__link { font-size: 22px; text-transform: uppercase; color: rgba(255, 233, 199, .8); border-bottom: 1px dashed var(--amber-dim); }
.hero__link:hover { color: var(--amber); }
.vhs { position: absolute; left: var(--pad); bottom: 18px; z-index: 3; display: flex; gap: 12px; margin: 0; font-size: 24px; color: #fff; text-shadow: 2px 0 rgba(232, 67, 45, .6), -2px 0 rgba(60, 224, 200, .6); }

/* Горизонт — под текстом, занимает остаток экрана: солнце никогда не залезает под строки. */
.horizon { position: relative; z-index: 1; flex: 1 1 auto; align-self: stretch; min-height: 44vh; margin: 26px calc(-1 * var(--pad)) 0; pointer-events: none; order: 2; }
.horizon::before { content: ''; position: absolute; left: 50%; bottom: 34%; width: 120vw; height: 80%; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 100%, rgba(255, 106, 43, .38), rgba(232, 67, 45, .12) 55%, transparent 75%); }
.sun {
  position: absolute; left: 0; right: 0; bottom: 34%; height: min(66%, 74vw); aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
  background: linear-gradient(to bottom, #ffd166 0%, #ffb000 30%, #ff6a2b 62%, #e8432d 100%);
  -webkit-mask-image: linear-gradient(#000 0 54%, transparent 54%), repeating-linear-gradient(to bottom, transparent 0 7px, #000 7px 26px);
  mask-image: linear-gradient(#000 0 54%, transparent 54%), repeating-linear-gradient(to bottom, transparent 0 7px, #000 7px 26px);
}
.ridge { position: absolute; left: 0; right: 0; bottom: 34%; width: 100%; height: 16%; }
.ridge--far { fill: #2a160c; stroke: rgba(255, 106, 43, .55); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ridge--near { fill: #1a0d07; stroke: rgba(255, 176, 0, .5); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.floor { position: absolute; left: -50%; right: -50%; bottom: 0; height: 34.5%; overflow: hidden; perspective: 260px; perspective-origin: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%); mask-image: linear-gradient(to bottom, transparent, #000 35%); background: linear-gradient(to bottom, #1d0e07, var(--bg)); }
.floor__plane { position: absolute; left: 0; right: 0; top: 0; height: 400%; transform-origin: 50% 0; transform: rotateX(72deg); }
.floor__lines { position: absolute; left: 0; right: 0; top: -60px; bottom: 0; opacity: .85;
  background-image: linear-gradient(rgba(255, 106, 43, .9) 2px, transparent 2px), linear-gradient(90deg, rgba(255, 106, 43, .9) 2px, transparent 2px);
  background-size: 60px 60px; }
.motion .floor__lines { animation: run 1.1s linear infinite; }
@keyframes run { to { transform: translateY(60px); } }

/* ---------- Клавиши-кнопки ---------- */
.key {
  display: inline-block; padding: 0; border: 0; background: none; border-radius: 10px; color: #2a1a0e;
  box-shadow: 0 6px 0 #8a6a43, 0 12px 22px rgba(0, 0, 0, .55); transition: transform .12s steps(2);
}
.key > span { display: block; padding: 15px 22px 14px; border-radius: 10px; background: linear-gradient(#fff0d6, var(--beige)); font: 400 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08), inset 0 2px 0 rgba(255, 255, 255, .7); }
.key:hover { transform: translateY(-2px); }
.key:active { transform: translateY(4px); box-shadow: 0 2px 0 #8a6a43, 0 4px 10px rgba(0, 0, 0, .5); }
.key--big > span { padding: 22px 34px 20px; font-size: 14px; }

/* ---------- Машина (CSS) ---------- */
.machine-sec { padding: clamp(80px, 12vw, 160px) var(--pad); display: grid; gap: 50px; align-items: center; }
.machine { width: min(84vw, 430px); margin: 0 auto; }
.monitor { position: relative; padding: 22px 22px 52px; border-radius: 22px; background: linear-gradient(145deg, #eadbbd, var(--beige) 45%, var(--beige-2)); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12), 0 30px 60px rgba(0, 0, 0, .45); }
.screen { position: relative; aspect-ratio: 4 / 3; border-radius: 24px / 32px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(70% 70% at 50% 45%, #3a1f0a, #140a04 70%); box-shadow: inset 0 0 0 10px #2d2016, inset 0 0 40px rgba(0, 0, 0, .9); }
.face { position: relative; width: 46%; height: 46%; }
.eye { position: absolute; top: 18%; width: 15%; height: 30%; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.eye:first-child { left: 18%; }
.eye:nth-child(2) { right: 18%; }
.motion .eye { animation: lid 5s steps(1) infinite; }
@keyframes lid { 0%, 94%, 100% { transform: none; } 95%, 97% { transform: scaleY(.1); } }
.mouth { position: absolute; left: 22%; right: 22%; bottom: 14%; height: 24%; border: 6px solid var(--amber); border-top: 0; border-radius: 0 0 60px 60px; box-shadow: 0 6px 12px -6px var(--amber); }
.screen__glare { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .1), transparent 35%), repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, .25) 3px); }
.badge { position: absolute; left: 24px; bottom: 16px; font: 400 10px/1 var(--display); letter-spacing: .14em; color: #6d5536; }
.knob { position: absolute; bottom: 14px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f5e8cc, #a48d66); box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.knob:nth-of-type(3) { right: 26px; } .knob:nth-of-type(4) { right: 52px; }
.unit { position: relative; height: 56px; margin: 0 6% ; border-radius: 0 0 10px 10px; background: linear-gradient(var(--beige-2), #b49e76); display: flex; align-items: center; gap: 14px; padding: 0 18px; }
.slot { width: 34%; height: 8px; border-radius: 3px; background: #3a2c1c; box-shadow: inset 0 2px 2px rgba(0, 0, 0, .6); }
.led { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.motion .led { animation: blink 2.2s steps(1) infinite; }
.keyboard { height: 70px; margin-top: 14px; border-radius: 10px; background:
  repeating-linear-gradient(90deg, transparent 0 4px, rgba(0, 0, 0, .18) 4px 5px), repeating-linear-gradient(transparent 0 15px, rgba(0, 0, 0, .18) 15px 17px), linear-gradient(#e4d4b4, var(--beige-2));
  box-shadow: inset 0 0 0 6px #cdb995, 0 14px 30px rgba(0, 0, 0, .4); transform: perspective(500px) rotateX(38deg); transform-origin: top; }
.perks { list-style: none; margin: 0; padding: 0; }
.perks li { padding: 12px 0 12px 28px; border-top: 1px dashed var(--amber-dim); position: relative; color: rgba(255, 233, 199, .86); }
.perks li::before { content: '■'; position: absolute; left: 0; color: var(--amber); font-size: 16px; top: 16px; }
.perks b { color: var(--amber); font-weight: 400; }
@media (min-width: 900px) { .machine-sec { grid-template-columns: 1fr 1fr; gap: 6vw; } }

/* ---------- Карточки ---------- */
.cards-sec { padding: clamp(40px, 6vw, 80px) var(--pad) clamp(80px, 11vw, 150px); }
.cards { display: grid; gap: 18px; }
.card { position: relative; padding: 26px 24px 30px; background: var(--bg-2); border: 1px solid rgba(255, 106, 43, .3); transition: transform .3s steps(3); }
.card__glow { position: absolute; inset: -1px; border: 1px solid var(--amber); box-shadow: 0 0 22px rgba(255, 176, 0, .35), inset 0 0 22px rgba(255, 106, 43, .15); opacity: 0; transition: opacity .3s steps(3); pointer-events: none; }
.card__no { margin: 0 0 22px; color: var(--teal); }
.card h3 { margin: 0 0 12px; font: 400 clamp(1.05rem, 1.8vw, 1.4rem)/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--amber); text-shadow: var(--glow); }
.card p:not(.card__no) { margin: 0; color: rgba(255, 233, 199, .8); }
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); }
  .card:hover .card__glow { opacity: 1; }
  .card:hover h3 { animation: jitter .3s steps(2) 2; }
}
@keyframes jitter { 0% { transform: translateX(-3px); } 50% { transform: translateX(3px); } 100% { transform: none; } }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1150px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Терминал-разговор ---------- */
.talk { padding: clamp(60px, 9vw, 120px) var(--pad); }
.term { max-width: 900px; border: 2px solid var(--amber); background: #0d0703; box-shadow: 0 0 0 6px var(--bg-3), 0 0 40px rgba(255, 106, 43, .25); }
.term__bar { display: flex; justify-content: space-between; padding: 6px 14px; background: var(--amber); color: var(--bg); font-size: 20px; }
.term__body { padding: 20px clamp(16px, 3vw, 30px) 26px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.msg { margin: 0 0 16px; }
.msg--you { color: var(--teal); }
.msg--volta { color: var(--amber); text-shadow: 0 0 8px rgba(255, 176, 0, .45); }
.msg--prompt { color: var(--teal); margin: 0; }
.msg .c { opacity: 1; }
.motion .msg { opacity: 0; }
.motion .msg[data-type] { opacity: 1; }
.motion .msg[data-type] .c { opacity: 0; }

/* ---------- Спецификация ---------- */
.specs { padding: clamp(60px, 9vw, 130px) var(--pad); }
.sheet { margin: 0; max-width: 980px; }
.sheet > div { display: flex; align-items: baseline; gap: 0; padding: 10px 0; }
.sheet dt { display: flex; flex: 1; align-items: baseline; text-transform: uppercase; color: var(--teal); min-width: 0; }
.sheet dt::after { content: ''; flex: 1; min-width: 20px; margin: 0 10px; border-bottom: 2px dotted var(--amber-dim); transform: translateY(-5px); }
.sheet dd { margin: 0; text-align: right; color: var(--cream); max-width: 60%; }

/* ---------- Предзаказ ---------- */
.preorder { padding: clamp(80px, 12vw, 170px) var(--pad); text-align: center; display: flex; flex-direction: column; align-items: center; border-top: 1px dashed var(--amber-dim); }
.price { margin: 0 0 18px; display: flex; align-items: flex-start; justify-content: center; font: 400 clamp(3.6rem, 16vw, 13rem)/1 var(--display); color: #fff3dc; text-shadow: 0 0 10px #ffb000, 0 0 34px #ff6a2b; }
.price__cur { font-size: .42em; margin: .14em .1em 0 0; color: var(--amber); }
.roller { display: inline-flex; line-height: 1; }
.roller__col { display: inline-block; height: 1em; overflow: hidden; }
.roller__strip { display: flex; flex-direction: column; transition: transform 1.2s cubic-bezier(.2, .9, .1, 1); }
.roller__strip > span { display: block; height: 1em; }
.reserve__msg { min-height: 1.4em; margin: 22px 0 0; color: var(--teal); font-size: 24px; }

/* ---------- Подвал ---------- */
.foot { padding: 30px var(--pad) 30px; border-top: 2px solid var(--amber); overflow: hidden; }
.foot__mark { margin: 0 0 20px; white-space: nowrap; font: 400 clamp(2.4rem, 11vw, 11rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255, 176, 0, .6); letter-spacing: .02em; }
.foot__row { display: grid; gap: 4px; font-size: 20px; color: rgba(255, 233, 199, .7); text-transform: uppercase; }
.foot__row p { margin: 0; }
.foot__row a { color: var(--amber); border-bottom: 1px dashed var(--amber); }
@media (min-width: 900px) { .foot__row { grid-template-columns: 1fr 1fr 1fr; } .foot__row p:last-child { text-align: right; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
