/* ============================================================
   QILAS — стили
   ============================================================ */
:root {
  --bg: #04040a;
  --ink: #eeedf6;
  --ink-2: rgba(238, 237, 246, .66);
  --ink-3: rgba(238, 237, 246, .38);
  --line: rgba(238, 237, 246, .12);
  --line-2: rgba(238, 237, 246, .22);

  --star: #ffb871;      /* звёздный оранжевый */
  --star-hot: #fff1d6;
  --ion: #8fb6ff;       /* ионизированный голубой */
  --plasma: #c78bff;
  --g1: #ff4fb0;        /* Qilas Games — неон */
  --g2: #4ff0ff;

  /* латиница и кириллица — из основных шрифтов, иероглифы — из Noto Sans SC или системных китайских */
  --f-display: "Unbounded", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --f-body: "Manrope", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scrollbar-width: none;            /* Firefox */
  -ms-overflow-style: none;         /* старый Edge */
  overscroll-behavior-y: none;      /* без «резинки» и pull-to-refresh: прокруткой управляет сайт */
}
html::-webkit-scrollbar { display: none; width: 0; height: 0; }   /* Chrome, Edge, Safari, Opera */
body { overscroll-behavior-y: none; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-anchor: none;   /* браузер не должен сам подкручивать страницу — прокруткой управляет сайт */
  -webkit-font-smoothing: antialiased;
}
/* мобильные браузеры расширяют страницу по самому широкому элементу (орбиты, свечения), даже при overflow-x у body;
   clip обрезает, не создавая области прокрутки, поэтому sticky-элементы продолжают работать */
main { overflow-x: clip; }
body.is-loading { overflow: hidden; }
::selection { background: var(--star); color: #000; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.dim { color: var(--ink-3); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- окружение ---------- */
#cosmos {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255, 140, 70, .10), transparent 40%),
    radial-gradient(ellipse at 70% 30%, rgba(120, 80, 220, .10), transparent 50%),
    var(--bg);
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, .65) 100%);
}
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
main, .footer { position: relative; z-index: 2; }

/* ---------- курсор ---------- */
.cursor { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.cursor__dot, .cursor__ring {
  position: fixed; left: 0; top: 0; border-radius: 50%;
  transform: translate3d(-100px, -100px, 0);
}
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--star-hot); box-shadow: 0 0 12px var(--star); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(255, 220, 180, .45);
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(255, 220, 180, .9); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--star-hot); border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body, a, button { cursor: none; } }

