/* ========================================
   MINEWAY INFORM — Основные стили
   ======================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg0: #06080d;
    --bg1: #0b0f18;
    --bg2: #111827;
    --bg3: #1a2236;
    --bg4: #222d44;
    --bgi: #0d1220;
    --brd: rgba(148,163,184,.08);
    --brdh: rgba(148,163,184,.16);
    --acc: #818cf8;
    --accc: #6366f1;
    --accd: #4f46e5;
    --accg: rgba(99,102,241,.12);
    --accgs: rgba(99,102,241,.25);
    --warm: #f59e0b;
    --cyan: #22d3ee;
    --red: #f43f5e;
    --redg: rgba(244,63,94,.1);
    --gold: #fbbf24;
    --silver: #94a3b8;
    --t0: #f1f5f9;
    --t1: #cbd5e1;
    --t2: #94a3b8;
    --t3: #64748b;
    --t4: #475569;
    --rs: 6px;
    --rm: 10px;
    --rl: 16px;
    --ease: cubic-bezier(.4, 0, .2, 1);
    --font: 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --pc: 99, 102, 241;
    --smooth: .3s;
    --bgTint: rgba(99,102,241,.04);
    --bgTint2: rgba(99,102,241,.02);
}

/* ========================================
   Цветовые темы
   ======================================== */

[data-color="indigo"] {
    --acc:#818cf8; --accc:#6366f1; --accd:#4f46e5;
    --accg:rgba(99,102,241,.12); --accgs:rgba(99,102,241,.25);
    --pc:99,102,241; --bg0:#060810;
    --bgTint:rgba(99,102,241,.04); --bgTint2:rgba(99,102,241,.02);
}

[data-color="amethyst"] {
    --acc:#c084fc; --accc:#a855f7; --accd:#9333ea;
    --accg:rgba(168,85,247,.12); --accgs:rgba(168,85,247,.25);
    --pc:168,85,247; --bg0:#0a0615;
    --bgTint:rgba(168,85,247,.04); --bgTint2:rgba(168,85,247,.02);
}

[data-color="ocean"] {
    --acc:#38bdf8; --accc:#0ea5e9; --accd:#0284c7;
    --accg:rgba(14,165,233,.12); --accgs:rgba(14,165,233,.25);
    --pc:14,165,233; --bg0:#040c14;
    --bgTint:rgba(14,165,233,.04); --bgTint2:rgba(14,165,233,.02);
}

[data-color="crimson"] {
    --acc:#fb7185; --accc:#f43f5e; --accd:#e11d48;
    --accg:rgba(244,63,94,.12); --accgs:rgba(244,63,94,.25);
    --pc:244,63,94; --bg0:#100408;
    --bgTint:rgba(244,63,94,.04); --bgTint2:rgba(244,63,94,.02);
}

[data-color="emerald"] {
    --acc:#34d399; --accc:#10b981; --accd:#059669;
    --accg:rgba(16,185,129,.12); --accgs:rgba(16,185,129,.25);
    --pc:16,185,129; --bg0:#040f0a;
    --bgTint:rgba(16,185,129,.04); --bgTint2:rgba(16,185,129,.02);
}

[data-color="sunset"] {
    --acc:#fbbf24; --accc:#f59e0b; --accd:#d97706;
    --accg:rgba(245,158,11,.12); --accgs:rgba(245,158,11,.25);
    --pc:245,158,11; --bg0:#100c04;
    --bgTint:rgba(245,158,11,.04); --bgTint2:rgba(245,158,11,.02);
}

[data-color="sakura"] {
    --acc:#f472b6; --accc:#ec4899; --accd:#db2777;
    --accg:rgba(236,72,153,.12); --accgs:rgba(236,72,153,.25);
    --pc:236,72,153; --bg0:#10040a;
    --bgTint:rgba(236,72,153,.04); --bgTint2:rgba(236,72,153,.02);
}

[data-color="cyber"] {
    --acc:#22d3ee; --accc:#06b6d4; --accd:#0891b2;
    --accg:rgba(6,182,212,.12); --accgs:rgba(6,182,212,.25);
    --pc:6,182,212; --bg0:#041012;
    --bgTint:rgba(6,182,212,.04); --bgTint2:rgba(6,182,212,.02);
}

body.light {
    --bg0:#f4f6fb; --bg1:#edf0f7; --bg2:#fff; --bg3:#e2e8f0; --bg4:#cbd5e1;
    --bgi:#f1f5f9; --brd:rgba(15,23,42,.07); --brdh:rgba(15,23,42,.13);
    --t0:#0f172a; --t1:#1e293b; --t2:#475569; --t3:#64748b; --t4:#94a3b8;
    --bgTint:rgba(var(--pc),.03); --bgTint2:rgba(var(--pc),.02);
}

