/* =========================================================
   NedoSpot — сайт. Чёрный минимализм, молочный и серебро,
   немного пастели. Шрифты Manrope (заголовки) и Inter (текст).
   ========================================================= */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../assets/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../assets/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../assets/fonts/inter-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  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 {
  color-scheme: dark;
  --bg: #050505;
  --bg-2: #0a0a0b;
  --ink: #f5f2ec;
  --ink-2: rgba(245, 242, 236, 0.72);
  --ink-3: rgba(245, 242, 236, 0.46);
  --ink-4: rgba(245, 242, 236, 0.22);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --milk: #f4efe6;
  --silver: #c3c8d2;
  --pink: #f3cad8;
  --lav: #d6cdf6;
  --peach: #f7d9c6;
  --sky: #cadff6;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --font-display: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: rgba(244, 239, 230, 0.9); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--milk); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--maxw), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Общие элементы ---------- */

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.lead {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 46ch;
}

/* Кнопки */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: var(--h);
  padding: 0 10px 0 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.6s var(--ease), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.6s var(--ease), color 0.4s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--milk);
  color: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 14px 44px -14px rgba(255, 250, 240, 0.45);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.95) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 1s var(--ease);
}
.btn-primary:hover {
  box-shadow: inset 0 0 0 1px #fff, 0 18px 60px -12px rgba(255, 250, 240, 0.6), 0 0 0 6px rgba(244, 239, 230, 0.08);
}
.btn-primary:hover::before { transform: translateX(120%); }

.btn-ghost {
  padding: 0 26px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}
.btn-ghost .chev { transition: transform 0.6s var(--ease); }
.btn-ghost:hover .chev { transform: translateY(3px); }

.btn .ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0a0a0a;
  color: var(--milk);
  overflow: hidden;
  flex: none;
}
.btn .ico svg { width: 16px; height: 16px; transition: transform 0.6s var(--ease); }
.btn .ico svg + svg { position: absolute; transform: translateY(-160%); }
.btn:hover .ico svg:first-child { transform: translateY(160%); }
.btn:hover .ico svg + svg { transform: translateY(0); }

.btn-lg { --h: 66px; font-size: 17px; padding-left: 32px; padding-right: 12px; }
.btn-lg .ico { width: 44px; height: 44px; }

