/* ============================================================
   ONECLI. CREATOR — неоновый промо-лендинг
   Палитра снята с top_bkg.webp: чёрный, неон-фиолет/магента,
   токсичный зелёный, циан. Лёгкий vanilla-стек, цель 60 FPS.
   ============================================================ */

:root {
    --bg-deep: #05060c;
    --bg-panel: #0c0a1a;
    --bg-panel-2: #120c24;
    --violet: #b026ff;
    --magenta: #ff2d9b;
    --green: #46ff8c;
    --toxic: #aaff00;
    --cyan: #00f0ff;
    --text: #e9e6ff;
    --text-dim: #a59fce;
    --glass: rgba(20, 12, 40, .55);
    --glass-brd: rgba(176, 38, 255, .35);
    --glow-violet: 0 0 18px rgba(176, 38, 255, .55);
    --glow-cyan: 0 0 18px rgba(0, 240, 255, .5);
    --glow-green: 0 0 18px rgba(70, 255, 140, .5);
    --font-head: 'Russo One', sans-serif;
    --font-body: 'Exo 2', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- утилиты свечения / типографика ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; letter-spacing: .5px; }

.section { position: relative; padding: 100px 0; }
.section--tight { padding: 70px 0; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 16px;
    text-shadow: var(--glow-cyan);
}

.section-title {
    font-size: clamp(26px, 4vw, 46px);
    margin-bottom: 18px;
    text-transform: uppercase;
}
.section-title .hl { color: var(--magenta); text-shadow: 0 0 22px rgba(255, 45, 155, .6); }
.section-title .hl-g { color: var(--toxic); text-shadow: 0 0 22px rgba(170, 255, 0, .55); }