/* ========================================
   Базовые стили
   ======================================== */

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--bg4) var(--bg0);
    -webkit-text-size-adjust: 100%;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 5px; }

body {
    font-family: var(--font);
    background: var(--bg0);
    color: var(--t0);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background var(--smooth), color var(--smooth);
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
}

a {
    color: var(--acc);
    text-decoration: none;
    transition: color .3s, filter .3s;
}

a:hover { filter: brightness(1.2); }
img { max-width: 100%; display: block; }

button {
    font-family: var(--font);
    cursor: pointer;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

input, textarea, select {
    font-family: var(--font);
    outline: none;
    font-size: 16px;
}

::selection {
    background: var(--accc);
    color: #fff;
}

/* ========================================
   Фоновые элементы
   ======================================== */

#pc {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity .8s;
}

#pc.off { opacity: 0; }

.bg-r {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 500px 400px at 50% 10%, var(--bgTint), transparent),
                radial-gradient(ellipse 400px 350px at 85% 30%, var(--bgTint2), transparent),
                radial-gradient(ellipse 450px 400px at 15% 50%, var(--bgTint2), transparent),
                radial-gradient(ellipse 500px 400px at 75% 70%, var(--bgTint), transparent),
                radial-gradient(ellipse 400px 350px at 30% 90%, var(--bgTint2), transparent);
    transition: background 1s;
}

.bg-g {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(148,163,184,.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(148,163,184,.015) 1px, transparent 1px);
    background-size: 72px 72px;
}

/* ========================================
   Прелоадер
   ======================================== */

.prel {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 28px;
    transition: opacity .8s, visibility .8s;
}

.prel.h {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.prel-b {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prel-i {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accc), var(--acc));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    animation: pp 2s infinite;
}

@keyframes pp {
    0%, 100% { box-shadow: 0 0 0 rgba(var(--pc), 0); }
    50% { box-shadow: 0 0 20px rgba(var(--pc), .3); }
}

.prel-t {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.prel-t span {
    color: var(--t3);
    font-weight: 400;
}

.prel-l {
    width: 180px;
    height: 2px;
    background: var(--bg3);
    border-radius: 2px;
    overflow: hidden;
}

.prel-l span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accc), var(--acc));
    animation: pl 1s ease forwards;
}

@keyframes pl { to { width: 100%; } }

/* ========================================
   Корона (Элита)
   ======================================== */

.crown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.crown svg { width: 100%; height: 100%; }

.crown-gold svg {
    fill: var(--gold);
    filter: drop-shadow(0 0 4px rgba(251,191,36,.4));
}

.crown-silver svg {
    fill: var(--silver);
    filter: drop-shadow(0 0 4px rgba(148,163,184,.3));
}

/* ========================================
   Кнопки
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: var(--rm);
    font-size: .85rem;
    font-weight: 600;
    transition: all .25s var(--ease);
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,.1), transparent);
    opacity: 0;
    transition: opacity .25s;
}

.btn:hover::after { opacity: 1; }

.btn-p {
    background: linear-gradient(135deg, var(--accc), var(--acc));
    color: #fff;
    box-shadow: 0 2px 12px var(--accgs);
}

.btn-p:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--accgs);
    color: #fff;
}

.btn-g {
    background: rgba(255,255,255,.04);
    color: var(--t1);
    border: 1px solid var(--brd);
}

.btn-g:hover {
    border-color: var(--brdh);
    transform: translateY(-2px);
    color: var(--t0);
}

.btn-sm { padding: 7px 14px; font-size: .78rem; min-height: 36px; }
.btn-xs { padding: 6px 12px; font-size: .72rem; border-radius: 4px; min-height: 32px; }
.btn-d { background: var(--red); color: #fff; }
.btn-d:hover { filter: brightness(1.1); }
body.light .btn-g { background: rgba(0,0,0,.03); }

/* ========================================
   Секции и контент
   ======================================== */

.sec {
    padding: clamp(30px, 5vw, 60px) clamp(12px, 3vw, 32px);
    max-width: 1100px;
    margin: 0 auto;
}

.sec-t {
    font-size: clamp(1.2rem, 2.5vw, 1.9rem);
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -.5px;
}

.sec-d {
    color: var(--t2);
    max-width: 550px;
    margin-bottom: 28px;
    font-size: clamp(.82rem, 2vw, .92rem);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brdh), transparent);
    margin: 36px auto;
    max-width: 600px;
}

/* ========================================
   Карточки
   ======================================== */