/* ---------- логотип ---------- */
:root { --brand-red: #c92335; --brand-light: #e8e5df; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ql-red { fill: var(--brand-red); }
.ql-light { fill: var(--brand-light); }

/* ---------- прелоадер ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  transition: opacity 1.2s var(--ease), visibility 1.2s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__meta {
  position: absolute; left: 50%; bottom: max(11vh, 60px); transform: translateX(-50%);
  width: min(360px, calc(100vw - 48px)); display: grid; gap: 14px;
}
.loader__bar { height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--brand-light); transform: scaleX(0); transform-origin: 0 50%; }
.loader__row { display: flex; justify-content: space-between; gap: 16px; font-size: 11px; color: var(--ink-2); }
.loader__num { color: var(--ink); font-variant-numeric: tabular-nums; }
/* знак живёт поверх прелоадера: после загрузки он перелетает на место логотипа в шапке */
.intro { position: fixed; inset: 0; z-index: 101; display: grid; place-items: center; pointer-events: none; }
.intro__logo { position: relative; width: min(520px, 72vw); aspect-ratio: 1492 / 355; transform-origin: 0 0; margin-top: -4vh; }
.intro__logo.is-flying { transition: transform 1.1s cubic-bezier(.65, 0, .2, 1); }
.intro__logo svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
/* Раскладка в долях плотной рамки знака (1492 × 355): кольцо — квадрат 376 × 377 вокруг центра (520; 360,5).
   Скорость — как «быстро» в исходной анимации ×1,2: сборка 0,06–1,3 с, отъезд 1,33–1,87 с. */
.intro { --il-e: cubic-bezier(.65, 0, .35, 1); }
.il-slide { position: absolute; inset: 0; animation: il-slide .434s var(--il-e) 1.433s both; }
.il-icon { position: absolute; left: -.5362%; top: -3.0986%; width: 25.2011%; height: 106.1972%; animation: il-retreat .225s var(--il-e) 1.333s both; }
.il-ring { position: absolute; inset: 0; animation: il-ring .54s var(--il-e) .06s both; }
.il-ticks { animation: il-fade .282s var(--il-e) .108s both; }
.il-trace { stroke-dasharray: 1 1; stroke-dashoffset: 0; animation: il-trace .9s var(--il-e) both; }
.il-trace:nth-child(1) { animation-delay: .12s; }
.il-trace:nth-child(2) { animation-delay: .21s; }
.il-trace:nth-child(3) { animation-delay: .3s; }
/* надпись выезжает из-за кольца: окно с мягким краем едет вместе со знаком, надпись — навстречу */
.il-clip {
  position: absolute; top: 0; left: 24.665%; width: 100%; height: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%); mask-image: linear-gradient(90deg, transparent, #000 2.5%);
  animation: il-slide .434s var(--il-e) 1.433s both;
}
.il-word { position: absolute; top: 0; left: -24.665%; width: 100%; height: 100%; animation: il-word .434s var(--il-e) 1.433s both; }
@keyframes il-slide { from { transform: translateX(37.936%); } }
@keyframes il-word { from { transform: translateX(-78.15%); } }
@keyframes il-retreat { from { transform: scale(1.65); } }
@keyframes il-ring { from { opacity: 0; transform: scale(.9); } }
@keyframes il-fade { from { opacity: 0; } }
@keyframes il-trace { 0% { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .intro__logo * { animation: none !important; } }
.intro.is-gone { opacity: 0; transition: opacity .6s; }

/* ---------- навигация ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  transition: transform .6s var(--ease), background .4s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(4, 4, 10, .8), transparent);
  pointer-events: none;
}
.nav__logo { display: flex; align-items: center; }
.nav__lockup { display: block; height: 30px; width: auto; aspect-ratio: 1492 / 355; opacity: 0; }
body.logo-landed .nav__lockup { opacity: 1; }
.nav__links { display: flex; gap: clamp(18px, 3vw, 44px); }
.nav__links a {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); position: relative; padding: 6px 0; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--star);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__status {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 100px; font-size: 11px;
  background: rgba(4, 4, 10, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--star); display: inline-block; flex: none;
  box-shadow: 0 0 0 0 rgba(255, 184, 113, .7); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 184, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 184, 113, 0); } }
.nav__burger { display: none; background: none; border: 0; padding: 10px; color: var(--ink); }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .4s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 49; background: rgba(4, 4, 10, .94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu a { font-family: var(--f-display); font-weight: 300; font-size: 34px; letter-spacing: -.01em; }

/* ---------- общие ---------- */
section { position: relative; padding: clamp(100px, 16vh, 180px) var(--gutter); }
.label { display: flex; align-items: center; gap: 14px; color: var(--ink-2); margin-bottom: 28px; }
.label span { color: var(--star); }
.label b, .tag b, .epoch__meta b { font-weight: inherit; }
.label::after { content: ""; height: 1px; width: 60px; background: var(--line-2); }
.h2 {
  font-family: var(--f-display); font-weight: 300; letter-spacing: -.03em; line-height: 1.02;
  font-size: clamp(40px, 7vw, 104px); margin: 0 0 28px;
}
.h2 em, .now__title em, .contact__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--star-hot), var(--star) 40%, var(--plasma) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 560px; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); }
.lead b { color: var(--ink); font-weight: 600; }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- HERO ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding-top: 120px; padding-bottom: 120px; }
.hero__center { text-align: center; position: relative; z-index: 2; }
.hero__eyebrow { color: var(--ink-2); margin-bottom: 22px; }
/* буквы — контуры фирменной надписи из логотипа; расстояния между ними тоже как в логотипе */
.hero__title {
  margin: 0; line-height: 0;
  font-size: clamp(80px, 20vw, 300px);
  display: flex; justify-content: center; perspective: 800px;
}
.hero__title svg { display: block; height: .7em; width: auto; overflow: visible; fill: url(#ql-hero-grad); }
.hero__title span {
  display: inline-block;
  filter: drop-shadow(0 0 30px rgba(255, 170, 90, .25));
  opacity: 0; transform: translateY(60%) rotateX(-70deg);
  transition: opacity 1.6s var(--ease), transform 1.6s var(--ease);
  will-change: transform;
}
body.is-ready .hero__title span { opacity: 1; transform: none; }
body.is-ready .hero__title span:nth-child(2) { transition-delay: .08s; }
body.is-ready .hero__title span:nth-child(3) { transition-delay: .16s; }
body.is-ready .hero__title span:nth-child(4) { transition-delay: .24s; }
body.is-ready .hero__title span:nth-child(5) { transition-delay: .32s; }
.hero__sub { margin: 26px auto 0; color: var(--ink-2); font-size: clamp(16px, 1.6vw, 21px); line-height: 1.5; transition-delay: .5s; }

.hud { position: absolute; z-index: 3; display: grid; gap: 6px; font-size: 11px; }
.hud--tl { top: 100px; left: var(--gutter); }
.hud--tr { top: 100px; right: var(--gutter); text-align: right; }
.hud--bl { bottom: 40px; left: var(--gutter); }
.hud::before {
  content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--line-2);
  top: -14px; left: -14px; border-right: 0; border-bottom: 0;
}
.hud--tr::before { left: auto; right: -14px; border-right: 1px solid var(--line-2); border-left: 0; }
.hud--bl::before { top: auto; bottom: -14px; border-top: 0; border-bottom: 1px solid var(--line-2); }
.hero__scroll {
  position: absolute; bottom: 40px; right: var(--gutter); z-index: 3;
  display: flex; align-items: center; gap: 16px; font-size: 11px; color: var(--ink-2);
}
.hero__scroll i { width: 1px; height: 56px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; width: 1px; height: 40%; background: var(--star); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { top: -40%; } 100% { top: 100%; } }

/* ---------- МАНИФЕСТ ---------- */
.manifesto { min-height: 140vh; display: flex; flex-direction: column; justify-content: center; }
.manifesto__text {
  font-family: var(--f-display); font-weight: 300; letter-spacing: -.02em; line-height: 1.22;
  font-size: clamp(24px, 3.3vw, 52px); max-width: 1200px; margin: 0;
}
.manifesto__text .w { display: inline-block; color: rgba(238, 237, 246, .1); filter: blur(6px); transform: translateY(.25em); transition: color .35s, text-shadow .35s, filter .45s var(--ease), transform .45s var(--ease); }
.manifesto__text .w.lit { color: var(--ink); filter: none; transform: none; }
.manifesto__text .w.hot { color: var(--star-hot); text-shadow: 0 0 24px rgba(255, 170, 90, .5); }

/* ---------- ЭПОХИ ---------- */
.epochs { padding-bottom: 0; }
.epochs__head { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }
.epoch {
  min-height: 115vh; display: flex; align-items: center; position: relative;
  padding: 10vh 0;
}
.epoch:nth-child(even) { justify-content: flex-end; }
.epoch__num {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-family: var(--f-display); font-weight: 800; line-height: .8;
  font-size: clamp(160px, 34vw, 520px); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(238, 237, 246, .07);
  left: -1vw; pointer-events: none; user-select: none;
}
.epoch:nth-child(even) .epoch__num { left: auto; right: -1vw; }
.epoch__body { position: relative; max-width: 560px; width: 100%; }
.epoch:nth-child(even) .epoch__body { margin-right: 56px; } /* место под навигатор справа */
.epoch__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.epoch__meta .st { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); }
.epoch.is-now .epoch__meta .st { color: var(--star); }
.epoch.is-past .epoch__meta .st { color: var(--ion); }
.epoch__name {
  font-family: var(--f-display); font-weight: 400; margin: 0; line-height: 1;
  font-size: clamp(42px, 6.2vw, 92px); letter-spacing: -.03em;
}
.epoch__ru { font-family: var(--f-display); font-weight: 200; color: var(--ink-2); font-size: clamp(18px, 2vw, 26px); margin: 12px 0 26px; }
.epoch__desc { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); margin: 0 0 30px; }
.epoch__fact {
  position: relative; padding: 18px 20px 18px 22px; border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 14px; color: var(--ink-2);
}
.epoch__fact::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 2px; background: var(--star); }
.epoch__fact .mono { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 10px; margin-bottom: 8px; }
.epoch.is-now .epoch__name { text-shadow: 0 0 40px rgba(255, 170, 90, .35); }
.epoch__here {
  display: none; margin-top: 22px; align-items: center; gap: 12px; color: var(--star);
}
.epoch.is-now .epoch__here { display: inline-flex; }
.epoch__here::before { content: ""; width: 34px; height: 1px; background: currentColor; }