.lead { color: var(--text-dim); font-size: 17px; max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- неоновые кнопки ---------- */
.btn-neon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 15px 30px;
    color: #fff;
    border: 1px solid var(--violet);
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(176, 38, 255, .25), rgba(255, 45, 155, .18));
    box-shadow: var(--glow-violet), inset 0 0 14px rgba(176, 38, 255, .25);
    cursor: pointer;
    transition: box-shadow .3s, transform .15s, background .3s;
    text-align: center;
}
.btn-neon:hover {
    box-shadow: 0 0 30px rgba(176, 38, 255, .9), 0 0 60px rgba(255, 45, 155, .5), inset 0 0 22px rgba(255, 45, 155, .4);
    transform: translateY(-2px);
}
.btn-neon--green {
    border-color: var(--green);
    background: linear-gradient(135deg, rgba(70, 255, 140, .22), rgba(0, 240, 255, .15));
    box-shadow: var(--glow-green), inset 0 0 14px rgba(70, 255, 140, .2);
}
.btn-neon--green:hover { box-shadow: 0 0 30px rgba(70, 255, 140, .9), 0 0 55px rgba(0, 240, 255, .45); }
.btn-neon--tg { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.btn-neon--lg { font-size: 17px; padding: 18px 40px; }

/* ============================================================
   ШАПКА
   ============================================================ */
.site-head {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    padding: 16px 0;
    transition: background .3s, padding .3s, box-shadow .3s;
}
.site-head.scrolled {
    background: rgba(8, 6, 18, .85);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 20px; }
.brand b { color: var(--toxic); }
.brand { position: relative; }
.brand::before {
    content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 94%; height: 66%; border-radius: 50%; z-index: 0; pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(176, 38, 255, .6), rgba(123, 80, 255, .2) 46%, transparent 72%);
    filter: blur(15px); opacity: .9; transition: opacity .3s, background .3s;
}
.brand img {
    position: relative; z-index: 1;
    height: 130px; width: auto; transition: height .3s; transform-origin: 50% 50%;
    -webkit-mask-image: radial-gradient(150% 62% at 50% 50%, #000 60%, transparent 100%);
    mask-image: radial-gradient(150% 62% at 50% 50%, #000 60%, transparent 100%);
}
.site-head.scrolled .brand img { height: 74px; }
/* «дёрг» + усиление мягкого свечения при наведении */
.brand:hover::before { opacity: 1; background: radial-gradient(ellipse at center, rgba(0, 240, 255, .6), rgba(255, 45, 155, .22) 48%, transparent 74%); }
.brand:hover img { animation: logo-jitter .55s ease-in-out; }
/* в футере брэнд-ссылка — ужимаем по лого, чтобы свечение село по центру, а не съезжало вправо */
.footer .brand { display: inline-flex; }
@keyframes logo-jitter {
    0%   { transform: rotate(0) scale(1); }
    15%  { transform: rotate(-4deg) scale(1.06); }
    30%  { transform: rotate(4deg) scale(1.08); }
    45%  { transform: rotate(-3deg) scale(1.05); }
    60%  { transform: rotate(3deg) scale(1.06); }
    75%  { transform: rotate(-1.5deg) scale(1.03); }
    100% { transform: rotate(0) scale(1); }
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a.nav-link { font-size: 15px; color: var(--text-dim); transition: color .25s, text-shadow .25s; }
.nav a.nav-link:hover { color: #fff; text-shadow: var(--glow-cyan); }

.head-actions { display: flex; align-items: center; gap: 16px; }
/* тонкая кнопка «Ранний доступ» в шапке */
.head-actions .btn-neon { padding: 9px 20px; font-size: 12px; letter-spacing: .5px; }

/* аудио-плеер виджет */
.player {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 6px;
    border: 1px solid var(--glass-brd);
    border-radius: 40px;
    background: var(--glass);
    backdrop-filter: blur(8px);
}
.player__btn {
    width: 38px; height: 38px; flex: none;
    border-radius: 50%;
    border: 1px solid var(--cyan);
    background: rgba(0, 240, 255, .12);
    color: var(--cyan);
    display: grid; place-items: center;
    cursor: pointer;
    box-shadow: var(--glow-cyan);
    transition: transform .2s;
}
.player__btn:hover { transform: scale(1.08); }
.player__btn svg { width: 16px; height: 16px; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.eq span {
    width: 3px; height: 6px; background: var(--green); border-radius: 2px;
    box-shadow: 0 0 6px var(--green);
}
.player.playing .eq span { animation: eq 0.8s ease-in-out infinite; }
.player.playing .eq span:nth-child(2) { animation-delay: .15s; }
.player.playing .eq span:nth-child(3) { animation-delay: .3s; }
.player.playing .eq span:nth-child(4) { animation-delay: .45s; }
.player.playing .eq span:nth-child(5) { animation-delay: .6s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 20px; } }
.player__label { font-family: var(--font-head); font-size: 10px; letter-spacing: 1px; color: var(--text-dim); white-space: nowrap; }

.d-none-mob { display: inline-flex; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 26px; height: 2px; background: var(--cyan); box-shadow: var(--glow-cyan); transition: .3s; }

/* ============================================================
   HERO / ПАРАЛЛАКС
   ============================================================ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
    background: var(--bg-deep);
}
.hero__layers { position: absolute; inset: 0; z-index: 0; }
.hero__layer {
    position: absolute; inset: -8%;
    background-size: cover; background-position: center;
    will-change: transform;
}
.hero__layer--bg {
    background-image: url(../images/top_bkg.webp);
}
.hero__layer--fog {
    background: radial-gradient(circle at 50% 60%, rgba(176, 38, 255, .25), transparent 55%),
                radial-gradient(circle at 20% 80%, rgba(70, 255, 140, .18), transparent 45%);
    mix-blend-mode: screen;
}
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(5, 6, 12, .55) 0%, rgba(5, 6, 12, .25) 40%, var(--bg-deep) 100%);
}
.hero__content { position: relative; z-index: 3; padding: 120px 0 80px; max-width: 820px; }
.hero h1 {
    font-size: clamp(30px, 5.4vw, 62px);
    text-transform: uppercase;
    margin-bottom: 22px;
    text-shadow: 0 0 30px rgba(176, 38, 255, .5);
}
.hero h1 .glow-g { color: var(--toxic); text-shadow: 0 0 26px rgba(170, 255, 0, .7); }
.hero h1 .glow-m { color: var(--magenta); text-shadow: 0 0 26px rgba(255, 45, 155, .7); }
/* медленный световой блик по ключевым словам */
.hero h1 .glow-g, .hero h1 .glow-m {
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    background-repeat: no-repeat; background-size: 300% 100%;
    text-shadow: none;
    animation: word-sheen 8s ease-out infinite;
}
.hero h1 .glow-g {
    background-image: linear-gradient(100deg, #aaff00 0%, #aaff00 46%, #f6ffd8 49.5%, #ffffff 50%, #f6ffd8 50.5%, #aaff00 54%, #aaff00 100%);
    filter: drop-shadow(0 0 24px rgba(170, 255, 0, .6));
}
.hero h1 .glow-m {
    background-image: linear-gradient(100deg, #ff2d9b 0%, #ff2d9b 46%, #ffd6ec 49.5%, #ffffff 50%, #ffd6ec 50.5%, #ff2d9b 54%, #ff2d9b 100%);
    filter: drop-shadow(0 0 24px rgba(255, 45, 155, .6));
    animation-delay: 4s;
}
@keyframes word-sheen {
    0%   { background-position: 0% 0; }    /* блик спрятан справа */
    20%  { background-position: 100% 0; }  /* прокатился и уехал влево */
    100% { background-position: 100% 0; }  /* долгая пауза — чистый неон */
}
.hero p.sub { font-size: clamp(15px, 1.8vw, 19px); color: var(--text-dim); max-width: 680px; margin-bottom: 36px; }
.hero .btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
    color: var(--cyan); font-size: 12px; letter-spacing: 2px; text-align: center;
    animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- далёкие птицы в небе ---------- */
.hero__birds { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.bird {
    position: absolute; top: var(--y); left: -8%;
    width: calc(20px * var(--s, 1)); height: auto;
    opacity: var(--op, .22);
    animation: fly var(--dur, 32s) linear infinite;
    animation-delay: var(--delay, 0s);
}
.bird svg { width: 100%; height: auto; display: block; transform-origin: 50% 50%; animation: flap var(--flap, .5s) steps(2, jump-none) infinite; }
.bird svg path { stroke: #04050a; stroke-width: 1.4; fill: none; stroke-linecap: round; }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.35); } }
@keyframes fly {
    0%   { transform: translate(-8vw, 0); }
    20%  { transform: translate(18vw, -26px); }
    40%  { transform: translate(40vw, 8px); }
    60%  { transform: translate(62vw, -18px); }
    80%  { transform: translate(86vw, 14px); }
    100% { transform: translate(114vw, -4px); }
}

/* ============================================================
   ОБЩИЕ КАРТОЧКИ / СТЕКЛО
   ============================================================ */
.glass {
    background: var(--glass);
    border: 1px solid var(--glass-brd);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .45);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split--rev .split__media { order: 2; }

.media-frame {
    position: relative; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--glass-brd);
    box-shadow: var(--glow-violet);
}
.media-frame img { width: 100%; transition: transform .6s; }
.media-frame:hover img { transform: scale(1.05); }
.media-frame::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 60%, rgba(0, 240, 255, .12));
    pointer-events: none;
}

/* всплывающее «мобильное окно» легенды */
.phone-window {
    max-width: 360px; margin: 0 auto;
    border-radius: 26px; padding: 14px;
    border: 1px solid var(--cyan);
    background: linear-gradient(160deg, rgba(12, 10, 26, .9), rgba(18, 12, 36, .9));
    box-shadow: var(--glow-cyan), 0 20px 60px rgba(0, 0, 0, .6);
}
.phone-window__bar { display: flex; gap: 6px; padding: 4px 8px 12px; }
.phone-window__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 8px var(--magenta); }
.phone-window__bar i:nth-child(2) { background: var(--toxic); box-shadow: 0 0 8px var(--toxic); }
.phone-window__bar i:nth-child(3) { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.phone-window__body { padding: 6px 14px 16px; }
.phone-window__body h4 { color: var(--cyan); margin-bottom: 12px; font-size: 18px; }
.phone-window__body p { color: var(--text-dim); font-size: 15px; }

/* ============================================================
   ФИЧИ / СЕТКА КАРТОЧЕК
   ============================================================ */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature {
    padding: 28px 24px; border-radius: 14px;
    background: var(--glass); border: 1px solid var(--glass-brd);
    backdrop-filter: blur(8px);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-6px); border-color: var(--magenta); box-shadow: 0 0 26px rgba(255, 45, 155, .4); }
.feature .ic { font-size: 30px; margin-bottom: 14px; filter: drop-shadow(0 0 10px var(--violet)); }
.feature h4 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.feature p { color: var(--text-dim); font-size: 15px; }

/* выделенный блок-«плашка» с цифрами экономики */
.stat {
    text-align: center; padding: 30px 18px; border-radius: 14px;
    background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(8px);
}
.stat .num { font-family: var(--font-head); font-size: clamp(28px, 4vw, 42px); color: var(--toxic); text-shadow: var(--glow-green); }
.stat .lbl { color: var(--text-dim); font-size: 14px; margin-top: 8px; letter-spacing: .5px; }
/* плавное парение карточек реферальной системы */
#referral .stat { animation: stat-float 4s ease-in-out infinite; transition: transform .3s, box-shadow .3s, border-color .3s; }
#referral .stat:nth-child(2) { animation-delay: .8s; }
#referral .stat:nth-child(3) { animation-delay: 1.6s; }
#referral .stat:hover { animation-play-state: paused; transform: translateY(-8px); border-color: var(--toxic); box-shadow: 0 0 28px rgba(70, 255, 140, .45); }
/* то же для рудника — свечение розовое */
#mine .stat { animation: stat-float 4s ease-in-out infinite; transition: transform .3s, box-shadow .3s, border-color .3s; }
#mine .stat:nth-child(2) { animation-delay: .8s; }
#mine .stat:nth-child(3) { animation-delay: 1.6s; }
#mine .stat:hover { animation-play-state: paused; transform: translateY(-8px); border-color: var(--magenta); box-shadow: 0 0 28px rgba(255, 45, 155, .5); }
@keyframes stat-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* секция с фоном-картинкой */
.bg-section { background-size: cover; background-position: center; background-attachment: fixed; position: relative; }
.bg-section::before { content: ''; position: absolute; inset: 0; background: rgba(5, 6, 12, .78); }
.bg-section > .container { position: relative; z-index: 1; }

/* бейдж «в прямом эфире» */
.live-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-size: 13px; letter-spacing: 1px;
    color: #fff; padding: 7px 16px; border-radius: 30px;
    background: rgba(255, 45, 155, .18); border: 1px solid var(--magenta);
    box-shadow: 0 0 18px rgba(255, 45, 155, .5);
}
.live-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); animation: pulse 1.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.4); } }