.card {
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: var(--rl);
    padding: clamp(16px, 3vw, 22px);
    transition: all .35s var(--ease);
    position: relative;
}

.card:hover {
    border-color: var(--brdh);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,.18);
}

.cg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 14px;
}

.cg3 {
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
}

/* ========================================
   Reveal анимация
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s cubic-bezier(.25, .46, .45, .94), transform .8s cubic-bezier(.25, .46, .45, .94);
}

.reveal.r {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .4s; }

.empty-s {
    text-align: center;
    padding: 40px 16px;
    color: var(--t4);
}

.empty-s i {
    font-size: 2rem;
    margin-bottom: 14px;
    opacity: .35;
}

/* ========================================
   Хедер
   ======================================== */

.hdr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 clamp(10px, 2vw, 32px);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(6,8,13,.5);
    backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid transparent;
    transition: all .4s var(--ease);
}

body.light .hdr { background: rgba(244,246,251,.7); }

.hdr.scr {
    background: rgba(6,8,13,.85);
    border-bottom-color: var(--brd);
}

body.light .hdr.scr { background: rgba(244,246,251,.9); }

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.logo-m {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--accc), var(--acc));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .8rem;
    color: #fff;
    transition: all .25s var(--ease);
}

.logo:hover .logo-m {
    transform: rotate(-8deg) scale(1.1);
    box-shadow: 0 0 15px rgba(var(--pc),.3);
}

.logo-t {
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-t span {
    color: var(--t3);
    font-weight: 400;
    margin-left: 2px;
}

.hdr-c {
    display: flex;
    gap: 2px;
    align-items: center;
}

.nl {
    padding: 7px 12px;
    border-radius: var(--rs);
    font-size: .76rem;
    font-weight: 500;
    color: var(--t2);
    background: none;
    transition: all .25s var(--ease);
    white-space: nowrap;
}

.nl:hover {
    color: var(--t0);
    background: rgba(255,255,255,.04);
}

.nl.a {
    color: var(--acc);
    background: var(--accg);
}

.hdr-r {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.hb {
    width: 36px;
    height: 36px;
    border-radius: var(--rs);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.04);
    color: var(--t2);
    font-size: .82rem;
    transition: all .25s var(--ease);
    border: 1px solid var(--brd);
    position: relative;
}

body.light .hb { background: rgba(0,0,0,.04); }

.hb:hover {
    color: var(--t0);
    border-color: var(--brdh);
    transform: scale(1.05);
}

.hb.act {
    color: var(--acc);
    border-color: rgba(var(--pc),.3);
    background: var(--accg);
}

.burg {
    display: none;
    background: none;
    color: var(--t1);
    font-size: 1.2rem;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
}

/* ========================================
   Дропдаун палитры
   ======================================== */

.tdd {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 200px;
    padding: 8px;
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: var(--rl);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .25s var(--ease);
    z-index: 110;
}

.tdd.o {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.topt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--rm);
    cursor: pointer;
    transition: all .2s var(--ease);
    font-size: .82rem;
    font-weight: 500;
    color: var(--t2);
    width: 100%;
    background: none;
    min-height: 40px;
}

.topt:hover {
    background: rgba(255,255,255,.04);
    color: var(--t0);
}

.topt.a {
    background: var(--accg);
    color: var(--acc);
}

.tdot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========================================
   Элита
   ======================================== */

.elite-card {
    position: relative;
    overflow: hidden;
    padding: clamp(14px, 2.5vw, 20px);
    border-radius: var(--rl);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all .35s var(--ease);
}

.elite-card.gold {
    background: linear-gradient(135deg, rgba(251,191,36,.06), rgba(245,158,11,.02));
    border: 1px solid rgba(251,191,36,.15);
}

.elite-card.gold:hover {
    border-color: rgba(251,191,36,.35);
    transform: translateY(-4px);
}

.elite-card.silver {
    background: linear-gradient(135deg, rgba(148,163,184,.06), rgba(100,116,139,.02));
    border: 1px solid rgba(148,163,184,.15);
}

.elite-card.silver:hover {
    border-color: rgba(148,163,184,.35);
    transform: translateY(-4px);
}

.elite-av {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    overflow: hidden;
    transition: all .25s var(--ease);
}

.elite-card:hover .elite-av { transform: scale(1.05); }