/* ---------- навигатор: собственная полоса прокрутки ---------- */
.navi {
  position: fixed; z-index: 45; right: 10px; top: 96px; bottom: 36px; width: 26px;
  opacity: 0; transition: opacity .8s var(--ease);
}
body.is-ready .navi { opacity: 1; }
.navi__track { position: absolute; inset: 0; cursor: pointer; touch-action: none; }
.navi__track::before {   /* сама «орбита» */
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--line-2) 6%, var(--line-2) 94%, transparent);
}
.navi__fill {
  position: absolute; left: 50%; top: 0; width: 1px; height: 100%;
  transform: translateX(-50%) scaleY(0); transform-origin: 50% 0;   /* растёт масштабом, без пересчёта вёрстки */
  background: linear-gradient(to bottom, transparent, rgba(255, 184, 113, .55));
  pointer-events: none;
}
.navi__thumb {
  position: absolute; left: 50%; top: 0; width: 3px; margin-left: -1.5px; border-radius: 3px;
  background: linear-gradient(to bottom, var(--star-hot), var(--star));
  box-shadow: 0 0 10px rgba(255, 184, 113, .8), 0 0 24px rgba(255, 140, 70, .35);
  transition: width .3s var(--ease), margin .3s var(--ease);
  pointer-events: none; will-change: transform;
}
.navi:hover .navi__thumb, .navi.is-drag .navi__thumb { width: 5px; margin-left: -2.5px; }
.navi__marks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.navi__marks li { position: absolute; left: 0; right: 0; height: 0; }
.navi__marks button {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  width: 22px; height: 14px; padding: 0; border: 0; background: none; color: inherit;
  display: grid; place-items: center; pointer-events: auto; font: inherit;
}
.navi__marks i { display: block; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ink-3); background: var(--bg); transition: transform .3s var(--ease), background .3s, border-color .3s; }
.navi__marks .is-minor i { width: 5px; height: 1px; border: 0; border-radius: 0; background: var(--ink-3); }
.navi__marks .is-active i { border-color: var(--star); background: var(--star); box-shadow: 0 0 8px var(--star); }
.navi__marks .is-minor.is-active i { width: 9px; }
.navi__marks button:hover i, .navi__marks button:focus-visible i { transform: scale(1.5); border-color: var(--ink); }
.navi__marks span, .navi__now {
  position: absolute; right: 26px; white-space: nowrap; pointer-events: none;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 100px; border: 1px solid var(--line);
  background: rgba(4, 4, 10, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.navi__marks span { top: 50%; transform: translate(6px, -50%); opacity: 0; color: var(--ink); transition: opacity .25s, transform .25s var(--ease); }
.navi:hover .navi__marks .is-major span { opacity: .55; transform: translate(0, -50%); }
.navi__marks button:hover span, .navi__marks button:focus-visible span { opacity: 1 !important; transform: translate(0, -50%); }
.navi:hover .navi__now { opacity: 0; }
.navi__now { top: 0; color: var(--star-hot); opacity: 0; transition: opacity .4s; }
.navi.is-moving .navi__now, .navi.is-drag .navi__now { opacity: 1; }

/* переключатель языка */
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 100px; background: rgba(4, 4, 10, .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lang button {
  font: inherit; font-size: 11px; letter-spacing: .14em; color: var(--ink-3); background: none; border: 0;
  padding: 4px 9px; border-radius: 100px; transition: color .3s, background .3s;
}
.lang button:hover { color: var(--ink); }
.lang button.is-on { color: #050208; background: var(--ink); }
.lang--menu { align-self: flex-start; margin-top: 28px; }
.lang--menu button { font-size: 13px; padding: 7px 14px; }

/* ---------- НАСТОЯЩЕЕ ---------- */
.now { min-height: 120vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.now .label { justify-content: center; }
.now__title { font-family: var(--f-display); font-weight: 300; letter-spacing: -.03em; line-height: 1; font-size: clamp(44px, 8.5vw, 132px); margin: 0 0 32px; }

/* ---------- ПОДРАЗДЕЛЕНИЯ ---------- */
.divisions__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; margin-top: 60px; }
.orbits { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin: 0 auto; }
.orbits__core {
  position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #fff6e6, #ffb871 35%, #b8452a 70%, #2a0a12);
  box-shadow: 0 0 60px rgba(255, 160, 80, .55), 0 0 160px rgba(255, 120, 60, .25);
  animation: corePulse 5s ease-in-out infinite;
}
.orbits__core span { font-family: var(--f-display); font-weight: 600; font-size: clamp(9px, 1vw, 13px); letter-spacing: .28em; color: #2a0a08; margin-right: -.28em; }
@keyframes corePulse { 50% { box-shadow: 0 0 80px rgba(255, 160, 80, .7), 0 0 220px rgba(255, 120, 60, .3); } }
.orbit {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid rgba(238, 237, 246, .17); transform: translate(-50%, -50%);
}
.orbit--1 { width: 42%; height: 42%; animation: orbit 22s linear infinite; }
.orbit--2 { width: 62%; height: 62%; border-style: dashed; animation: orbit 38s linear infinite reverse; }
.orbit--3 { width: 81%; height: 81%; border-style: dashed; animation: orbit 54s linear infinite; }
.orbit--4 { width: 100%; height: 100%; border-style: dotted; border-color: rgba(238, 237, 246, .14); animation: orbit 80s linear infinite reverse; }
@keyframes orbit { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.planet { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); display: grid; place-items: center; }
.planet b {
  display: block; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(238, 237, 246, .25); border: 1px solid var(--line-2);
  transition: transform .4s var(--ease), background .4s, box-shadow .4s;
}
.planet span {
  position: absolute; top: 22px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: var(--ink-3);
  white-space: nowrap;
}
/* планета вращается против орбиты, чтобы подпись всегда оставалась горизонтальной */
.orbit--1 .planet { animation: counter 22s linear infinite; }
.orbit--2 .planet { animation: counter 38s linear infinite reverse; }
.orbit--3 .planet { animation: counter 54s linear infinite; }
.orbit--4 .planet { animation: counter 80s linear infinite reverse; }
@keyframes counter { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
.planet--active b { width: 18px; height: 18px; background: linear-gradient(135deg, var(--g1), var(--g2)); border: 0; box-shadow: 0 0 20px var(--g1), 0 0 40px rgba(79, 240, 255, .4); }
.planet--active span { color: var(--ink); }
.planet--unknown b { background: transparent; border-style: dashed; }
.planet.is-hl b { transform: scale(1.6); box-shadow: 0 0 22px rgba(255, 255, 255, .5); background: var(--ink); }
.planet--active.is-hl b { background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 0 30px var(--g1), 0 0 60px rgba(79, 240, 255, .6); }

.divlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.div {
  position: relative; padding: 24px 26px; border: 1px solid var(--line);
  background: rgba(10, 10, 20, .8);   /* без размытия фона: оно пересчитывалось бы каждый кадр поверх анимации */
  transition: border-color .4s, background .4s, transform .5s var(--ease);
}
.div:hover { border-color: var(--line-2); transform: translateX(6px); }
.div.is-active { border-color: rgba(255, 79, 176, .35); background: linear-gradient(120deg, rgba(255, 79, 176, .08), rgba(79, 240, 255, .04)); }
.div__top { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 10px; }
.div h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; margin: 12px 0 8px; }
.div p { margin: 0; color: var(--ink-2); font-size: 15px; }
.div--ghost { opacity: .6; border-style: dashed; }
.div__link { display: inline-block; margin-top: 14px; color: var(--g2); font-size: 11px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 100px; }
.tag--live { color: var(--ink); border-color: rgba(255, 79, 176, .4); }
.tag--live .pulse { background: var(--g1); box-shadow: 0 0 0 0 rgba(255, 79, 176, .7); }

/* ---------- QILAS GAMES ---------- */
.games { overflow: hidden; overflow: clip; padding-top: 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(4, 4, 10, .5), rgba(8, 4, 20, .85) 30%, rgba(4, 4, 10, .7)); }
/* холст со звёздами размером с экран «прилипает» при прокрутке раздела — рисовать приходится в разы меньше */
.games__warp {
  position: -webkit-sticky; position: sticky; top: 0; display: block;
  width: calc(100% + 2 * var(--gutter)); height: 100vh; margin: 0 calc(-1 * var(--gutter)) -100vh;
  opacity: .55; image-rendering: pixelated; image-rendering: crisp-edges;
}
.games::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.games__inner { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; padding-top: clamp(100px, 16vh, 180px); }
.games .label span { color: var(--g1); }
.games__brand { display: flex; flex-direction: column; line-height: .82; margin: 10px 0 40px; }
.games__q { font-family: var(--f-display); font-weight: 300; font-size: clamp(22px, 3vw, 40px); letter-spacing: .5em; color: var(--ink-2); margin-left: .3em; margin-bottom: .4em; }
.games__word {
  position: relative; font-family: var(--f-display); font-weight: 800; letter-spacing: -.04em;
  font-size: clamp(64px, 16.5vw, 270px);
  background: linear-gradient(90deg, var(--g1), #b67bff, var(--g2), var(--g1));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 8s linear infinite;
}
.games__word::before, .games__word::after {
  content: attr(data-text); position: absolute; left: 0; top: 0;
  background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0;
}
.games__word.glitch::before { opacity: .8; transform: translate(-6px, 2px); clip-path: inset(10% 0 55% 0); filter: hue-rotate(60deg); }
.games__word.glitch::after { opacity: .8; transform: translate(6px, -2px); clip-path: inset(60% 0 8% 0); filter: hue-rotate(-60deg); }
@keyframes flow { to { background-position: 300% 0; } }
.games__lead { max-width: 720px; font-size: clamp(18px, 1.8vw, 24px); color: var(--ink-2); line-height: 1.5; margin: 0 0 80px; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 120px; }
.pillar {
  position: relative; overflow: hidden; padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--line); background: rgba(12, 8, 24, .82);
  transform-style: preserve-3d; transition: transform .3s var(--ease), border-color .4s;
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
}
.pillar:hover { border-color: rgba(79, 240, 255, .35); }
.pillar__idx { color: var(--ink-3); position: absolute; top: clamp(28px, 4vw, 54px); left: clamp(28px, 4vw, 54px); }
.pillar h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.03em; margin: 0 0 14px; }
.pillar p { margin: 0; color: var(--ink-2); max-width: 440px; }
.pillar__glow {
  position: absolute; width: 380px; height: 380px; border-radius: 50%; pointer-events: none;
  left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 79, 176, .22), rgba(79, 240, 255, .08) 40%, transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.pillar:hover .pillar__glow { opacity: 1; }

.projects__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 26px; }
.projects__head h3 { margin: 0; font-size: 13px; }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 120px; }
.project { transition: transform .3s var(--ease); }
.project__screen {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 120%, rgba(255, 79, 176, .25), transparent 60%), #07050f;
  display: grid; place-items: center;
}
.project__screen span { position: relative; z-index: 2; color: var(--ink-3); font-size: 11px; animation: blink 2.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }
.project__noise {
  position: absolute; inset: -20%; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='turbulence' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .6s steps(4) infinite;
}
.project__screen::after {
  content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%;
  background: linear-gradient(transparent, rgba(79, 240, 255, .12), transparent);
  animation: scan 3.5s linear infinite;
}
@keyframes scan { to { top: 100%; } }
.project:hover .project__screen { border-color: rgba(255, 79, 176, .4); }
.project__meta { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 10px; margin: 16px 0 6px; }
.project h4 { font-family: var(--f-display); font-weight: 400; font-size: 22px; margin: 0; letter-spacing: -.01em; }