/* ---------- Появление ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 1.1s var(--ease) var(--d, 0ms),
    transform 1.3s var(--ease) var(--d, 0ms),
    filter 1.1s var(--ease) var(--d, 0ms);
}
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.split .w > span {
  display: inline-block;
  transform: translate3d(0, 108%, 0) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1.25s var(--ease) calc(var(--i, 0) * 60ms + var(--d, 0ms));
}
.split.in .w > span { transform: none; }

/* ---------- Навигация ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 14px var(--gutter);
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1360px;
  margin-inline: auto;
  padding: 10px 10px 10px 16px;
  border-radius: 22px;
  border: 1px solid transparent;
  transition: max-width 0.9s var(--ease), background-color 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease;
}
.nav.scrolled .nav-inner {
  max-width: 980px;
  background: rgba(14, 14, 15, 0.55);
  border-color: var(--line);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
}
.js .nav { opacity: 0; transform: translateY(-14px); transition: opacity 1s var(--ease) 0.9s, transform 1.2s var(--ease) 0.9s; }
.js body.ready .nav { opacity: 1; transform: none; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.brand svg { width: 26px; height: 26px; transition: transform 0.8s var(--ease); }
.brand:hover svg { transform: rotate(90deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.3s ease, background-color 0.3s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--milk);
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.nav-links a.active::after { transform: scale(1); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--milk);
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: padding 0.6s var(--ease), box-shadow 0.6s var(--ease), transform 0.6s var(--ease);
}
.nav-cta svg {
  width: 15px;
  height: 15px;
  margin-right: -23px;
  opacity: 0;
  transform: translateY(-6px);
  transition: margin 0.6s var(--ease), opacity 0.4s ease, transform 0.6s var(--ease);
}
.nav-cta:hover {
  padding-right: 14px;
  box-shadow: 0 0 0 5px rgba(244, 239, 230, 0.1), 0 10px 30px -8px rgba(255, 250, 240, 0.5);
}
.nav-cta:hover svg { margin-right: 0; opacity: 1; transform: none; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  place-items: center;
}
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform 0.5s var(--ease); }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded='true'] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 100px var(--gutter) 40px;
  background: rgba(5, 5, 5, 0.94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(36px, 10vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s var(--ease) calc(var(--i) * 70ms), opacity 0.6s ease calc(var(--i) * 70ms);
}
.mobile-menu.open a { transform: none; opacity: 1; }

/* ---------- Главный экран ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas,
.install-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0;
  transition: opacity 2.4s var(--ease);
}
.ready .hero-canvas,
.install-canvas.on { opacity: 1; }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 34% at 50% 42%, rgba(5, 5, 5, 0.82) 0%, rgba(5, 5, 5, 0.5) 45%, transparent 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.85) 0%, transparent 18%, transparent 78%, var(--bg) 100%);
}
.hero-horizon {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 44%;
  height: 46%;
  z-index: -3;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 50% 60%, rgba(236, 232, 255, 0.07), transparent 70%);
}

.hero-inner {
  position: relative;
  text-align: center;
  padding: 120px var(--gutter) 140px;
  margin-top: -6vh;
  pointer-events: none;
}
.hero-inner a,
.hero-inner button { pointer-events: auto; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--milk);
  box-shadow: 0 0 12px 2px rgba(255, 250, 240, 0.6);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero-title {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(68px, 15.5vw, 236px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  white-space: nowrap;
  filter: drop-shadow(0 0 60px rgba(255, 252, 245, 0.14));
}
.hero-title .ch {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 0%, #f3eee5 42%, #aeb4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.01em 0.06em;
}
.js .hero-title .ch {
  opacity: 0;
  transform: translate3d(0, 0.35em, 0) rotate(6deg) scale(0.92);
  filter: blur(14px);
  transition:
    opacity 1.2s var(--ease) calc(0.15s + var(--i) * 70ms),
    transform 1.6s var(--ease) calc(0.15s + var(--i) * 70ms),
    filter 1.3s var(--ease) calc(0.15s + var(--i) * 70ms);
}
.js .ready .hero-title .ch { opacity: 1; transform: none; filter: none; }

.hero-slogan {
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-slogan em {
  font-style: normal;
  color: var(--ink-3);
}
.hero-desc {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}
.js .hero-fade {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity 1.2s var(--ease) var(--d), transform 1.4s var(--ease) var(--d), filter 1.2s var(--ease) var(--d);
}
.js .ready .hero-fade { opacity: 1; transform: none; filter: none; }

.hero-hint {
  position: absolute;
  left: var(--gutter);
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  pointer-events: none;
}
.hero-hint svg { width: 16px; height: 16px; opacity: 0.8; }
.hero-meta {
  position: absolute;
  right: var(--gutter);
  bottom: 30px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  pointer-events: none;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.3s ease;
}
.scroll-cue:hover { color: var(--ink); }
.scroll-cue .line {
  position: relative;
  width: 1px;
  height: 46px;
  background: var(--line-2);
  overflow: hidden;
}
.scroll-cue .line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--milk);
  animation: drip 2.2s var(--ease-io) infinite;
}
@keyframes drip {
  0% { top: -40%; }
  100% { top: 110%; }
}

/* ---------- Секции ---------- */

.section { position: relative; padding: clamp(110px, 14vw, 190px) 0; scroll-margin-top: 40px; }

.sec-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: end;
}
.sec-head .label { grid-column: 1 / -1; }
.sec-head .title { grid-column: 1 / span 8; }
.sec-head .lead { grid-column: 9 / span 4; justify-self: end; }

.section-glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1100px, 100%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}
.section-glow::after {
  content: '';
  position: absolute;
  left: 20%;
  right: 20%;
  top: 0;
  height: 160px;
  background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(240, 236, 255, 0.07), transparent 70%);
}

