/* SnowVibe — главная страница. Ночь, северное сияние и живой снег. */
:root {
  --bg: #050918;
  --bg-2: #0a1230;
  --ink: #f1f5ff;
  --ink-2: #aab8de;
  --ink-3: #7584ad;
  --ice: #8fd3ff;
  --ice-2: #c9ecff;
  --gold: #ffd36b;
  --line: rgba(190, 215, 255, .14);
  --glass: rgba(20, 32, 72, .55);
  --glass-2: rgba(28, 44, 96, .45);
  --radius: 22px;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.6 var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ice); }
kbd {
  font: 700 .82em var(--text);
  padding: 2px 8px; border-radius: 7px;
  background: rgba(255,255,255,.1); border: 1px solid var(--line);
  border-bottom-width: 2px;
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

/* ── Небо ─────────────────────────────────────── */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 120%, #1a2b6b 0%, transparent 60%),
    linear-gradient(180deg, #03050f 0%, #070d26 45%, #0d1a46 100%); }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.aurora { position: absolute; inset: -20% -10% 30%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.aurora i { position: absolute; border-radius: 50%; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 60%; height: 40%; left: 5%; top: 10%; background: radial-gradient(closest-side, #19f5b2, transparent); }
.aurora i:nth-child(2) { width: 55%; height: 35%; left: 40%; top: 0; background: radial-gradient(closest-side, #4a7dff, transparent); animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 45%; height: 30%; left: 25%; top: 25%; background: radial-gradient(closest-side, #b45cff, transparent); animation-duration: 34s; animation-delay: -12s; opacity: .7; }
@keyframes drift {
  0% { transform: translate3d(-6%, 0, 0) scale(1) rotate(-4deg); }
  50% { transform: translate3d(4%, 6%, 0) scale(1.15) rotate(3deg); }
  100% { transform: translate3d(8%, -4%, 0) scale(.95) rotate(-2deg); }
}
.moon { position: absolute; right: 9%; top: 12%; width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #fffdf4, #e8ecff 45%, #b9c4ea 100%);
  box-shadow: 0 0 60px 18px rgba(200, 220, 255, .28), 0 0 160px 60px rgba(120, 160, 255, .14); }
.moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 62% 60%, rgba(140,150,190,.35) 0 9%, transparent 10%),
              radial-gradient(circle at 40% 70%, rgba(140,150,190,.3) 0 6%, transparent 7%),
              radial-gradient(circle at 70% 32%, rgba(140,150,190,.25) 0 5%, transparent 6%); }

#snow { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 40; pointer-events: none; }

/* ── Шапка ─────────────────────────────────────── */
.top {
  position: fixed; z-index: 30; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  display: flex; align-items: center; gap: 18px;
  padding: 10px 12px 10px 18px; border-radius: 18px;
  background: rgba(10, 18, 44, .62); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 18px var(--display); letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(255,255,255,.07); }
.soon-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(143,211,255,.22), rgba(143,211,255,.08)); border: 1px solid rgba(143,211,255,.35);
  font-weight: 700; font-size: 14px; color: var(--ice-2); }