.publish {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: clamp(30px, 5vw, 64px); border: 1px solid rgba(255, 79, 176, .25);
  background: linear-gradient(120deg, rgba(255, 79, 176, .10), rgba(79, 240, 255, .05));
}
.publish h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3vw, 42px); letter-spacing: -.02em; margin: 10px 0; max-width: 640px; line-height: 1.1; }
.publish p { margin: 0; color: var(--ink-2); max-width: 560px; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 22px 38px; border-radius: 100px; overflow: hidden;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: #050208; background: var(--ink); flex: none;
}
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn span { position: relative; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .4s; }
.btn--ghost:hover { color: #050208; }
.publish__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- КОНТАКТ ---------- */
.contact { min-height: 120vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.contact .label { justify-content: center; }
.contact__title { font-family: var(--f-display); font-weight: 300; letter-spacing: -.03em; line-height: 1; font-size: clamp(42px, 8vw, 124px); margin: 0 0 50px; }
.contact__mail {
  display: inline-block; font-family: var(--f-display); font-weight: 200; letter-spacing: -.02em;
  font-size: clamp(28px, 5.5vw, 84px); padding: 10px 6px; margin-bottom: 40px; position: relative;
  transition: color .4s;
}
.contact__mail::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--star);
  transform: scaleX(.15); transition: transform .8s var(--ease);
}
.contact__mail:hover { color: var(--star-hot); }
.contact__mail:hover::after { transform: scaleX(1); }