/* ---------- Возможности ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: clamp(56px, 7vw, 88px);
}
.feat {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  isolation: isolate;
}
.feat::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.06), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.feat::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.4), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.feat:hover::before,
.feat:hover::after { opacity: 1; }

.f-noads { grid-column: span 7; }
.f-ui { grid-column: span 5; }
.f-lib { grid-column: span 5; }
.f-lyrics { grid-column: span 7; }
.f-theme { grid-column: span 6; }
.f-rank { grid-column: span 6; }

.feat-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.feat h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.feat p {
  margin: 12px 0 0;
  max-width: 36ch;
  color: var(--ink-2);
  font-size: 15.5px;
}
.feat-vis { margin-top: auto; padding-top: 36px; }
.feat-note { margin-top: 14px !important; font-size: 12px !important; color: var(--ink-3) !important; }

/* 01 — без рекламы */
.noads-track {
  display: flex;
  align-items: center;
  height: 120px;
  gap: 3px;
}
.noads-track .bars { display: flex; align-items: center; gap: 3px; height: 100%; flex: 1; min-width: 0; overflow: hidden; }
.noads-track .bars.l { justify-content: flex-end; }
.noads-track .bars.r { justify-content: flex-start; }
.noads-track .b {
  flex: none;
  width: 3px;
  height: var(--h);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--milk), var(--silver));
  opacity: 0.85;
  animation: eq 1.3s ease-in-out infinite alternate;
  animation-delay: var(--dl);
  animation-play-state: paused;
}
.in .noads-track .b { animation-play-state: running; }
@keyframes eq {
  from { transform: scaleY(0.3); }
  to { transform: scaleY(1); }
}
.ad {
  flex: none;
  display: flex;
  justify-content: center;
  max-width: 220px;
  margin: 0 12px;
  overflow: hidden;
  transition: max-width 1s var(--ease), margin 1s var(--ease), opacity 0.5s ease;
}
.ad span {
  position: relative;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  font-size: 13px;
  color: var(--ink-3);
  transition: color 0.5s ease;
}
.ad span::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 1.5px;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(243, 202, 216, 0.8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.ad.strike span { color: var(--ink-4); }
.ad.strike span::after { transform: scaleX(1); }
.ad.gone { max-width: 0; margin: 0; opacity: 0; }

.noads-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.noads-meta .zero {
  font-family: var(--font-display);
  font-size: clamp(64px, 7vw, 104px);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #fff, #9aa0ab);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.noads-meta span { font-size: 14px; color: var(--ink-3); text-align: right; line-height: 1.4; }

/* 02 — интерфейс (схема окна) */
.wire {
  position: relative;
  display: grid;
  grid-template-columns: 24% 1fr;
  grid-template-rows: 16px 1fr 34px;
  gap: 8px;
  aspect-ratio: 16 / 10.5;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.015);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.wire .part {
  position: relative;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: 0s, 0s, calc(var(--i) * 90ms + 200ms), calc(var(--i) * 90ms + 200ms);
}
.js .f-ui:not(.in) .wire .part { opacity: 0; transform: scale(0.9); }
.wire .part::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--milk);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
  pointer-events: none;
}
.wire .part.hl,
.wire .part:hover { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.wire .part.hl::after,
.wire .part:hover::after { opacity: 1; transform: translate(-50%, -50%); }
.wire .p-top { grid-column: 1 / -1; border-radius: 6px; }
.wire .p-side { grid-row: 2; }
.wire .p-main { grid-row: 2; grid-column: 2; display: grid; grid-template-rows: 1fr 1.1fr; gap: 8px; background: none; box-shadow: none; }
.wire .p-main .sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wire .p-player { grid-column: 1 / -1; border-radius: 12px; }
.wire .p-side::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 30%;
  top: 14%;
  height: 50%;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0 3px, transparent 3px 14px);
  border-radius: 2px;
}