/* ============================================================
   МАРКЕТПЛЕЙС 3×4
   ============================================================ */
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.lot {
    position: relative; border-radius: 14px; overflow: hidden;
    background: linear-gradient(160deg, var(--bg-panel), var(--bg-panel-2));
    border: 1px solid var(--glass-brd);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.lot:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: 0 0 28px rgba(0, 240, 255, .45); }
.lot__img { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 18px; background: radial-gradient(circle at 50% 40%, rgba(176, 38, 255, .18), transparent 70%); }
.lot__img img { max-height: 100%; width: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); transition: transform .4s; }
.lot:hover .lot__img img { transform: scale(1.08) rotate(-2deg); }
.lot__body { padding: 14px 16px 18px; }
.lot__name { font-family: var(--font-head); font-size: 14px; color: #fff; letter-spacing: .5px; }
.lot__row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.lot__price { font-family: var(--font-head); font-size: 17px; color: var(--toxic); text-shadow: var(--glow-green); }
.lot__price small { font-size: 11px; color: var(--text-dim); }
.lot__buy { font-size: 12px; color: var(--cyan); border: 1px solid var(--cyan); border-radius: 30px; padding: 5px 12px; transition: .25s; }
.lot__buy:hover { background: var(--cyan); color: #04121a; box-shadow: var(--glow-cyan); }
/* график цены (раскрывается на ховере) */
.lot__chart {
    position: absolute; left: 0; right: 0; top: 0;
    height: 0; overflow: hidden; transition: height .35s ease;
    background: rgba(4, 4, 12, .95); border-bottom: 1px solid var(--glass-brd); z-index: 2;
}
.lot:hover .lot__chart { height: 132px; }
.lot__chart svg { width: 100%; height: 100%; display: block; }
.lot__chart .grid { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.lot__chart .ln { fill: none; stroke: var(--toxic); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 4px currentColor); stroke-dasharray: 700; stroke-dashoffset: 700; }
.lot:hover .lot__chart .ln { animation: draw 1.1s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lot__chart .area { fill: url(#lotgrad); opacity: .2; }
.lot__chart .dot { fill: rgba(233, 230, 255, .5); }
.lot__chart .dot-last { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .75)); }
.lot__chart .tag { font-family: var(--font-body); font-size: 11px; font-weight: 600; fill: var(--toxic); }

/* ============================================================
   АРКАДА (Блок 13)
   ============================================================ */
.arcade { text-align: center; }
.arcade__tabs { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 30px 0 26px; }
.arcade__tab {
    position: relative; width: 190px; aspect-ratio: 1 / 1; padding: 0; overflow: hidden;
    cursor: pointer; border-radius: 14px; border: 1px solid var(--glass-brd);
    opacity: .55; transition: opacity .3s, box-shadow .3s, transform .2s, border-color .3s;
}
.arcade__tab img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .3s; }
.arcade__tab span {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px 8px 10px;
    font-family: var(--font-head); font-size: 12px; letter-spacing: .5px; color: #fff; text-align: center;
    background: linear-gradient(transparent, rgba(2, 2, 8, .55) 35%, rgba(2, 2, 8, .94));
    text-shadow: 0 1px 6px #000;
}
.arcade__tab:hover { opacity: 1; transform: translateY(-4px); box-shadow: 0 0 22px rgba(0, 240, 255, .4); }
.arcade__tab:hover img { transform: scale(1.06); }
.arcade__tab.active { opacity: 1; border-color: var(--magenta); box-shadow: 0 0 26px rgba(255, 45, 155, .6); }
.arcade__tab.active span { color: var(--toxic); }

.arcade__stage {
    position: relative; width: min(720px, 100%); margin: 0 auto;
    aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--cyan); box-shadow: var(--glow-cyan), 0 20px 60px rgba(0, 0, 0, .6);
    background: #04060e;
}
.arcade__stage canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.arcade__hint { margin-top: 16px; color: var(--text-dim); font-size: 14px; }

/* оверлеи аркады (старт / game over) */
.arcade__overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 18px; text-align: center;
    background: rgba(4, 4, 12, .82); backdrop-filter: blur(4px); padding: 24px; z-index: 3;
}
.arcade__overlay.hidden { display: none; }
/* стартовое окно игры — фон с джойстиком (сильно затемнён) */
.arcade__overlay--start {
    background: linear-gradient(rgba(4, 4, 12, .8), rgba(4, 4, 12, .9)), url(../images/bkg_ps5.webp) center/cover no-repeat;
    backdrop-filter: none;
}
.arcade__overlay h3 { font-size: clamp(20px, 4vw, 34px); color: #fff; text-shadow: var(--glow-cyan); }
.arcade__overlay .score { font-family: var(--font-head); font-size: clamp(26px, 6vw, 48px); color: var(--toxic); text-shadow: var(--glow-green); }
.arcade__overlay .ov-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   ФИНАЛЬНАЯ ФОРМА
   ============================================================ */
.signup { text-align: center; }
.signup .glass { max-width: 720px; margin: 30px auto 0; padding: 46px 34px; }
/* блок захвата — тёмная подложка + блымающее РОЗОВОЕ свечение */
.signup-card {
    border-color: var(--magenta); background: rgba(8, 4, 14, .82);
    margin-top: 26px; animation: signup-glow 2.6s ease-in-out infinite;
}
@keyframes signup-glow {
    0%, 100% { box-shadow: 0 0 40px rgba(255, 45, 155, .42), 0 0 82px rgba(255, 45, 155, .18), inset 0 0 24px rgba(255, 45, 155, .08); }
    50% { box-shadow: 0 0 64px rgba(255, 45, 155, .72), 0 0 135px rgba(255, 45, 155, .35), inset 0 0 34px rgba(255, 45, 155, .14); }
}
.signup-eyebrow { color: var(--magenta); text-shadow: 0 0 14px rgba(255, 45, 155, .75); }
.signup-title { font-size: clamp(28px, 4.6vw, 48px); text-transform: uppercase; margin-bottom: 6px; }
.signup-sub { font-family: var(--font-head); font-size: clamp(13px, 2vw, 17px); letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; margin-bottom: 18px; }
.signup-card__label { font-family: var(--font-head); font-size: clamp(16px, 2.6vw, 22px); letter-spacing: 1px; text-transform: uppercase; color: var(--magenta); text-shadow: 0 0 16px rgba(255, 45, 155, .65); margin-bottom: 14px; }
.signup-btns { display: flex; flex-direction: column; gap: 14px; max-width: 480px; margin: 0 auto; }
.signup-btns .btn-neon { width: 100%; justify-content: center; }

/* зелёная кнопка раннего доступа — мигание + периодический отблеск + кирка */
.btn-getaccess { position: relative; overflow: hidden; gap: 2px; animation: getaccess-pulse 2s ease-in-out infinite; }
@keyframes getaccess-pulse {
    0%, 100% { box-shadow: 0 0 14px rgba(70, 255, 140, .5), inset 0 0 14px rgba(70, 255, 140, .2); }
    50% { box-shadow: 0 0 34px rgba(70, 255, 140, .95), 0 0 62px rgba(0, 240, 255, .4), inset 0 0 20px rgba(70, 255, 140, .35); }
}
.btn-getaccess::after {
    content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
    transform: skewX(-20deg); pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
    animation: getaccess-sheen 4.5s ease-in-out infinite;
}
@keyframes getaccess-sheen { 0% { left: -60%; } 24% { left: 135%; } 100% { left: 135%; } }
.btn-kirka { width: 52px; height: 52px; object-fit: contain; transform: scaleX(-1); filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .7)); margin: -12px -4px -12px 6px; }
.signup h2 { font-size: clamp(24px, 4vw, 40px); margin-bottom: 16px; }
.signup .perk-list { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; margin: 24px 0 30px; color: var(--text-dim); font-size: 15px; }
.signup .perk-list span { display: inline-flex; align-items: center; gap: 8px; }
.signup .perk-list i { color: var(--toxic); }