.elite-av.gold-bg { background: linear-gradient(135deg, #fbbf24, #d97706); }
.elite-av.silver-bg { background: linear-gradient(135deg, #94a3b8, #64748b); }
.elite-av img { width: 100%; height: 100%; object-fit: cover; }

.elite-nm { font-weight: 800; font-size: .95rem; }

.elite-nm.gold-t {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.elite-nm.silver-t {
    background: linear-gradient(90deg, #cbd5e1, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========================================
   Персонал
   ======================================== */

.staff-card-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: clamp(14px, 2.5vw, 18px);
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: var(--rl);
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
}

.staff-card-v2:hover {
    border-color: var(--brdh);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,.15);
}

.staff-av {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem;
    color: #fff;
    overflow: hidden;
    transition: all .25s var(--ease);
}

.staff-card-v2:hover .staff-av { transform: scale(1.05); }
.staff-av img { width: 100%; height: 100%; object-fit: cover; }
.staff-nm { font-weight: 700; font-size: .88rem; }

.staff-dc {
    font-size: .72rem;
    color: var(--t3);
    font-family: var(--mono);
    display: flex;
    align-items: center;
    gap: 4px;
    word-break: break-all;
}

.staff-dc i { color: #7c85f6; font-size: .65rem; flex-shrink: 0; }

.staff-badge {
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #fff;
    background-size: 200% 200%;
    animation: shimmer 3s ease infinite;
}

.staff-grp { margin-bottom: 28px; }

.staff-grp-t {
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.staff-g {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 10px;
}

.rb-owner { background: linear-gradient(90deg, #ef4444, #dc2626, #ef4444); background-size: 200% 200%; }
.rb-head { background: linear-gradient(90deg, #34d399, #06b6d4, #34d399); background-size: 200% 200%; }
.rb-discord_head { background: linear-gradient(90deg, #818cf8, #a855f7, #6366f1, #818cf8); background-size: 300% 200%; animation: shimmer 2.5s ease infinite; }
.rb-curator { background: linear-gradient(90deg, #fb7185, #fda4af, #fecdd3, #fda4af, #fb7185); background-size: 300% 200%; }
.rb-chief_admin { background: linear-gradient(90deg, #f87171, #60a5fa, #f87171); background-size: 200% 200%; }
.rb-special_admin { background: linear-gradient(90deg, #fb923c, #fed7aa, #fb923c); background-size: 200% 200%; }
.rb-senior_admin { background: linear-gradient(90deg, #c084fc, #e9d5ff, #c084fc); background-size: 200% 200%; }
.rb-admin { background: linear-gradient(90deg, #f9a8d4, #9ca3af, #f9a8d4); background-size: 200% 200%; }

.rbg-owner { background: linear-gradient(135deg, #ef4444, #dc2626); }
.rbg-head { background: linear-gradient(135deg, #34d399, #06b6d4); }
.rbg-discord_head { background: linear-gradient(135deg, #818cf8, #a855f7); }
.rbg-curator { background: linear-gradient(135deg, #fb7185, #fecdd3); }
.rbg-chief_admin { background: linear-gradient(135deg, #f87171, #60a5fa); }
.rbg-special_admin { background: linear-gradient(135deg, #fb923c, #fed7aa); }
.rbg-senior_admin { background: linear-gradient(135deg, #c084fc, #e9d5ff); }
.rbg-admin { background: linear-gradient(135deg, #f9a8d4, #9ca3af); }

/* ========================================
   Админы сайта
   ======================================== */

.sa-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: clamp(14px, 2.5vw, 18px);
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: var(--rl);
    transition: all .35s var(--ease);
}

.sa-card:hover {
    border-color: var(--brdh);
    transform: translateY(-3px);
}

.sa-av {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accc), var(--acc));
}

.sa-av img { width: 100%; height: 100%; object-fit: cover; }
.sa-nm { font-weight: 700; font-size: .88rem; }
.sa-role { font-size: .72rem; color: var(--t3); }

/* ========================================
   Страницы
   ======================================== */

.page {
    display: none;
    min-height: 100vh;
    padding-top: 56px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.25, .46, .45, .94), transform .6s cubic-bezier(.25, .46, .45, .94);
    position: relative;
    z-index: 1;
}

.page.active { display: block; }

.page.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Формы
   ======================================== */

.fg { display: grid; grid-template-columns: 1fr; gap: 12px; }
.fgroup { display: flex; flex-direction: column; gap: 5px; }
.fgroup.full { grid-column: 1 / -1; }

.flabel {
    font-size: .75rem;
    font-weight: 600;
    color: var(--t3);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.finput, .ftarea {
    padding: 11px 13px;
    border-radius: var(--rs);
    background: var(--bgi);
    border: 1px solid var(--brd);
    color: var(--t0);
    font-size: 16px;
    transition: all .25s;
    width: 100%;
}

.finput:focus, .ftarea:focus {
    border-color: var(--accc);
    box-shadow: 0 0 0 4px var(--accg);
}

.ftarea { resize: vertical; min-height: 70px; }

.file-up {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.file-up input[type=file] { display: none; }

.file-up-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--rs);
    background: var(--bg3);
    color: var(--t1);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    border: 1px solid var(--brd);
    min-height: 44px;
}

.file-up-label:hover {
    border-color: var(--brdh);
    background: var(--bg4);
}

.file-preview { margin-top: 8px; }
.file-preview img, .file-preview video { max-height: 120px; border-radius: var(--rs); }

/* ========================================
   Лайтбокс
   ======================================== */

.lbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0,0,0,.95);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .4s;
    cursor: zoom-out;
    padding: 12px;
}

.lbox.o { opacity: 1; visibility: visible; }

.lbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--rm);
    transform: scale(.9);
    transition: transform .4s var(--ease);
    cursor: default;
}

.lbox.o img { transform: scale(1); }

.lbox-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s var(--ease);
    border: 1px solid rgba(255,255,255,.1);
}

.lbox-x:hover { background: rgba(255,255,255,.25); }

/* ========================================
   Модалка игр
   ======================================== */

.gmod {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(0,0,0,.9);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .4s;
    padding: 12px;
}

.gmod.o { opacity: 1; visibility: visible; }

.gmod-box {
    width: min(600px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: var(--rl);
    padding: clamp(18px, 4vw, 32px);
    transform: scale(.95);
    transition: transform .4s var(--ease);
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.gmod.o .gmod-box { transform: scale(1); }

/* ========================================
   Категории публикаций
   ======================================== */

.ev-cat {
    padding: 3px 9px;
    border-radius: 50px;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}

.cat-news { background: rgba(59,130,246,.1); color: #60a5fa; }
.cat-events { background: rgba(244,63,94,.1); color: #fb7185; }
.cat-guide { background: rgba(34,211,238,.1); color: #22d3ee; }
.cat-update { background: rgba(245,158,11,.1); color: #f59e0b; }

/* ========================================
   Публикации и медиа
   ======================================== */

.pub-img-box {
    width: 100%;
    height: clamp(120px, 25vw, 170px);
    border-radius: var(--rm);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--bg1), var(--bg3));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t4);
    font-size: 1.5rem;
    overflow: hidden;
    cursor: pointer;
}

.pub-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.card:hover .pub-img-box img { transform: scale(1.05); }

.mc-prev {
    width: 100%;
    height: clamp(140px, 30vw, 190px);
    background: var(--bg1);
    border-radius: var(--rm);
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.mc-prev img, .mc-prev video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.card:hover .mc-prev img { transform: scale(1.05); }

.mc-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0,0,0,.65);
    color: #fff;
    backdrop-filter: blur(6px);
}

.mg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: 14px;
}

.pub-flt {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.flt-btn {
    padding: 7px 14px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 500;
    background: var(--bg2);
    color: var(--t2);
    border: 1px solid var(--brd);
    cursor: pointer;
    transition: all .25s var(--ease);
    min-height: 36px;
}

.flt-btn:hover {
    background: var(--bg3);
    color: var(--t1);
}

.flt-btn.a {
    background: var(--accg);
    color: var(--acc);
    border-color: rgba(var(--pc),.2);
}

/* ========================================
   Карта
   ======================================== */

.map-sec {
    padding: 0 clamp(12px, 3vw, 32px);
    max-width: 1100px;
    margin: 0 auto 20px;
}

.map-frame {
    padding: 3px;
    background: linear-gradient(135deg, var(--accc), var(--cyan), var(--acc));
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(var(--pc),.1);
}

.map-inner {
    border-radius: 13px;
    overflow: hidden;
    background: var(--bg0);
}

.map-vp {
    width: 100%;
    height: clamp(220px, 50vw, 480px);
    overflow: hidden;
}

.map-vp iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    transform-origin: center;
    transition: transform .5s var(--ease);
}

.map-ctrl {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.map-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--rs);
    background: var(--bg2);
    border: 1px solid var(--brd);
    color: var(--t2);
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s var(--ease);
}

.map-btn:hover {
    color: var(--t0);
    border-color: var(--brdh);
}

.map-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.map-btn:disabled:hover {
    color: var(--t2);
    border-color: var(--brd);
}

.pip-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--rs);
    background: var(--bg2);
    border: 1px solid var(--brd);
    color: var(--t2);
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s var(--ease);
    min-height: 36px;
}

.pip-btn:hover {
    border-color: var(--brdh);
    color: var(--t0);
}

.pip-btn i { color: var(--acc); }

/* ========================================
   Ресурсы
   ======================================== */

.res-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: clamp(14px, 2.5vw, 18px);
    cursor: pointer;
    text-decoration: none;
    color: var(--t0);
}

.res-card:hover { color: var(--t0); }

.res-ic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all .25s var(--ease);
}

.card:hover .res-ic { transform: scale(1.05); }

.res-ic.gitbook { background: rgba(59,130,246,.1); color: #60a5fa; }
.res-ic.telegram { background: rgba(0,136,204,.1); color: #29b6f6; }
.res-ic.website { background: rgba(var(--pc),.1); color: var(--acc); }
.res-ic.discord { background: rgba(88,101,242,.1); color: #7c85f6; }
.res-ic.server { background: rgba(245,158,11,.1); color: #f59e0b; }
.res-ic.inform { background: rgba(var(--pc),.1); color: var(--acc); }

.res-nm { font-weight: 700; font-size: .85rem; }

.res-url {
    font-size: .7rem;
    color: var(--t3);
    font-family: var(--mono);
    word-break: break-all;
}

.res-act {
    margin-left: auto;
    padding: 6px 10px;
    border-radius: var(--rs);
    background: rgba(255,255,255,.03);
    color: var(--t3);
    font-size: .7rem;
    font-weight: 600;
    transition: all .25s;
    border: 1px solid var(--brd);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ========================================
   Игры (Морской бой / Сапёр)
   ======================================== */

.bf-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2px;
    max-width: min(400px, 100%);
    margin: 12px auto;
}

.bf-cell {
    aspect-ratio: 1;
    border-radius: 3px;
    border: 1px solid var(--brd);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: crosshair;
    transition: all .15s;
    font-size: clamp(.65rem, 2vw, .9rem);
    background: var(--bg3);
    min-height: 0;
}

.bf-cell:hover {
    border-color: var(--acc);
    background: var(--bg4);
}

.bf-cell.hit {
    background: rgba(244,63,94,.2);
    border-color: rgba(244,63,94,.3);
}

.bf-cell.miss {
    background: rgba(99,102,241,.1);
    border-color: rgba(99,102,241,.2);
}

/* ========================================
   Правила
   ======================================== */

.rules-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rules-container .rule-blk {
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: var(--rl);
    padding: clamp(16px, 3vw, 24px);
    transition: all .35s var(--ease);
}

.rules-container .rule-blk:hover {
    border-color: var(--brdh);
    transform: translateY(-2px);
}

.rules-container .rule-blk.full-width {
    grid-column: 1 / -1;
}

.rule-blk h3 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rule-ic {
    width: 32px;
    height: 32px;
    border-radius: var(--rm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}

.rule-ic.ok { background: var(--accg); color: var(--acc); }
.rule-ic.no { background: var(--redg); color: var(--red); }
.rule-ic.inf { background: rgba(34,211,238,.1); color: #22d3ee; }

.rl {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rl li {
    padding: 10px 14px;
    background: var(--bgi);
    border: 1px solid var(--brd);
    border-radius: var(--rm);
    font-size: .82rem;
    color: var(--t2);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
    transition: all .3s var(--ease);
}

.rl li:hover {
    border-color: var(--brdh);
    transform: translateX(4px);
}

.ri { margin-top: 3px; flex-shrink: 0; font-size: .7rem; }
.ri.ok { color: var(--acc); }
.ri.no { color: var(--red); }
.ri.inf { color: #22d3ee; }

/* ========================================
   Медиа форма
   ======================================== */

.mf-box {
    padding: clamp(18px, 3vw, 28px);
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: var(--rl);
    margin-bottom: 28px;
}

.mf-box h3 {
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mf-box h3 i { color: var(--acc); }

/* ========================================
   Админ-панель авторизация
   ======================================== */

.adm-auth-ov {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .4s var(--ease);
    padding: 16px;
}

.adm-auth-ov.o {
    opacity: 1;
    visibility: visible;
}

.adm-auth-box {
    width: min(400px, 100%);
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: var(--rl);
    padding: clamp(24px, 5vw, 36px);
    transform: scale(.9) translateY(20px);
    transition: all .4s var(--ease);
    position: relative;
}

.adm-auth-ov.o .adm-auth-box {
    transform: scale(1) translateY(0);
}

.adm-auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.adm-auth-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accc), var(--acc));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: 0 4px 20px var(--accgs);
}

.adm-auth-header h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.adm-auth-header p {
    font-size: .82rem;
    color: var(--t3);
}

.adm-pass-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.adm-pass-wrap input {
    width: 100%;
    padding: 12px 44px 12px 14px;
    border-radius: var(--rm);
    background: var(--bgi);
    border: 1px solid var(--brd);
    color: var(--t0);
    font-size: 16px;
    transition: all .25s;
}

.adm-pass-wrap input:focus {
    border-color: var(--accc);
    box-shadow: 0 0 0 4px var(--accg);
}

.adm-pass-toggle {
    position: absolute;
    right: 4px;
    width: 36px;
    height: 36px;
    border-radius: var(--rs);
    background: none;
    color: var(--t3);
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .25s;
}

.adm-pass-toggle:hover { color: var(--t0); }

.adm-auth-error {
    font-size: .75rem;
    color: var(--red);
    margin-top: 6px;
    min-height: 18px;
    transition: all .25s;
}

.adm-auth-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: none;
    color: var(--t3);
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s var(--ease);
}

.adm-auth-close:hover {
    color: var(--t0);
    transform: rotate(90deg);
}

/* ========================================
   Админ-панель
   ======================================== */

.adm-ov {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all .4s;
}

.adm-ov.o { opacity: 1; visibility: visible; }

.adm-pn {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(540px, 100vw);
    z-index: 201;
    background: var(--bg1);
    border-left: 1px solid var(--brd);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.adm-pn.o { transform: translateX(0); }

.adm-hd {
    padding: 14px 16px;
    border-bottom: 1px solid var(--brd);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.adm-hd h2 {
    font-size: .95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.adm-hd h2 i { color: var(--acc); }

.adm-x {
    background: none;
    color: var(--t3);
    font-size: 1.1rem;
    padding: 8px;
    transition: all .25s var(--ease);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adm-x:hover {
    color: var(--t0);
    transform: rotate(90deg);
}

.adm-tabs {
    display: flex;
    border-bottom: 1px solid var(--brd);
    padding: 0 16px;
    flex-shrink: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.adm-tab {
    padding: 11px 10px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--t4);
    background: none;
    border-bottom: 2px solid transparent;
    transition: all .25s;
    white-space: nowrap;
    min-height: 40px;
}

.adm-tab:hover { color: var(--t2); }

.adm-tab.a {
    color: var(--acc);
    border-bottom-color: var(--acc);
}

.adm-body {
    flex: 1;
    overflow-y: auto;
    padding: clamp(14px, 3vw, 22px);
    -webkit-overflow-scrolling: touch;
}

.af { margin-bottom: 14px; }

.af label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    color: var(--t3);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.af input, .af textarea, .af select {
    width: 100%;
    padding: 10px 13px;
    border-radius: var(--rs);
    background: var(--bgi);
    border: 1px solid var(--brd);
    color: var(--t0);
    font-size: 16px;
    transition: all .25s;
}

.af input:focus, .af textarea:focus {
    border-color: var(--accc);
    box-shadow: 0 0 0 4px var(--accg);
}

.af textarea { resize: vertical; min-height: 60px; }
.af select { cursor: pointer; }
.af select option { background: var(--bg2); }

.ai {
    padding: 12px;
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: var(--rm);
    margin-bottom: 8px;
    transition: all .25s;
}

.ai:hover { border-color: var(--brdh); }

.aih {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ait { font-weight: 600; font-size: .82rem; word-break: break-word; }
.aim { font-size: .68rem; color: var(--t4); font-family: var(--mono); }
.aia { display: flex; gap: 5px; flex-shrink: 0; }

.adm-media-preview {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 6px;
    background: var(--bg3);
}

.adm-media-preview img, .adm-media-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adm-av-preview {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg3);
    margin-right: 6px;
    flex-shrink: 0;
}

.adm-av-preview img { width: 100%; height: 100%; object-fit: cover; }

.adm-file-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.adm-file-row input[type=file] { display: none; }

.adm-file-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 4px;
    background: var(--bg3);
    color: var(--t2);
    font-size: .72rem;
    cursor: pointer;
    border: 1px solid var(--brd);
    transition: all .25s;
    min-height: 36px;
}

.adm-file-label:hover { border-color: var(--brdh); }

.adm-file-prev {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg3);
}

.adm-file-prev img { width: 100%; height: 100%; object-fit: cover; }

/* ========================================
   Футер
   ======================================== */

.footer {
    padding: 24px clamp(12px, 3vw, 32px);
    border-top: 1px solid var(--brd);
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.footer-in {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.f-logo {
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: 1.5px;
    color: var(--t1);
    margin-bottom: 2px;
}

.f-copy { font-size: .7rem; color: var(--t4); }

.footer-r {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fl {
    color: var(--t3);
    font-size: 1.1rem;
    transition: all .25s var(--ease);
    padding: 6px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fl:hover { color: var(--acc); }

.at {
    background: none;
    color: var(--t4);
    font-size: .7rem;
    opacity: .35;
    transition: opacity .25s;
    padding: 6px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.at:hover { opacity: .7; }

/* ========================================
   Тосты
   ======================================== */

.toast-c {
    position: fixed;
    bottom: 16px;
    right: 12px;
    left: 12px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    pointer-events: none;
}

.toast {
    padding: 12px 16px;
    border-radius: var(--rm);
    background: var(--bg3);
    border: 1px solid var(--brd);
    font-size: .82rem;
    font-weight: 500;
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(120%);
    transition: all .4s var(--ease);
    max-width: min(340px, 100%);
    pointer-events: auto;
}

.toast.show { transform: translateX(0); }
.toast.success { border-left: 3px solid var(--acc); }
.toast.error { border-left: 3px solid var(--red); }
.toast.info { border-left: 3px solid #22d3ee; }

/* ========================================
   Hero секция
   ======================================== */

.hero {
    padding: clamp(40px, 8vw, 110px) clamp(12px, 3vw, 32px) clamp(40px, 6vw, 70px);
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 14px;
    letter-spacing: -1px;
}

.hero h1 .gr {
    background: linear-gradient(135deg, var(--t0), var(--acc) 60%, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(.88rem, 2.2vw, 1.05rem);
    color: var(--t2);
    max-width: 620px;
    margin: 0 auto 24px;
    line-height: 1.7;
    text-align: center;
    position: relative;
}

.hero-sub-sizer {
    visibility: hidden;
    display: block;
    pointer-events: none;
    user-select: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-sub-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.hero-sub-inner {
    display: inline;
}

.tw-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--acc);
    margin-left: 1px;
    vertical-align: text-bottom;
    animation: cb .7s step-end infinite;
}

@keyframes cb {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-acts {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(300px, 60vw, 600px);
    height: clamp(300px, 60vw, 600px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--pc),.07), transparent 70%);
    pointer-events: none;
    filter: blur(40px);
    z-index: -1;
}

/* ========================================
   Мобильное меню
   ======================================== */

.mob-ov {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all .4s;
}

.mob-ov.o { opacity: 1; visibility: visible; }

.mob-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(280px, 80vw);
    z-index: 100;
    background: var(--bg1);
    border-left: 1px solid var(--brd);
    padding: 68px 16px 16px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    display: none;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mob-menu.o { transform: translateX(0); }

.mob-menu .nl {
    padding: 12px 14px;
    font-size: .85rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mob-ex {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--brd);
    flex-wrap: wrap;
}

/* ========================================
   Адаптивность
   ======================================== */

@media (max-width: 900px) {
    .hdr-c { display: none; }
    .burg { display: flex; align-items: center; justify-content: center; }
    .mob-menu { display: flex; }
    .mob-ov { display: block; }
}

@media (max-width: 768px) {
    .fg { grid-template-columns: 1fr; }
    .cg, .cg3, .mg, .staff-g { grid-template-columns: 1fr; }
    .rules-container { grid-template-columns: 1fr; }
    .map-vp { height: 250px; }
    .footer-in { flex-direction: column; text-align: center; }
    .footer-r { justify-content: center; }
    .card:hover { transform: none; }
    .staff-card-v2:hover { transform: none; }
    .elite-card:hover { transform: none; }
    .sa-card:hover { transform: none; }
    .tdd { right: -40px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; letter-spacing: -.5px; }
    .hero-acts { flex-direction: column; align-items: stretch; }
    .hero-acts .btn { justify-content: center; }
    .sec { padding: 24px 12px; }
    .map-vp { height: 200px; }
    .map-ctrl { gap: 4px; }
    .map-btn { width: 32px; height: 32px; font-size: .75rem; }
    .bf-grid { gap: 1px; }
    .pub-flt { gap: 4px; }
    .flt-btn { padding: 6px 12px; font-size: .72rem; }
    .prel-t { font-size: 1rem; letter-spacing: 2px; }
    .logo-t { font-size: .78rem; letter-spacing: 1px; }
    .divider { margin: 28px auto; }
}

@media (max-width: 360px) {
    .hero h1 { font-size: 1.5rem; }
    .logo-t span { display: none; }
    .hdr-r { gap: 3px; }
    .hb { width: 34px; height: 34px; }
}

@media (hover: none) {
    .card:hover { transform: none; box-shadow: none; }
    .staff-card-v2:hover { transform: none; box-shadow: none; }
    .elite-card:hover { transform: none; }
    .sa-card:hover { transform: none; }
    .btn-p:hover { transform: none; }
    .btn-g:hover { transform: none; }
    .card:active { border-color: var(--brdh); }
    .btn-p:active { transform: scale(.97); }
    .btn-g:active { transform: scale(.97); }
}