/* ---------- ФУТЕР ---------- */
.footer { padding: 50px var(--gutter) 34px; border-top: 1px solid var(--line); background: rgba(4, 4, 10, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__row + .footer__row { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer__brand { display: flex; align-items: center; }
.footer__lockup { display: block; height: 28px; width: auto; aspect-ratio: 1492 / 355; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { color: var(--ink-2); transition: color .3s; }
.footer__nav a:hover { color: var(--ink); }
.footer__legal { color: var(--ink-2); font-size: 10px; }

/* ---------- адаптив ---------- */
@media (max-width: 1000px) {
  .divisions__grid { grid-template-columns: 1fr; }
  .orbits { max-width: 460px; }
  .projects__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__status { display: none; }
  .hud--tl, .hud--tr { top: 90px; }
  .hud--tr { display: none; }
  .epoch, .epoch:nth-child(even) { justify-content: flex-start; min-height: 100vh; }
  .epoch:nth-child(even) .epoch__body { margin-right: 0; }
  .epoch__num, .epoch:nth-child(even) .epoch__num { left: -4vw; right: auto; top: 18%; }
  .nav .lang { display: none; }
  .navi { right: 3px; width: 10px; pointer-events: none; }   /* на телефоне — только индикатор положения */
  .navi__marks, .navi__now { display: none; }
  .epoch:nth-child(even) .epoch__body { margin-right: 0; }
  .pillars { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .project__screen { aspect-ratio: 16 / 10; }
  .hero__scroll span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* читаемость текста поверх яркой звезды */
.now .lead, .contact .lead, .hero__sub, .epoch__desc { text-shadow: 0 0 18px rgba(4, 4, 10, .9), 0 0 42px rgba(4, 4, 10, .8); }

/* ---------- космические события ---------- */
@property --fxr { syntax: '<length>'; inherits: false; initial-value: 0px; }
.fx { position: fixed; inset: 0; z-index: 55; pointer-events: none; opacity: 0; --fx: 50vw; --fy: 50vh; }

/* вспышка из точки, где находится звезда */
.fx--flash {
  background: radial-gradient(circle at var(--fx) var(--fy), #fff 0, rgba(215, 232, 255, .9) 10%, rgba(150, 180, 255, .4) 32%, transparent 68%);
}
.fx--flash.go { animation: fxFlash 1.8s cubic-bezier(.1, .7, .2, 1) forwards; }
.fx--flash[data-kind="ignition"] { background: radial-gradient(circle at var(--fx) var(--fy), rgba(255, 240, 210, .9) 0, rgba(255, 180, 100, .35) 14%, transparent 40%); }
.fx--flash[data-kind="rebirth"] { background: radial-gradient(circle at var(--fx) var(--fy), #fff 0, rgba(255, 220, 170, .8) 12%, rgba(255, 150, 80, .3) 35%, transparent 70%); }
@keyframes fxFlash { 0% { opacity: 0; } 5% { opacity: 1; } 100% { opacity: 0; } }

/* ударная волна: кольцо, которое искажает всё, через что проходит */
.fx--ring {
  --fxr: 0px;
  -webkit-mask: radial-gradient(circle at var(--fx) var(--fy), transparent calc(var(--fxr) - 70px), #000 calc(var(--fxr) - 10px), #000 var(--fxr), transparent calc(var(--fxr) + 30px));
  mask: radial-gradient(circle at var(--fx) var(--fy), transparent calc(var(--fxr) - 70px), #000 calc(var(--fxr) - 10px), #000 var(--fxr), transparent calc(var(--fxr) + 30px));
  backdrop-filter: blur(5px) brightness(1.7) saturate(1.8) hue-rotate(-12deg);
  -webkit-backdrop-filter: blur(5px) brightness(1.7) saturate(1.8) hue-rotate(-12deg);
  background: rgba(170, 205, 255, .16);
}

/* сингулярность: гравитационные волны темнят и размывают пространство, свет стягивается в точку */
.fx--ring[data-kind="singularity"] {
  backdrop-filter: blur(3px) brightness(.55) contrast(1.3);
  -webkit-backdrop-filter: blur(3px) brightness(.55) contrast(1.3);
  background: rgba(0, 0, 0, .25);
}
.fx--dark { background: radial-gradient(circle at var(--fx) var(--fy), transparent 0, rgba(0, 0, 0, .55) 18%, rgba(0, 0, 0, .9) 60%); }
.fx--dark.go { animation: fxDark 3s cubic-bezier(.3, 0, .2, 1) forwards; }
@keyframes fxDark { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }

/* толчок от взрыва */
main.quake { animation: quake .8s cubic-bezier(.2, .7, .3, 1); }
@keyframes quake {
  0% { transform: translate(0, 0); } 8% { transform: translate(-7px, 4px); } 16% { transform: translate(6px, -5px); }
  26% { transform: translate(-4px, -3px); } 38% { transform: translate(3px, 3px); } 55% { transform: translate(-2px, 1px); }
  75% { transform: translate(1px, -1px); } 100% { transform: translate(0, 0); }
}

/* новые виды событий */
.fx--flash[data-kind="merge"] { background: radial-gradient(circle at var(--fx) var(--fy), #fff 0, rgba(255, 228, 180, .75) 10%, rgba(255, 190, 120, .25) 30%, transparent 60%); }
.fx--flash[data-kind="quasar"] { background: radial-gradient(circle at var(--fx) var(--fy), #fff 0, rgba(190, 200, 255, .85) 10%, rgba(140, 110, 255, .35) 32%, transparent 66%); }
.fx--ring[data-kind="pulse"] {
  backdrop-filter: blur(2px) brightness(1.3) saturate(1.3);
  -webkit-backdrop-filter: blur(2px) brightness(1.3) saturate(1.3);
  background: rgba(255, 190, 120, .1);
}
.fx--ring[data-kind="shell"] {
  backdrop-filter: blur(4px) brightness(1.4) hue-rotate(25deg);
  -webkit-backdrop-filter: blur(4px) brightness(1.4) hue-rotate(25deg);
  background: rgba(255, 110, 120, .12);
}

/* горизонт событий */
.horizon {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  --hx: 50vw; --hy: 50vh; --hr: 0px;
  background: radial-gradient(circle at var(--hx) var(--hy), #000 var(--hr), rgba(0, 0, 0, .85) calc(var(--hr) + 30px), transparent calc(var(--hr) * 1.3 + 90px));
}
.horizon__msg {
  position: absolute; left: 50%; bottom: 13vh; transform: translateX(-50%);
  display: grid; gap: 10px; text-align: center; white-space: nowrap; opacity: 0;
  color: rgba(255, 214, 176, .92); font-size: 13px; letter-spacing: .3em;
}
.horizon__msg b { font-weight: 400; }
.horizon__msg span { color: var(--ink-3); font-size: 10px; }
.horizon__msg.go { animation: hzMsg 3.4s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes hzMsg {
  0% { opacity: 0; filter: blur(10px); letter-spacing: .9em; }
  14% { opacity: 1; filter: none; letter-spacing: .3em; }
  72% { opacity: 1; }
  100% { opacity: 0; letter-spacing: .36em; }
}
@media (max-width: 820px) { .horizon__msg { font-size: 11px; letter-spacing: .18em; bottom: 8vh; } }

/* ---------- смена языка ---------- */
/* луч-сканер проходит по экрану сверху вниз, а текст «перешифровывается» волной следом за ним */
.lang-sweep { position: fixed; inset: 0; z-index: 58; pointer-events: none; opacity: 0; overflow: hidden; }
.lang-sweep.go { animation: sweepFade 1.05s linear forwards; }
.lang-sweep__line {
  position: absolute; left: 0; right: 0; top: 0; height: 34vh; transform: translateY(-34vh);
  background: linear-gradient(to bottom, transparent, rgba(255, 184, 113, .05) 55%, rgba(255, 214, 170, .22) 92%, rgba(255, 245, 230, .9) 99.6%, #fff);
  box-shadow: 0 2px 22px rgba(255, 190, 120, .55);
}
.lang-sweep.go .lang-sweep__line { animation: sweepMove 1s cubic-bezier(.55, 0, .35, 1) forwards; }
.lang-sweep__line span {
  position: absolute; right: calc(var(--gutter) + 36px); bottom: 10px;
  font-size: 11px; letter-spacing: .3em; color: var(--star-hot); text-shadow: 0 0 12px rgba(255, 180, 110, .8);
}
@keyframes sweepMove { from { transform: translateY(-34vh); } to { transform: translateY(100vh); } }
@keyframes sweepFade { 0% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; } }
.i18n-out { opacity: 0 !important; filter: blur(6px); transition: opacity .2s, filter .2s; }

/* китайский: иероглифам не нужна разрядка, а крупным заголовкам — чуть больше воздуха */
:lang(zh) .mono, :lang(zh) .nav__links a, :lang(zh) .label { letter-spacing: .08em; }
:lang(zh) .h2, :lang(zh) .now__title, :lang(zh) .contact__title, :lang(zh) .manifesto__text { letter-spacing: 0; line-height: 1.25; }
:lang(zh) .lead, :lang(zh) .epoch__desc, :lang(zh) .games__lead { line-height: 1.8; }
.lang button[lang="zh-Hans"] { letter-spacing: .04em; }

/* ---------- ударное кольцо для телефонов: круг, увеличиваемый сдвигом слоя ---------- */
.fx-wave {
  position: fixed; left: var(--fx, 50vw); top: var(--fy, 50vh); z-index: 55; pointer-events: none;
  width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, transparent 54%, rgba(170, 205, 255, .16) 64%, rgba(225, 235, 255, .42) 69.5%, transparent 71%);
}
.fx-wave[data-kind="singularity"] { background: radial-gradient(circle, transparent 48%, rgba(0, 0, 0, .35) 62%, rgba(0, 0, 0, .6) 69.5%, transparent 71%); }
.fx-wave[data-kind="pulse"] { background: radial-gradient(circle, transparent 56%, rgba(255, 190, 120, .12) 64%, rgba(255, 215, 170, .32) 69.5%, transparent 71%); }
.fx-wave[data-kind="shell"] { background: radial-gradient(circle, transparent 54%, rgba(255, 110, 120, .14) 64%, rgba(255, 160, 160, .36) 69.5%, transparent 71%); }

/* ---------- подсказка свайпа (телефоны) ---------- */
.pull {
  position: fixed; left: 50%; z-index: 55; display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line-2); background: rgba(4, 4, 10, .86);
  color: var(--ink-2); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  pointer-events: none; opacity: 0; transform: translate(-50%, 6px) scale(.94);
  transition: opacity .2s, transform .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.pull.is-down { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.pull.is-up { top: 84px; }
.pull.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.pull.is-go { color: #0b0b12; background: var(--star-hot); border-color: transparent; }
.pull b { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.pull.is-up b { transform: translateY(2px) rotate(-135deg); }
.pull.is-hint b { animation: pullNudge 1.6s var(--ease-io) infinite; }
@keyframes pullNudge { 0%, 100% { transform: translateY(-3px) rotate(45deg); } 50% { transform: translateY(2px) rotate(45deg); } }

/* ---------- телефоны и планшеты: облегчённая графика ----------
   Размытие фона под панелями и шум поверх космоса пересчитываются на каждом кадре звезды —
   на телефоне это и давало подтормаживания. Вместо размытия — плотная полупрозрачная заливка. */
@media (hover: none), (pointer: coarse) {
  .grain { display: none; }
  .epoch__fact, .nav__status, .lang, .navi__marks span, .navi__now, .footer, .menu,
  .fx--ring, .fx--ring[data-kind] { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .epoch__fact { background: linear-gradient(120deg, rgba(20, 20, 34, .78), rgba(10, 10, 20, .6)); }
  .footer { background: rgba(4, 4, 10, .94); }
  .menu { background: rgba(4, 4, 10, .97); }
  /* появление текста — без размытия: фильтр на каждом слове дорог для телефона */
  .reveal, .manifesto__text .w { filter: none; }
}