/* 03 — библиотека */
.stack {
  position: relative;
  height: 230px;
  perspective: 900px;
}
.pl {
  --x: 0px;
  --r: 0deg;
  position: absolute;
  left: 50%;
  top: 6px;
  width: 168px;
  aspect-ratio: 1;
  margin-left: -84px;
  border-radius: 20px;
  overflow: hidden;
  transform: translateX(var(--x)) rotate(var(--r));
  transition: transform 0.9s var(--ease), box-shadow 0.9s var(--ease);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.pl .art { position: absolute; inset: 0; }
.pl .name {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0b0b0b;
  line-height: 1.2;
}
.pl .name small { display: block; font-weight: 500; opacity: 0.6; font-size: 11px; }
.pl-1 { --x: -26px; --r: -8deg; z-index: 1; }
.pl-2 { --x: 0px; --r: 0deg; z-index: 3; }
.pl-3 { --x: 26px; --r: 8deg; z-index: 2; }
.f-lib:hover .pl-1 { --x: -132px; --r: -10deg; }
.f-lib:hover .pl-2 { transform: translateY(-10px); }
.f-lib:hover .pl-3 { --x: 132px; --r: 10deg; }
.art-a { background: radial-gradient(at 20% 15%, #fff 0, transparent 45%), radial-gradient(at 85% 30%, var(--pink), transparent 55%), radial-gradient(at 30% 95%, var(--lav), transparent 60%), #e9e3f2; }
.art-b { background: radial-gradient(at 75% 20%, var(--sky), transparent 55%), radial-gradient(at 15% 80%, #fff, transparent 50%), radial-gradient(at 90% 95%, var(--lav), transparent 60%), #d9dee8; }
.art-c { background: radial-gradient(at 25% 25%, var(--peach), transparent 55%), radial-gradient(at 80% 70%, var(--pink), transparent 60%), radial-gradient(at 50% 50%, #fff, transparent 70%), #efe2d9; }

.like {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.like:hover { background: rgba(255, 255, 255, 0.06); }
.like svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.like .fill { opacity: 0; transition: opacity 0.3s ease; fill: var(--pink); }
.like[aria-pressed='true'] .fill { opacity: 1; }
.like[aria-pressed='true'] svg { animation: pop 0.6s var(--ease); }
.like[aria-pressed='true'] { box-shadow: inset 0 0 0 1px rgba(243, 202, 216, 0.5); }
@keyframes pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.lib-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lib-row small { color: var(--ink-3); font-size: 12px; }

/* 04 — тексты песен */
.f-lyrics { overflow: hidden; }
.f-lyrics .bg-blobs {
  position: absolute;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(30% 35% at 70% 60%, rgba(214, 205, 246, 0.16), transparent 70%),
    radial-gradient(25% 30% at 30% 80%, rgba(243, 202, 216, 0.12), transparent 70%),
    radial-gradient(25% 25% at 85% 20%, rgba(202, 223, 246, 0.1), transparent 70%);
  filter: blur(20px);
  animation: blobs 18s ease-in-out infinite alternate;
}
@keyframes blobs {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(-4%, 3%, 0) rotate(8deg); }
}
.lyr {
  position: relative;
  height: 250px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 70%, transparent 100%);
}
.lyr-list { transition: transform 1s var(--ease); will-change: transform; }
.lyr-line {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  padding: 7px 0;
  color: rgba(245, 242, 236, 0.2);
  filter: blur(1.4px);
  transform-origin: left center;
  transition: color 0.7s ease, filter 0.7s ease, transform 0.9s var(--ease);
}
.lyr-line.cur { filter: none; transform: scale(1.02); color: rgba(245, 242, 236, 0.4); }
.lyr-line.done { color: rgba(245, 242, 236, 0.3); filter: blur(0.6px); }
.lyr-line .wd { transition: color 0.4s ease, text-shadow 0.6s ease; }
.lyr-line .wd.lit { color: #fff; text-shadow: 0 0 28px rgba(255, 255, 255, 0.35); }

/* 05 — персонализация */
.theme-vis { display: grid; gap: 18px; }
.mini {
  --t-bg: linear-gradient(135deg, #1b1b1f, #0e0e10);
  --t-card: rgba(255, 255, 255, 0.06);
  --t-line: rgba(255, 255, 255, 0.12);
  --t-acc: #f4efe6;
  --t-acc2: #c3c8d2;
  --t-text: rgba(255, 255, 255, 0.85);
  position: relative;
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 8px;
  aspect-ratio: 16 / 8.6;
  padding: 10px;
  border-radius: 16px;
  background: var(--t-bg);
  box-shadow: inset 0 0 0 1px var(--t-line), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  transition: box-shadow 0.6s ease;
  overflow: hidden;
}
.mini::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--t-bg);
  transition: opacity 0.6s ease;
}
.mini > * { position: relative; }
.mini .cover {
  border-radius: 10px;
  background: linear-gradient(135deg, var(--t-acc), var(--t-acc2));
  transition: background 0.6s ease;
}
.mini .col { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; }
.mini .ln { height: 8px; border-radius: 4px; background: var(--t-text); opacity: 0.85; transition: background-color 0.6s ease; }
.mini .ln.s { width: 40%; opacity: 0.4; margin-top: 6px; }
.mini .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini .cards i { border-radius: 8px; background: var(--t-card); box-shadow: inset 0 0 0 1px var(--t-line); transition: background-color 0.6s ease, box-shadow 0.6s ease; }
.mini .bar { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 9px; background: var(--t-card); box-shadow: inset 0 0 0 1px var(--t-line); transition: background-color 0.6s ease; }
.mini .play { width: 18px; height: 18px; border-radius: 50%; background: var(--t-acc); transition: background-color 0.6s ease; flex: none; }
.mini .prog { flex: 1; height: 3px; border-radius: 2px; background: var(--t-line); overflow: hidden; }
.mini .prog::after { content: ''; display: block; width: 42%; height: 100%; background: var(--t-acc); transition: background-color 0.6s ease; }
.mini.paper { --t-text: #1f1b16; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.chip i { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.chip:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.chip[aria-pressed='true'] { color: #0a0a0a; background: var(--milk); box-shadow: none; }

/* 06 — игра */
.rank-vis {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 28px;
}
.badge {
  position: relative;
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.badge::before {
  content: '';
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rk-glow, rgba(255, 255, 255, 0.25)), transparent 65%);
  transition: background 0.8s ease;
}
.badge svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.badge .hex { transition: fill 0.8s ease; }
.badge.up { animation: rankup 1.1s var(--ease); }
@keyframes rankup {
  0% { transform: scale(1); }
  30% { transform: scale(1.14) rotate(-6deg); }
  100% { transform: scale(1) rotate(0); }
}
.rank-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.rank-name small { display: block; margin-bottom: 8px; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.xp { margin-top: 18px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.xp i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lav), var(--pink), var(--peach));
  box-shadow: 0 0 16px rgba(243, 202, 216, 0.6);
  transition: width 1.2s var(--ease);
}
.xp-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.toast-zone { position: relative; height: 38px; margin-top: 18px; }
.xp-toast {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  animation: toast 2.6s var(--ease) forwards;
  white-space: nowrap;
}
.xp-toast b { color: var(--ink); font-weight: 700; }
@keyframes toast {
  0% { opacity: 0; transform: translateY(12px); }
  15% { opacity: 1; transform: none; }
  80% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-10px); }
}
.ladder { display: flex; gap: 6px; margin-top: 26px; }
.ladder i {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.6s ease, box-shadow 0.6s ease;
}
.ladder i.on { background: var(--milk); box-shadow: 0 0 10px rgba(255, 250, 240, 0.5); }
.ladder-names { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; color: var(--ink-3); }

/* ---------- Интерфейс ---------- */

.showcase { overflow: hidden; }
.showcase .sec-head { text-align: left; }

.tabs {
  position: relative;
  display: flex;
  gap: 2px;
  width: max-content;
  max-width: 100%;
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-ind {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--milk);
  transition: transform 0.7s var(--ease), width 0.7s var(--ease);
}
.tab {
  position: relative;
  z-index: 1;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.4s ease;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected='true'] { color: #0a0a0a; }

.stage {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  perspective: 2000px;
  perspective-origin: 50% 0%;
}
.stage-glow {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 80%;
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(235, 230, 255, 0.12), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.win-main {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0deg;
  position: relative;
  display: block;
  width: min(1100px, 100%);
  margin-inline: auto;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: #0b0b0b;
  transform: rotateX(calc(var(--rx) + var(--lift))) rotateY(var(--ry));
  transform-origin: 50% 0%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 70px 140px -40px rgba(0, 0, 0, 0.95),
    0 0 120px -30px rgba(255, 250, 240, 0.16);
  transition: height 0.9s var(--ease), box-shadow 0.6s ease;
  will-change: transform;
}
.win-main:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 70px 140px -40px rgba(0, 0, 0, 0.95),
    0 0 140px -20px rgba(255, 250, 240, 0.22);
}
.win-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(1.03);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease), transform 1.2s var(--ease), filter 0.9s var(--ease);
}
.win-main img.on { opacity: 1; transform: none; filter: none; }
.win-main:hover img.on { transform: scale(1.012); }
.zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #0a0a0a;
  background: rgba(244, 239, 230, 0.92);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.6s var(--ease);
}
.zoom-hint svg { width: 15px; height: 15px; }
.win-main:hover .zoom-hint,
.win-main:focus-visible .zoom-hint { opacity: 1; transform: none; }

.win-back {
  position: absolute;
  top: 9%;
  width: 44%;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.3;
  filter: blur(1.5px) brightness(0.7);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.win-back img { width: 100%; height: auto; transition: opacity 0.6s ease; }
.win-back.l { left: -6%; transform: translate3d(0, var(--py, 0px), -240px) rotateY(16deg); }
.win-back.r { right: -6%; transform: translate3d(0, calc(var(--py, 0px) * -0.6), -240px) rotateY(-16deg); }

.view-caption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 8px 28px;
  width: min(1100px, 100%);
  margin: 34px auto 0;
}
.view-caption .num { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.view-caption h3 { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.view-caption p { grid-column: 2; margin: 0; color: var(--ink-2); max-width: 60ch; }
.view-caption .fade { transition: opacity 0.4s ease, transform 0.6s var(--ease); }
.view-caption.swap .fade { opacity: 0; transform: translateY(6px); }
.view-ctrl { grid-row: 1 / span 2; grid-column: 3; display: flex; gap: 8px; align-self: center; }
.round-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.5s var(--ease);
}
.round-btn:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.round-btn:active { transform: scale(0.94); }
.round-btn svg { width: 18px; height: 18px; }
.shots-note { margin: 22px auto 0; width: min(1100px, 100%); font-size: 12px; color: var(--ink-3); }

/* Бегущая строка */
.marquee {
  position: relative;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mq-track {
  display: flex;
  width: max-content;
  animation: mq 46s linear infinite;
}
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-group { display: flex; align-items: center; flex: none; }
.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-2);
  white-space: nowrap;
}
.mq-item svg { width: 20px; height: 20px; color: var(--silver); opacity: 0.7; }
@keyframes mq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Манифест ---------- */

.manifesto .mega {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(50px, 10vw, 158px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}
.manifesto .mega .soft { color: var(--ink-3); }
.manifesto-text {
  margin: clamp(48px, 7vw, 96px) 0 0 auto;
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 50px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.manifesto-text .mw { color: rgba(245, 242, 236, 0.14); transition: color 0.5s ease; }
.manifesto-text .mw.on { color: var(--ink); }
.no-js .manifesto-text .mw { color: var(--ink); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--line);
}
.stat { padding-top: 28px; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(56px, 6.6vw, 104px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #9aa0ab);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { display: block; margin-top: 14px; font-size: 14px; color: var(--ink-3); max-width: 18ch; }

/* ---------- Установка ---------- */

.install {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 0;
}
.install-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(5, 5, 5, 0.4) 30%, transparent 55%),
    radial-gradient(ellipse 44% 30% at 50% 44%, rgba(5, 5, 5, 0.8), transparent 100%);
}
.install-inner {
  text-align: center;
  padding: 140px var(--gutter) 180px;
  margin-top: -8vh;
  pointer-events: none;
}
.install-inner a { pointer-events: auto; }
.install h2 {
  margin: 28px auto 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(44px, 7.4vw, 116px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.install .sub { margin: 24px auto 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.install .cta-row { margin-top: 44px; }
.platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-3);
}
.platform svg { width: 15px; height: 15px; }
.platform a { text-decoration: underline; text-decoration-color: var(--ink-4); text-underline-offset: 3px; transition: color 0.3s ease, text-decoration-color 0.3s ease; }
.platform a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- Подвал ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 40px;
}
.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-3);
}
.footer .brand { color: var(--ink); font-size: 16px; }
.footer .brand svg { width: 22px; height: 22px; }
.footer nav { display: flex; gap: 22px; }
.footer a:hover { color: var(--ink); }