/* ============================================================
   ФУТЕР
   ============================================================ */
.footer { background: #07050f; border-top: 1px solid var(--glass-brd); padding: 60px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer ul li a { color: var(--text-dim); font-size: 14px; transition: color .2s; }
.footer ul li a:hover { color: var(--cyan); }
.footer__brand p { color: var(--text-dim); font-size: 14px; margin: 14px 0; max-width: 320px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--glass-brd); color: var(--cyan); transition: .25s; }
.footer__social a:hover { box-shadow: var(--glow-cyan); transform: translateY(-3px); }
.footer__bottom { text-align: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--text-dim); font-size: 13px; }

/* появление по скроллу — с blur-in */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(9px); transition: opacity .7s ease, transform .7s ease, filter .7s ease; }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 992px) {
    .nav { display: none; }
    .burger { display: flex; }
    .nav.open {
        display: flex; flex-direction: column; gap: 18px; position: absolute;
        top: 100%; left: 0; right: 0; padding: 24px;
        background: rgba(8, 6, 18, .97); backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--glass-brd);
    }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .market-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 30px; }
    .split--rev .split__media { order: 0; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .player__label { display: none; }
    .bg-section { background-attachment: scroll; }
    .d-none-mob { display: none; }
    .brand img { height: 86px; }
    .site-head.scrolled .brand img { height: 58px; }
}
@media (max-width: 560px) {
    .section { padding: 64px 0; }
    .grid-4, .grid-3, .grid-2, .market-grid { grid-template-columns: 1fr; }
    .stat-grid.grid-3 { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .hero__content { padding-top: 110px; }
    .arcade__tab { width: 44%; }
}

/* ============================================================
   ПАРАЛЛАКС-СЕКЦИИ С ФОНОМ + ЗАТЕМНЕНИЕ (монолитный объём)
   ============================================================ */
.psection { position: relative; overflow: hidden; }
.psection__bg {
    position: absolute; inset: -14%; z-index: 0;
    background-size: cover; background-position: center;
    transform: scale(1.16); will-change: transform;
}
/* меньше оверскан → фон отдалён, видно больше картинки (но с запасом под сильный параллакс) */
.psection__bg--wide { inset: -10%; }
.psection__shade {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(120% 90% at 50% 35%, rgba(5, 6, 12, .45), rgba(5, 6, 12, .82) 75%),
        linear-gradient(180deg, var(--bg-deep), rgba(5, 6, 12, .35) 22%, rgba(5, 6, 12, .35) 78%, var(--bg-deep));
}
.psection__shade--strong {
    background:
        radial-gradient(120% 90% at 50% 40%, rgba(5, 6, 12, .6), rgba(5, 6, 12, .9) 75%),
        linear-gradient(180deg, var(--bg-deep), rgba(5, 6, 12, .5) 22%, rgba(5, 6, 12, .5) 78%, var(--bg-deep));
}
.psection__shade--ocean {
    background:
        radial-gradient(120% 90% at 50% 40%, rgba(2, 10, 20, .5), rgba(3, 8, 18, .85) 75%),
        linear-gradient(180deg, var(--bg-deep), rgba(3, 10, 22, .4) 25%, rgba(3, 10, 22, .4) 75%, var(--bg-deep));
}
.psection__shade--green {
    background:
        radial-gradient(120% 90% at 50% 40%, rgba(6, 16, 8, .45), rgba(4, 8, 10, .86) 75%),
        linear-gradient(180deg, var(--bg-deep), rgba(6, 14, 8, .4) 25%, rgba(6, 14, 8, .4) 75%, var(--bg-deep));
}
/* фон блока формы — показываем картинку целиком (арка сверху, костёр снизу) */
.signup-bg {
    position: absolute; inset: 0; z-index: 0; background-color: #04050b;
    background-size: contain; background-position: center; background-repeat: no-repeat;
}
.psection__shade--form { background: linear-gradient(180deg, rgba(5, 6, 12, .66), rgba(5, 6, 12, .4) 26%, rgba(5, 6, 12, .4) 72%, rgba(5, 6, 12, .72)); }
.psection > .container { position: relative; z-index: 2; }

/* секция без фото — только пурпурно-зелёное неоновое свечение */
.psection__glow {
    position: absolute; inset: 0; z-index: 0; background:
        radial-gradient(60% 70% at 22% 28%, rgba(176, 38, 255, .26), transparent 60%),
        radial-gradient(60% 70% at 82% 78%, rgba(70, 255, 140, .2), transparent 60%),
        radial-gradient(80% 90% at 50% 50%, rgba(12, 8, 24, .5), var(--bg-deep) 85%);
}

/* декоративные тропические листья по углам (квадратный фон растворяем через invert+screen) */
.leaf-deco {
    position: absolute; z-index: 1; pointer-events: none;
    opacity: .42; filter: invert(1) brightness(1.08);
    mix-blend-mode: screen;
}
.leaf-deco--l {
    top: -8%; left: -5%; width: min(42vw, 440px); transform: rotate(6deg);
    -webkit-mask-image: radial-gradient(135% 135% at 18% 18%, #000 34%, transparent 72%);
    mask-image: radial-gradient(135% 135% at 18% 18%, #000 34%, transparent 72%);
}
.leaf-deco--r {
    bottom: -10%; right: -6%; width: min(34vw, 380px); transform: rotate(-4deg);
}
/* пальма (PNG с прозрачным фоном) справа — тот же призрачно-белый стиль */
.leaf-deco--palm-r {
    bottom: -16%; right: -3%;
    width: min(58vw, 600px);
    transform: none;
}
@media (max-width: 560px) { .leaf-deco { opacity: .3; } .leaf-deco--palm-r { width: 78vw; bottom: -12%; } }

/* ============================================================
   БЛОК БОГИНИ ЮКИ — фигура ЗА заголовком, руки ПОВЕРХ букв
   ============================================================ */
.yuki-stage { position: relative; width: 100%; max-width: 880px; margin: 6px auto 0; height: clamp(390px, 50vw, 560px); }
.yuki-aura {
    position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%);
    width: 80%; height: 84%; z-index: 0; pointer-events: none; filter: blur(8px);
    background: radial-gradient(circle, rgba(176, 38, 255, .45), rgba(176, 38, 255, .14) 44%, transparent 68%);
    animation: yuki-pulse 4.5s ease-in-out infinite;
}
@keyframes yuki-pulse { 0%, 100% { opacity: .8; } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
.yuki {
    position: absolute; left: 50%; bottom: 21%; transform: translate(-50%, 0);
    height: 86%; width: auto; max-width: none; pointer-events: none;
    filter: drop-shadow(0 0 30px rgba(176, 38, 255, .6)) drop-shadow(0 0 60px rgba(176, 38, 255, .35));
}
.yuki--back { z-index: 1; }
.yuki--front { z-index: 3; clip-path: inset(76% 0 0 0); filter: none; }   /* только руки, без свечения (иначе квадрат за текстом) */
.yuki-title { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); width: 100%; margin: 0; z-index: 2; }
@media (max-width: 560px) {
    .yuki-stage { height: clamp(330px, 92vw, 440px); }
    .yuki-title { bottom: 4%; }
}

/* анимированный SVG-туман между блоками */
.fog { position: relative; height: 80px; margin: -42px 0; z-index: 6; pointer-events: none; overflow: hidden; }
.fog::before, .fog::after { content: ''; position: absolute; top: -24px; bottom: -24px; width: 58%; filter: blur(24px); opacity: .5; }
.fog::before { left: -10%; background: radial-gradient(ellipse at center, rgba(176, 38, 255, .38), transparent 70%); animation: fogA 19s ease-in-out infinite alternate; }
.fog::after { right: -10%; background: radial-gradient(ellipse at center, rgba(0, 240, 255, .32), transparent 70%); animation: fogB 25s ease-in-out infinite alternate; }
@keyframes fogA { from { transform: translateX(-14%); } to { transform: translateX(28%); } }
@keyframes fogB { from { transform: translateX(14%); } to { transform: translateX(-26%); } }

/* hero — две колонки: текст + скрин */
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 44px; align-items: center; max-width: 1200px; }
.hero-copy { min-width: 0; }
.hero-shot .media-frame { box-shadow: var(--glow-violet), 0 20px 60px rgba(0, 0, 0, .6); }

/* мигающая кнопка «Легенда» */
.btn-legend { animation: legend-blink 2s ease-in-out infinite; }
@keyframes legend-blink {
    0%, 100% { box-shadow: 0 0 10px rgba(176, 38, 255, .5), inset 0 0 12px rgba(176, 38, 255, .2); }
    50% { box-shadow: 0 0 26px rgba(0, 240, 255, .9), 0 0 48px rgba(255, 45, 155, .55), inset 0 0 20px rgba(0, 240, 255, .35); }
}

/* диалог NPC под картинкой старца */
.npc-dialog { margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-size: 15px; color: var(--text); min-height: 104px; }
.npc-dialog b { color: var(--magenta); }
#npcDialog { color: var(--text-dim); }

/* МОДАЛКА «ЛЕГЕНДА» */
.modal-overlay {
    position: fixed; inset: 0; z-index: 200; display: none;
    align-items: center; justify-content: center; padding: 24px;
    background: rgba(4, 4, 12, .55); backdrop-filter: blur(10px);
    opacity: 0; transition: opacity .3s;
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal-card {
    position: relative; max-width: 660px; width: 100%; max-height: 88vh; overflow-y: auto;
    padding: 44px 40px; border-radius: 18px; border: 1px solid var(--violet);
    background: linear-gradient(160deg, rgba(14, 10, 28, .97), rgba(22, 12, 42, .97));
    box-shadow: 0 0 60px rgba(176, 38, 255, .55);
    transform: translateY(24px) scale(.96); transition: transform .35s;
}
.modal-overlay.open .modal-card { transform: none; }
.modal-card h3 { font-size: clamp(24px, 4vw, 32px); color: #fff; margin: 6px 0 18px; }
.modal-card p { color: var(--text-dim); margin-bottom: 14px; font-size: 16px; }
.modal-close {
    position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--glass-brd); background: rgba(255, 255, 255, .04); color: var(--text);
    font-size: 24px; line-height: 1; cursor: pointer; transition: .2s;
}
.modal-close:hover { border-color: var(--magenta); color: #fff; box-shadow: 0 0 16px rgba(255, 45, 155, .5); }

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-shot { max-width: 520px; margin: 0 auto; }
}

/* уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