.soon-pill b { width: 8px; height: 8px; border-radius: 50%; background: #4dffa6; box-shadow: 0 0 12px #4dffa6; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

/* ── Общие ─────────────────────────────────────── */
section { position: relative; padding: 110px 20px; }
.section-head { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.kicker { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; font-weight: 700; }
.sub { color: var(--ink-2); font-size: 18px; margin: 18px auto 0; max-width: 640px; }
.muted { color: var(--ink-2); margin: 6px 0 0; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 26px; border-radius: 16px; border: 0; cursor: pointer; text-decoration: none;
  font: 800 16px var(--text); color: #04122b;
  background: linear-gradient(135deg, #e9f7ff 0%, #9fdcff 50%, #6fb7ff 100%);
  box-shadow: 0 10px 30px rgba(111, 183, 255, .35), inset 0 1px 0 rgba(255,255,255,.8);
  transition: transform .2s, box-shadow .2s; overflow: hidden;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.75) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 4.5s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(111, 183, 255, .5), inset 0 1px 0 rgba(255,255,255,.8); }
.btn span { position: relative; z-index: 1; }
.btn.ghost { color: var(--ink); background: rgba(255,255,255,.06); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost::after { display: none; }
.btn.ghost:hover { background: rgba(255,255,255,.12); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ── Первый экран ─────────────────────────────── */
.hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 140px 20px 200px; text-align: center; overflow: hidden; }
.hero-text { position: relative; z-index: 2; max-width: 980px; }
.eyebrow { display: inline-block; max-width: 100%; text-wrap: balance; line-height: 1.5; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 15px; }
.eyebrow b { color: var(--ink); }
.title { font-size: clamp(42px, 8vw, 104px); line-height: .98; font-weight: 800; margin: 26px 0 0; }
.title .w { display: inline-block; white-space: nowrap; }
.title .ch { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(6deg); filter: blur(10px); animation: chIn .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }
.title em { font-style: normal; }
.title em .ch {
  background: linear-gradient(100deg, #ffffff 0%, #bfe8ff 25%, #7cc8ff 45%, #ffffff 55%, #a8dcff 75%, #ffffff 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: chIn .9s cubic-bezier(.2,.8,.2,1) forwards, frost 6s linear infinite;
  filter: drop-shadow(0 0 22px rgba(124, 200, 255, .45));
}
@keyframes frost { to { background-position: -300% 0; } }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); max-width: 720px; margin: 28px auto 0; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hint { margin-top: 26px; color: var(--ink-3); font-size: 15px; }
.hint b { color: var(--ice-2); }
.mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34vh; min-height: 200px; z-index: 1; will-change: transform; }
.mountains .m1 { fill: #13204f; }
.mountains .m2 { fill: #0d173d; }
.mountains .m3 { fill: #091030; }

/* ── Рабочий стол ─────────────────────────────── */
.desk-section { padding-top: 60px; }
.desk {
  position: relative; margin: 0 auto; width: min(1140px, 100%); aspect-ratio: 16 / 10; min-height: 420px;
  border-radius: 22px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 50% at 75% 20%, rgba(255, 170, 120, .35), transparent 70%),
    radial-gradient(70% 60% at 20% 30%, rgba(120, 140, 255, .45), transparent 70%),
    linear-gradient(180deg, #2b3f8f 0%, #4b5fb0 38%, #9a8fd0 62%, #e7b7c8 100%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 10px rgba(255,255,255,.035), 0 40px 120px rgba(0,0,0,.6), 0 0 120px rgba(100,150,255,.18);
  user-select: none; -webkit-user-select: none;
}
.desk::before { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: 0;
  background:
    linear-gradient(170deg, transparent 0 40%, #3b4a96 40.3%) 0 0 / 50% 100% no-repeat,
    linear-gradient(-165deg, transparent 0 35%, #33418a 35.3%) 100% 0 / 60% 100% no-repeat,
    linear-gradient(180deg, transparent 0 55%, #2a3678 55.2%);
  opacity: .95; }
.desk-menubar { position: absolute; z-index: 30; inset: 0 0 auto 0; height: 30px; display: flex; align-items: center; gap: 16px; padding: 0 14px;
  background: rgba(255,255,255,.28); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: #0e1530; font-size: 13.5px; font-weight: 600; }
.desk-menubar b { font-weight: 800; }
.desk-menubar .grow { flex: 1; }
.flake-ico { width: 16px; height: 16px; }

.win { position: absolute; display: flex; flex-direction: column; border-radius: 12px; background: rgba(250, 251, 255, .92); color: #1b2140;
  box-shadow: 0 22px 60px rgba(10, 15, 50, .45), 0 0 0 1px rgba(255,255,255,.6) inset; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.win.dark { background: rgba(28, 30, 48, .9); color: #eef1ff; box-shadow: 0 22px 60px rgba(10, 15, 50, .55), 0 0 0 1px rgba(255,255,255,.12) inset; }
.win-bar { flex: none; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 12px; cursor: grab; touch-action: none; border-bottom: 1px solid rgba(0,0,0,.06); }
.win.dark .win-bar { border-bottom-color: rgba(255,255,255,.07); }
.win-bar:active { cursor: grabbing; }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 8px; font-size: 13px; font-weight: 700; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-body { flex: 1; padding: 14px 18px; overflow: hidden; font-size: 14.5px; }
.notes label { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px dashed rgba(0,0,0,.08); cursor: pointer; }
.notes input { accent-color: #3a7bff; width: 16px; height: 16px; }
.notes input:checked + * , .notes label:has(input:checked) { color: #8a90a8; text-decoration: line-through; }
.win-tree { position: absolute; bottom: 100%; right: 16px; width: 30px; pointer-events: none; }
.player { display: flex; gap: 16px; align-items: center; }
.cover { flex: none; width: 34%; aspect-ratio: 1; border-radius: 10px; background: radial-gradient(circle at 30% 30%, #ffd36b, transparent 40%), linear-gradient(135deg, #5b6cff, #c04dff 60%, #ff6b9a); box-shadow: 0 10px 30px rgba(120, 80, 255, .4); }
.track b { display: block; font-size: 16px; }
.track span { color: #9aa2c8; font-size: 13px; }
.bar-eq { display: flex; gap: 4px; align-items: flex-end; height: 34px; margin-top: 12px; }
.bar-eq i { width: 6px; border-radius: 3px; background: linear-gradient(#9fdcff, #5b6cff); animation: eq 1s ease-in-out infinite; }
.bar-eq i:nth-child(odd) { animation-duration: .8s; }
.bar-eq i:nth-child(3n) { animation-duration: 1.25s; animation-delay: -.3s; }
.bar-eq i:nth-child(4n) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.pic { padding: 0; background: radial-gradient(circle at 70% 28%, #fff7d6 0 8%, transparent 9%), linear-gradient(180deg, #7aa7ff 0%, #c9d8ff 55%, #fff 56%, #e8efff 100%); border-radius: 0 0 12px 12px; }

.dock { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 8px; padding: 7px 9px; border-radius: 18px;
  background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.dock b { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; line-height: 1;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 4px 12px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.4);
  transform-origin: 50% 100%; transition: transform .12s ease-out; will-change: transform; }
.desk-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 0; }
.desk-tree { position: absolute; bottom: 0; width: 46px; pointer-events: none; z-index: 1; }
.desk-tree.l { left: calc(50% - 262px); }
.desk-tree.r { right: calc(50% - 262px); }
.desk-tree.r2 { right: calc(50% - 300px); width: 34px; }

.desk-tips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 26px auto 0; max-width: 1000px; color: var(--ink-2); font-size: 15px; }
.desk-tips kbd { margin-right: 6px; }

/* ── Карточки ─────────────────────────────────── */
.bento { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--glass-2), rgba(12, 20, 48, .7));
  border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s, background .3s, transform .3s;
  overflow: visible;
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(143, 211, 255, .16), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(143, 211, 255, .35); }
.card.big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(80% 60% at 70% 20%, rgba(124, 200, 255, .2), transparent), linear-gradient(160deg, var(--glass-2), rgba(12, 20, 48, .7)); }
.card.big h3 { font-size: 30px; }
.card.big .ico { font-size: 64px; }
.big-art { position: relative; flex: 1; min-height: 190px; margin: -8px -8px 18px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(70% 70% at 70% 10%, rgba(255, 200, 150, .25), transparent 70%), linear-gradient(180deg, #2b3f8f, #6a6fc0 70%, #a58fd0); }
.big-art .mini-win { position: absolute; left: 12%; top: 26%; width: 56%; height: 52%; border-radius: 10px; background: rgba(250, 251, 255, .92); box-shadow: 0 16px 40px rgba(10, 15, 50, .45); }
.big-art .mini-win::before { content: ""; position: absolute; inset: 0 0 auto; height: 22px; border-bottom: 1px solid rgba(0,0,0,.06);
  background: radial-gradient(circle at 14px 11px, #ff5f57 0 5px, transparent 5.5px), radial-gradient(circle at 30px 11px, #febc2e 0 5px, transparent 5.5px), radial-gradient(circle at 46px 11px, #28c840 0 5px, transparent 5.5px); }
.big-art .mini-win.b { left: 52%; top: 46%; width: 40%; height: 40%; background: rgba(28, 30, 48, .92); }
.big-art img { position: absolute; bottom: 0; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.big-art .pg { left: 6%; width: 72px; animation: waddle 1.1s ease-in-out infinite; }
.big-art .t1 { right: 6%; width: 40px; }
.big-art .t2 { right: 15%; width: 28px; }
@keyframes waddle { 50% { transform: rotate(4deg) translateY(-2px); } }
.card.wide { grid-column: span 2; background: radial-gradient(70% 90% at 90% 50%, rgba(255, 90, 90, .18), transparent), linear-gradient(160deg, var(--glass-2), rgba(12, 20, 48, .7)); }
.card .ico { font-size: 38px; margin-bottom: 14px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ── Метель ───────────────────────────────────── */
.storm { height: 220vh; padding: 0; }
.storm-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-content: center; text-align: center; overflow: hidden; padding: 0 20px; }
.storm-kicker { color: var(--ink-3); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; margin: 0; }
.storm-word { font-size: clamp(54px, 13.5vw, 230px); font-weight: 800; letter-spacing: .02em; line-height: 1; margin: 12px 0;
  background: linear-gradient(180deg, #ffffff 0%, #d5efff 45%, #7cc8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(124, 200, 255, .35)); transform: scale(var(--s, .8)) skewX(var(--k, 0deg)); opacity: var(--o, .25); will-change: transform; }
.storm-sub { color: var(--ink-2); font-size: 19px; max-width: 520px; margin: 0 auto; }

/* ── Герои ────────────────────────────────────── */
.friends { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.friend { margin: 0; padding: 22px; border-radius: var(--radius); background: linear-gradient(160deg, var(--glass-2), rgba(12, 20, 48, .7)); border: 1px solid var(--line); text-align: center; }
.stage { height: 170px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 16px;
  background: radial-gradient(60% 60% at 50% 70%, rgba(143, 211, 255, .22), transparent 70%); }
.stage img { max-height: 140px; width: auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.4)); }
.float { animation: bob 3.2s ease-in-out infinite; }
.float.d2 { animation-delay: -1s; }
.float.d3 { animation-delay: -2s; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-2deg); } }
.friend figcaption { color: var(--ink-2); font-size: 15px; }
.friend figcaption b { display: block; color: var(--ink); font: 700 19px var(--display); margin-bottom: 4px; }
.snowman-stage { position: relative; display: block; }
.sm { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%; background: url(/art/ball.png) center / cover; }
.sm.b3 { width: 84px; height: 84px; bottom: 12px; }
.sm.b2 { width: 62px; height: 62px; bottom: 84px; background-image: url(/art/snowman_buttons.png), url(/art/ball.png); }
.sm.b1 { width: 46px; height: 46px; bottom: 136px; background-image: url(/art/snowman_face.png), url(/art/ball.png); animation: bob 3.2s ease-in-out infinite; }

/* ── Цена ─────────────────────────────────────── */
#price { display: grid; place-items: center; }
.price-card { position: relative; width: min(520px, 100%); padding: 44px 40px; border-radius: 28px; text-align: center;
  background: radial-gradient(90% 60% at 50% 0%, rgba(124, 200, 255, .28), transparent 70%), linear-gradient(170deg, rgba(30, 48, 110, .8), rgba(10, 16, 42, .9));
  border: 1px solid rgba(143, 211, 255, .3); box-shadow: 0 30px 90px rgba(0,0,0,.5), 0 0 80px rgba(100, 160, 255, .2);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }
.glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.14), transparent 40%); }
.price { font: 800 clamp(56px, 9vw, 84px)/1 var(--display); margin-top: 6px; background: linear-gradient(180deg, #fff, #a9ddff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price small { font-size: 18px; color: var(--ink-2); -webkit-text-fill-color: var(--ink-2); font-family: var(--text); font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; text-align: left; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; }
.checks li::before { content: "❄"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(143,211,255,.16); color: var(--ice); font-size: 13px; }
.fine { color: var(--ink-3); font-size: 14px; margin: 16px 0 0; }

/* ── Вопросы ──────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: rgba(20, 32, 72, .5); border: 1px solid var(--line); padding: 0 22px; transition: background .2s; }
.faq details[open] { background: rgba(28, 44, 96, .55); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--ice); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--ink-2); }

/* ── Подвал ───────────────────────────────────── */
footer { position: relative; margin-top: 60px; padding: 60px 20px 140px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 18, 44, .6), rgba(5, 9, 24, .95)); }
.foot { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }
.foot p { margin: 12px 0 0; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* ── Пульт, счёт, подсказки ───────────────────── */
.remote { position: fixed; z-index: 35; right: 20px; bottom: 22px; display: flex; align-items: center; gap: 4px; padding: 6px;
  border-radius: 16px; background: rgba(10, 18, 44, .72); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45); }
.remote button { min-width: 40px; height: 38px; padding: 0 10px; border: 0; border-radius: 11px; background: transparent; color: var(--ink-2); font: 700 13px var(--text); cursor: pointer; transition: background .2s, color .2s; }
.remote button:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.remote button[aria-pressed="true"] { background: rgba(143, 211, 255, .2); color: var(--ice-2); }
.remote .sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.score { position: fixed; z-index: 35; right: 20px; top: 90px; padding: 8px 14px; border-radius: 12px; background: rgba(10, 18, 44, .72); border: 1px solid rgba(255, 211, 107, .4); font-weight: 800; color: var(--gold); backdrop-filter: blur(12px); }
.toast { position: fixed; z-index: 45; left: 50%; top: 92px; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 211, 107, .95), rgba(255, 150, 90, .95)); color: #2b1300; font-weight: 800; box-shadow: 0 14px 40px rgba(255, 160, 80, .35); transition: opacity .3s, transform .3s; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── Mac или Windows ──────────────────────────── */
html[data-os="mac"] .win-only, html[data-os="win"] .mac-only { display: none !important; }
.os-switch { display: flex; width: max-content; margin: 0 auto 22px; padding: 4px; gap: 4px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.os-switch button { border: 0; padding: 9px 20px; border-radius: 10px; background: transparent; color: var(--ink-2); font: 700 15px var(--text); cursor: pointer; transition: background .2s, color .2s; }
.os-switch button:hover { color: var(--ink); }
.os-switch button[aria-pressed="true"] { background: rgba(143, 211, 255, .2); color: var(--ice-2); }

/* Рабочий стол Windows 11: окна с кнопками справа, панель задач во всю ширину. */
html[data-os="win"] .desk {
  background:
    radial-gradient(38% 50% at 50% 58%, rgba(170, 220, 255, .85), rgba(70, 140, 255, .55) 45%, transparent 75%),
    radial-gradient(60% 50% at 80% 10%, rgba(120, 90, 255, .35), transparent 70%),
    linear-gradient(180deg, #0c2a74 0%, #1546a8 45%, #2f6fe0 75%, #8fb8ff 100%); }
html[data-os="win"] .win { border-radius: 8px; }
html[data-os="win"] .win-bar { height: 32px; padding: 0 0 0 12px; gap: 0; }
html[data-os="win"] .win-bar span { order: -1; margin: 0 auto 0 0; font-size: 12.5px; font-weight: 600; opacity: .8; }
html[data-os="win"] .win-bar i { width: 42px; height: 32px; border-radius: 0; background: transparent; display: grid; place-items: center; color: currentColor; opacity: .75; }
html[data-os="win"] .win-bar i:nth-child(1) { order: 3; border-top-right-radius: 8px; }
html[data-os="win"] .win-bar i:nth-child(2) { order: 1; }
html[data-os="win"] .win-bar i:nth-child(3) { order: 2; }
html[data-os="win"] .win-bar i::before { content: ""; display: block; }
html[data-os="win"] .win-bar i:nth-child(2)::before { width: 10px; height: 1px; background: currentColor; }
html[data-os="win"] .win-bar i:nth-child(3)::before { width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 2px; }
html[data-os="win"] .win-bar i:nth-child(1)::before { content: "✕"; font: 400 12px/1 system-ui, sans-serif; }
html[data-os="win"] .win-bar i:hover { background: rgba(127,127,127,.18); opacity: 1; }
html[data-os="win"] .win-bar i:nth-child(1):hover { background: #c42b1c; color: #fff; }
html[data-os="win"] .pic { border-radius: 0 0 8px 8px; }
html[data-os="win"] .dock { left: 0; right: 0; bottom: 0; transform: none; height: 46px; padding: 0 12px; gap: 4px; align-items: center; justify-content: center; border-radius: 0;
  background: rgba(24, 32, 64, .78); border: 0; border-top: 1px solid rgba(255,255,255,.14); }
html[data-os="win"] .dock > b { width: 38px; height: 38px; font-size: 21px; border-radius: 6px; background: transparent; box-shadow: none; transform: none !important; transition: background .15s; }
html[data-os="win"] .dock > b:hover { background: rgba(255,255,255,.1); }
.dock .start { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 38px; height: 38px; padding: 10px; border-radius: 6px; box-sizing: border-box; }
.dock .start u { background: linear-gradient(135deg, #7fd0ff, #2f8cff); border-radius: 1px; }
.dock .start:hover { background: rgba(255,255,255,.1); }
.dock .tray { position: absolute; right: 12px; top: 0; bottom: 0; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 12px; line-height: 1.25; }
.dock .tray em { font-style: normal; font-size: 16px; }
.dock .tray small { display: block; font-size: 11.5px; opacity: .85; }
.dock .tray > span { display: flex; flex-direction: column; align-items: flex-end; }
html[data-os="win"] .desk-tree { bottom: 46px; }
html[data-os="win"] .desk-tree.l { left: 14px; }
html[data-os="win"] .desk-tree.r { right: 14px; }
html[data-os="win"] .desk-tree.r2 { right: 52px; }
html[data-os="win"] .desk-floor { display: none; }

/* ── Покупка ──────────────────────────────────── */
.top-buy { margin-left: 4px; padding: 9px 16px; border-radius: 12px; text-decoration: none; font-weight: 800; font-size: 14px; color: #04122b;
  background: linear-gradient(180deg, #e4f5ff, #8fd3ff); box-shadow: 0 6px 20px rgba(111, 183, 255, .35); white-space: nowrap; transition: transform .2s; }
.top-buy:hover { transform: translateY(-1px); }
.price-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.price-actions .btn { margin: 0; }
.btn.gift-btn { color: #2b0a00; background: linear-gradient(180deg, #ffe7a3, #ffb44d); box-shadow: 0 10px 30px rgba(255, 170, 70, .35), inset 0 1px 0 rgba(255,255,255,.7); }
.btn.gift-btn:hover { box-shadow: 0 16px 40px rgba(255, 170, 70, .5), inset 0 1px 0 rgba(255,255,255,.8); }

/* ── Витрина игрушек ──────────────────────────── */
.toy-shelf { position: relative; width: min(1140px, 100%); margin: 0 auto; padding-top: 230px; }
.toy-rail { position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 107, .55) 8%, rgba(255, 211, 107, .55) 92%, transparent);
  box-shadow: 0 0 24px rgba(255, 211, 107, .25); }
.toy-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.toy-notes div { padding: 20px 22px; border-radius: 18px; background: linear-gradient(160deg, var(--glass-2), rgba(12, 20, 48, .7)); border: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; }
.toy-notes b { display: block; color: var(--ink); font: 700 17px var(--display); margin-bottom: 6px; }
.toy-hint { text-align: center; color: var(--ink-3); font-size: 14px; margin: 18px 0 0; }

/* ── Адаптив ──────────────────────────────────── */
@media (max-width: 980px) {
  .bento, .friends { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .top-buy { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 80px 16px; }
  .hero { padding: 120px 16px 170px; }
  .bento, .friends { grid-template-columns: 1fr; }
  .card.big, .card.wide { grid-column: auto; grid-row: auto; }
  .desk { aspect-ratio: 3 / 4; min-height: 0; border-radius: 18px; }
  .win { width: 78% !important; }
  .win.dark { left: 14% !important; top: 50% !important; height: 32% !important; }
  .win.w-notes { left: 6% !important; top: 12% !important; height: 36% !important; }
  .hide-sm { display: none !important; }
  .dock { gap: 5px; padding: 5px 6px; }
  .dock b { width: 34px; height: 34px; font-size: 18px; border-radius: 9px; }
  .dock > b:nth-of-type(n+6) { display: none; }
  html[data-os="win"] .dock { justify-content: flex-start; }
  html[data-os="win"] .dock > b { width: 32px; height: 32px; font-size: 17px; }
  .dock .tray small { display: none; }
  .toy-shelf { padding-top: 190px; }
  .toy-notes { grid-template-columns: 1fr; }
  .top-buy { padding: 8px 12px; font-size: 13px; }
  .desk-tree.l { left: calc(50% - 150px); width: 34px; }
  .desk-tree.r { right: calc(50% - 150px); width: 34px; }
  .desk-tree.r2 { display: none; }
  .fine-only { display: none; }
  .moon { width: 38px; height: 38px; right: 18px; top: 66px; }
  .remote { bottom: 14px; right: 50%; transform: translateX(50%); }
  .remote button { min-width: 34px; padding: 0 7px; }
  .top { top: 10px; }
  .price-card { padding: 34px 22px; }
}
@media (pointer: coarse) { .fine-only { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .aurora i, .float, .bar-eq i, .btn::after, .soon-pill b { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; filter: none; }
  .title .ch { animation: none; opacity: 1; transform: none; filter: none; }
}