/* ---------- Просмотр скриншота ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 70px 24px 24px;
  background: rgba(3, 3, 3, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.lb-frame {
  position: relative;
  max-width: min(1600px, 96vw);
  max-height: calc(100vh - 160px);
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 120px -20px rgba(0, 0, 0, 1);
  transform: scale(0.96);
  transition: transform 0.7s var(--ease);
  cursor: zoom-in;
}
.lightbox.open .lb-frame { transform: none; }
.lb-frame img {
  max-width: min(1600px, 96vw);
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  transition: transform 0.6s var(--ease);
  transform-origin: var(--ox, 50%) var(--oy, 50%);
}
.lb-frame.zoomed { cursor: zoom-out; }
.lb-frame.zoomed img { transform: scale(2); transition: transform 0.6s var(--ease), transform-origin 0.1s linear; }
.lb-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.lb-close { position: absolute; top: 18px; right: 18px; }
.lb-hint { font-size: 12px; color: var(--ink-3); }

/* ---------- Адаптивность ---------- */

@media (max-width: 1080px) {
  .f-noads,
  .f-lyrics { grid-column: span 12; }
  .f-ui,
  .f-lib,
  .f-theme,
  .f-rank { grid-column: span 6; }
  .sec-head .title { grid-column: 1 / -1; }
  .sec-head .lead { grid-column: 1 / -1; justify-self: start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav-inner { padding: 8px 8px 8px 14px; }
  .nav.scrolled .nav-inner { max-width: 100%; }
  .win-back { display: none; }
  .view-caption { grid-template-columns: auto 1fr; }
  .view-caption .view-ctrl { grid-row: auto; grid-column: 1 / -1; }
  .hero-meta { display: none; }
  .hero-hint { left: 50%; transform: translateX(-50%); bottom: 96px; white-space: nowrap; }
}

@media (max-width: 720px) {
  .f-ui,
  .f-lib,
  .f-theme,
  .f-rank { grid-column: span 12; }
  .feat { min-height: 0; }
  .rank-vis { grid-template-columns: 96px 1fr; gap: 20px; }
  .badge { width: 96px; }
  .f-lib:hover .pl-1 { --x: -96px; }
  .f-lib:hover .pl-3 { --x: 96px; }
  .pl { width: 140px; margin-left: -70px; }
  .stack { height: 190px; }
  .ladder-names span:not(:first-child):not(:last-child) { display: none; }
}

@media (max-width: 560px) {
  .hero-inner { padding-top: 110px; padding-bottom: 150px; margin-top: 0; }
  .hero-title { letter-spacing: -0.055em; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
  .hero-actions .btn { justify-content: space-between; }
  .hero-actions .btn-ghost { justify-content: center; }
  .nav-cta { height: 38px; padding: 0 14px; }
  .noads-track { height: 90px; }
  .ad { max-width: 150px; margin: 0 6px; }
  .ad span { font-size: 12px; padding: 8px 12px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .btn-lg { --h: 60px; font-size: 16px; }
  .view-caption { grid-template-columns: 1fr; }
  .view-caption p { grid-column: 1; }
  .view-caption .num { display: none; }
  .tabs { margin-left: 0; margin-right: 0; }
  .lightbox { padding: 60px 8px 16px; }
  .lb-hint { display: none; }
}

@media (hover: none) {
  .feat::before,
  .feat::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; filter: none; transition: opacity 0.6s ease; }
  .split .w > span { transform: none; }
  .js .hero-title .ch,
  .js .hero-fade { transform: none; filter: none; transition: opacity 0.8s ease; }
  .mq-track,
  .noads-track .b,
  .f-lyrics .bg-blobs,
  .scroll-cue .line::after,
  .hero-eyebrow .dot { animation: none; }
  .win-main img { transition: opacity 0.4s ease; transform: none; filter: none; }
}
