/* ==========================================================
   ELON RUST — лендинг
   Цвета и шрифты совпадают с темой магазина GameStores (red_black)
   ========================================================== */
:root {
    --accent-800: #8f2e1d;
    --accent-900: #7a281a;
    --accent-hot: #b8402e;
    --accent-light: #ff8a70;
    --accent-gradient: linear-gradient(135deg, #d24a33 0%, #b8402e 40%, #7a281a 100%);

    --pve: #7bc043;
    --pve-dark: #3f6f1d;
    --pvp: #e0412b;

    --font-700: #fff;
    --font-800: rgba(255, 255, 255, .72);
    --font-900: #8a8a8a;

    --bg: #070707;
    --bg-700: #121212;
    --bg-800: #1b1b1b;
    --bg-900: #1d1b1a;

    --border: 1px solid rgba(255, 255, 255, .07);
    --radius: 12px;
    --radius-lg: 16px;
    --cut: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
    --shadow-md: 0 14px 34px rgba(0, 0, 0, .55);
    --glow: 0 0 0 1px rgba(143, 46, 29, .6), 0 8px 24px rgba(143, 46, 29, .35);
    --ease: cubic-bezier(.4, 0, .2, 1);

    --font: "Montserrat", system-ui, sans-serif;
    --mono: "Share Tech Mono", ui-monospace, monospace;
    --header-h: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 10px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--font-800);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--font-700); margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent-800); color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-700); }
::-webkit-scrollbar-thumb { background: var(--accent-900); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-800); }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }

.container { width: 1240px; max-width: 100%; margin: 0 auto; padding: 0 20px; }
.container--narrow { width: 900px; }

/* Плёночное зерно поверх всего */
.grain {
    position: fixed;
    inset: -50%;
    z-index: 100;
    pointer-events: none;
    opacity: .06;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    animation: grain 1s steps(4) infinite;
}

@keyframes grain {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-3%, 2%); }
    50% { transform: translate(2%, -3%); }
    75% { transform: translate(-1%, 3%); }
    100% { transform: translate(0, 0); }
}

/* ================= КНОПКИ ================= */
.btn {
    --btn-cut: 10px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border: 0;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    clip-path: polygon(var(--btn-cut) 0, 100% 0, 100% calc(100% - var(--btn-cut)), calc(100% - var(--btn-cut)) 100%, 0 100%, 0 var(--btn-cut));
    transition: transform .2s var(--ease), filter .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.btn--sm { padding: 9px 16px; font-size: 12px; --btn-cut: 8px; }
.btn--lg { padding: 17px 32px; font-size: 15px; --btn-cut: 12px; }

.btn--accent {
    background: var(--accent-gradient);
    box-shadow: 0 6px 20px rgba(143, 46, 29, .45);
}

.btn--accent::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: sweep 4.5s ease-in-out infinite;
}

.btn--ghost {
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.btn--discord { background: #5865f2; }
.btn--pve { background: linear-gradient(135deg, #8fd14f, #3f6f1d); }

.btn[disabled], .btn.is-disabled {
    background: #2a2a2a;
    color: var(--font-900);
    cursor: not-allowed;
    box-shadow: none;
}

.btn[disabled]::after, .btn.is-disabled::after { display: none; }

@keyframes sweep {
    0%, 60% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

/* ================= ШАПКА ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--header-h);
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}

.header.is-scrolled {
    --header-h: 62px;
    background: rgba(10, 10, 10, .78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

.header.is-scrolled::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 112, .55), transparent);
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.brand__img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--accent-800), 0 0 16px rgba(184, 64, 46, .5);
}

.brand__text {
    font-weight: 900;
    font-style: italic;
    font-size: 20px;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
}

.brand__text b {
    background: linear-gradient(90deg, #ff6a4d, #ff8a70);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.nav a {
    position: relative;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--font-800);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}

.nav a.is-active { color: #fff; }
.nav a.is-active::after { transform: scaleX(1); }

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.burger span {
    width: 20px;
    height: 2px;
    background: #fff;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= HERO ================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 40px) 0 90px;
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: -6% 0 -6% 0;
    z-index: -3;
    background: url("../assets/img/bg-base.jpg") center 40% / cover no-repeat;
    transform: scale(1.06);
    animation: kenburns 30s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes kenburns {
    from { transform: scale(1.06); }
    to { transform: scale(1.14) translateX(-1.5%); }
}

.hero__embers {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero__shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(7, 7, 7, .92) 0%, rgba(7, 7, 7, .7) 35%, rgba(7, 7, 7, .15) 70%, rgba(7, 7, 7, .35) 100%),
        linear-gradient(180deg, rgba(7, 7, 7, .55) 0%, transparent 25%, transparent 65%, var(--bg) 100%);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 40px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(184, 64, 46, .45);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--font-900);
    flex: 0 0 auto;
}

.dot--live {
    background: var(--pve);
    box-shadow: 0 0 0 0 rgba(123, 192, 67, .7);
    animation: live 1.8s infinite;
}

.dot--off { background: #d9a43a; }

@keyframes live {
    0% { box-shadow: 0 0 0 0 rgba(123, 192, 67, .6); }
    70% { box-shadow: 0 0 0 9px rgba(123, 192, 67, 0); }
    100% { box-shadow: 0 0 0 0 rgba(123, 192, 67, 0); }
}

.hero__title {
    margin: 22px 0 6px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: .86;
    letter-spacing: -1px;
}

.hero__title span { display: block; }

.hero__title-top {
    font-size: clamp(64px, 11vw, 150px);
    color: #f2ede6;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .6);
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -4 3.3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -4 3.3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero__title-bottom {
    position: relative;
    width: max-content;
    font-size: clamp(72px, 12.5vw, 172px);
    background: linear-gradient(180deg, #ff5a3c 0%, #e0412b 55%, #a3301f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 8px 26px rgba(224, 65, 43, .45));
    padding-right: .08em;
}

/* Мазок кистью под словом RUST */
.hero__title-bottom::after {
    content: "";
    position: absolute;
    left: -2%;
    right: -6%;
    bottom: -.08em;
    height: .12em;
    background: linear-gradient(90deg, transparent, #e0412b 8%, #c4381f 70%, transparent);
    clip-path: polygon(0 40%, 100% 0, 96% 100%, 3% 80%);
    transform: scaleX(0);
    transform-origin: left;
    animation: brush 1s .6s var(--ease) forwards;
}

@keyframes brush { to { transform: scaleX(1); } }

.hero__slogan {
    margin-top: 26px;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.hero__slogan b { color: var(--pvp); }

.hero__text {
    max-width: 520px;
    margin-top: 12px;
    font-size: 16px;
    color: var(--font-800);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.ipbox {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px 0 0;
    min-height: 56px;
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.ipbox__label {
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 0 14px 0 18px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--accent-light);
    background: rgba(184, 64, 46, .15);
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.ipbox__value {
    font-family: var(--mono);
    font-size: 18px;
    color: #fff;
    letter-spacing: .5px;
}

.ipbox__icon { color: var(--font-900); display: flex; transition: color .2s var(--ease); }

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

.hero__chips li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 22px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    border-left: 2px solid var(--pvp);
}

.hero__chips li:first-child { padding-left: 0; border-left: 0; }
.hero__chips svg { color: var(--accent-light); flex: 0 0 auto; }

/* Эмблема справа */
.hero__emblem {
    display: flex;
    justify-content: center;
}

.emblem {
    position: relative;
    width: min(440px, 36vw);
    aspect-ratio: 1;
    animation: float 6s ease-in-out infinite;
}

.emblem img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 90px rgba(224, 65, 43, .35);
}

.emblem__ring {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 2px dashed rgba(224, 65, 43, .45);
    animation: spin 40s linear infinite;
}

.emblem__ring--2 {
    inset: -36px;
    border: 1px solid rgba(255, 138, 112, .15);
    border-top-color: rgba(255, 138, 112, .7);
    border-right-color: rgba(255, 138, 112, .35);
    animation-duration: 9s;
    animation-direction: reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 14px;
}

.hero__scroll span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--accent-light);
    animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
    0% { opacity: 0; transform: translateY(0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ================= ТАЙМЕР ВАЙПА ================= */
.wipe {
    position: relative;
    z-index: 2;
    margin-top: -60px;
}

.wipebar {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 22px;
    padding: 20px 24px 20px 28px;
    background:
        radial-gradient(600px 160px at 0% 50%, rgba(184, 64, 46, .32), transparent 70%),
        rgba(27, 27, 27, .92);
    border: 1px solid rgba(184, 64, 46, .4);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.wipebar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-gradient);
}

.wipebar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 35%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .06), transparent);
    transform: translateX(-120%);
    animation: sweepWide 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sweepWide {
    0%, 55% { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}

.wipebar__icon {
    font-size: 34px;
    line-height: 1;
    color: var(--accent-light);
    text-shadow: 0 0 16px rgba(255, 138, 112, .6);
    animation: spin 14s linear infinite;
}

.wipebar__info { flex: 1 1 220px; }

.wipebar__label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
}

.wipebar__date { font-size: 14px; color: var(--font-800); }

.wipebar__time { display: flex; gap: 8px; }

.seg {
    min-width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 10px 6px;
    background: rgba(0, 0, 0, .45);
    border: var(--border);
    border-radius: 10px;
}

.seg b {
    font-family: var(--mono);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.05;
    color: #fff;
}

.seg i {
    font-style: normal;
    font-size: 10px;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--font-900);
}

.wipebar.is-soon { border-color: var(--accent-hot); }
.wipebar.is-soon .seg b { color: var(--accent-light); }

/* ================= СЕКЦИИ ================= */
.section { position: relative; padding: 110px 0; }
.section--tight { padding: 40px 0 110px; }

.section--dark {
    background:
        linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%),
        radial-gradient(900px 400px at 85% 10%, rgba(143, 46, 29, .14), transparent 70%),
        #0c0b0a;
}

/* Полоса «опасность» сверху тёмных секций */
.section--dark::before,
.hazard {
    content: "";
    display: block;
    height: 6px;
    background: repeating-linear-gradient(-45deg, #e0412b 0 14px, #111 14px 28px);
    opacity: .7;
}

.section--dark::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.section__head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.kicker {
    display: inline-block;
    margin-bottom: 14px;
    font-family: var(--mono);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-light);
}

.section__title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -.5px;
}

.section__title span {
    background: linear-gradient(90deg, #ff5a3c, #ff8a70);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section__title .c-pve { background: linear-gradient(90deg, #9be05a, #5f9f2c); -webkit-background-clip: text; background-clip: text; }
.section__title .c-pvp { background: linear-gradient(90deg, #ff5a3c, #c4381f); -webkit-background-clip: text; background-clip: text; }

.section__sub {
    margin-top: 14px;
    font-size: 17px;
    color: var(--font-800);
}

/* ================= СЕРВЕРЫ ================= */
.servers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* Один сервер — карточка по центру, шире обычного */
.servers:has(> .server:only-child) { grid-template-columns: minmax(0, 760px); justify-content: center; }

.server {
    --c: var(--pve);
    --c-rgb: 123, 192, 67;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    border: 1px solid rgba(var(--c-rgb), .25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    box-shadow: var(--shadow-md);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.server--pvp { --c: var(--pvp); --c-rgb: 224, 65, 43; }

.server__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transition: transform .8s var(--ease), filter .8s var(--ease);
}

.server--pve .server__bg { background-image: url("../assets/img/bg-dome.jpg"); background-position: 45% center; }
.server--pvp .server__bg { background-image: url("../assets/img/bg-base.jpg"); background-position: 70% center; }

.server::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7, 7, 7, .25) 0%, rgba(7, 7, 7, .6) 40%, rgba(7, 7, 7, .96) 72%),
        radial-gradient(500px 300px at 0% 0%, rgba(var(--c-rgb), .25), transparent 70%);
}

.server__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 24px 0;
}

.server__mode {
    font-size: clamp(64px, 8vw, 96px);
    font-weight: 900;
    font-style: italic;
    line-height: .9;
    color: var(--c);
    text-shadow: 0 0 40px rgba(var(--c-rgb), .45);
    letter-spacing: -2px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, .55);
    border: var(--border);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.server__body {
    margin-top: auto;
    padding: 24px;
}

.server__title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
}

.server__desc {
    margin-top: 6px;
    font-size: 14px;
    color: var(--font-800);
}

.server__stats {
    display: grid;
    grid-template-columns: minmax(0, .6fr) minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 8px;
    margin: 18px 0;
}

.stat {
    padding: 10px 12px;
    background: rgba(0, 0, 0, .5);
    border: var(--border);
    border-radius: 10px;
}

.stat__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--font-900);
}

.stat__value {
    font-family: var(--mono);
    font-size: 18px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.online { margin-bottom: 18px; }

.online__row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
}

.online__row b { font-family: var(--mono); font-size: 16px; color: #fff; font-weight: 400; }

.online__track {
    height: 8px;
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
    overflow: hidden;
}

.online__bar {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(var(--c-rgb), .6), var(--c));
    box-shadow: 0 0 12px rgba(var(--c-rgb), .7);
    transition: width 1s var(--ease);
}

.server__actions {
    display: flex;
    gap: 10px;
}

.server__actions .btn { flex: 1; }

.server--pve .btn--accent { background: linear-gradient(135deg, #8fd14f 0%, #5f9f2c 50%, #3f6f1d 100%); box-shadow: 0 6px 20px rgba(95, 159, 44, .4); }

/* Сервер «скоро» */
.server.is-soon .server__bg { filter: grayscale(.65) brightness(.75); }

.server__soon {
    position: absolute;
    top: 30%;
    left: -10%;
    right: -10%;
    z-index: 1;
    padding: 10px 0;
    transform: rotate(-8deg);
    background: repeating-linear-gradient(-45deg, #e0412b 0 18px, #131313 18px 36px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
    text-align: center;
}

.server__soon span {
    display: inline-block;
    padding: 4px 20px;
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    background: #111;
}

/* ================= ПРЕИМУЩЕСТВА ================= */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature {
    position: relative;
    padding: 28px 26px;
    background: linear-gradient(180deg, rgba(32, 32, 32, .9), rgba(18, 18, 18, .9));
    border: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.feature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-gradient);
}

/* Заклёпки по углам */
.feature::after {
    content: "";
    position: absolute;
    inset: 10px;
    pointer-events: none;
    background:
        radial-gradient(circle at 4px 4px, rgba(255, 255, 255, .22) 2px, transparent 2.5px) top right / 8px 8px no-repeat,
        radial-gradient(circle at 4px 4px, rgba(255, 255, 255, .22) 2px, transparent 2.5px) bottom right / 8px 8px no-repeat;
}

.feature__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-family: var(--mono);
    font-size: 24px;
    color: #fff;
    background: var(--accent-gradient);
    box-shadow: 0 6px 18px rgba(143, 46, 29, .4);
    clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.feature h3 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 8px;
}

.feature p { font-size: 14px; }

/* ================= СРАВНЕНИЕ ================= */
.compare {
    max-width: 960px;
    margin: 0 auto;
    background: rgba(18, 18, 18, .9);
    border: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.compare__row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
}

.compare__row > div {
    padding: 16px 22px;
    font-size: 15px;
    border-top: var(--border);
}

.compare__row > div:first-child {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--font-900);
}

.compare__row > div:nth-child(2) { background: rgba(123, 192, 67, .04); }
.compare__row > div:nth-child(3) { background: rgba(224, 65, 43, .04); }
.compare__row > div + div { color: #fff; border-left: var(--border); }

.compare__row--head > div {
    border-top: 0;
    font-size: 26px !important;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0 !important;
}

.compare__row--head .c-pve { color: var(--pve) !important; border-bottom: 3px solid var(--pve); }
.compare__row--head .c-pvp { color: var(--pvp) !important; border-bottom: 3px solid var(--pvp); }

.yes, .no {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.yes::before, .no::before {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border-radius: 50%;
}

.yes::before { content: "✓"; color: #0c0c0c; background: var(--pve); }
.no::before { content: "✕"; color: #fff; background: #4a4a4a; }

/* ================= ШАГИ ================= */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 28px 26px;
    background: rgba(20, 20, 20, .9);
    border: var(--border);
    border-radius: var(--radius);
}

.step + .step::before {
    content: "";
    position: absolute;
    top: 50px;
    left: -19px;
    width: 18px;
    height: 2px;
    background: var(--accent-hot);
}

.step__num {
    font-family: var(--mono);
    font-size: 48px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 138, 112, .7);
    margin-bottom: 14px;
}

.step h3 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.step p { font-size: 14px; }

kbd {
    display: inline-block;
    padding: 1px 8px;
    font-family: var(--mono);
    font-size: 13px;
    color: #fff;
    background: #2a2a2a;
    border: 1px solid #444;
    border-bottom-width: 3px;
    border-radius: 6px;
}

.cmd {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 14px;
    text-align: left;
    background: #050505;
    border: 1px solid rgba(184, 64, 46, .4);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.cmd code {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--pve);
    word-break: break-all;
}

.cmd code::before { content: "> "; color: var(--font-900); }

.cmd__hint {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--font-900);
}

.steps__alt {
    margin-top: 26px;
    text-align: center;
    font-size: 15px;
}

.steps__alt b { color: #fff; }

/* ================= МАГАЗИН ================= */
.shop {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 380px;
    padding: 50px;
    border: 1px solid rgba(184, 64, 46, .35);
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    box-shadow: var(--shadow-md);
}

.shop__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 7, 7, .96) 0%, rgba(7, 7, 7, .8) 40%, rgba(7, 7, 7, .1) 100%),
        url("../assets/img/bg-dome.jpg") right 35% / cover no-repeat;
    transition: transform .8s var(--ease);
}

.shop__content { max-width: 480px; }

.shop__title {
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.shop__content p { margin-bottom: 28px; }

/* ================= АККОРДЕОН ================= */
.accordion { display: flex; flex-direction: column; gap: 10px; }

.acc {
    background: rgba(20, 20, 20, .9);
    border: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .25s var(--ease);
}

.acc[open] { border-color: rgba(184, 64, 46, .45); }

.acc summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 56px 18px 22px;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    list-style: none;
}

.acc summary::-webkit-details-marker { display: none; }

.acc summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
    color: var(--accent-light);
    border: 1px solid rgba(184, 64, 46, .45);
    border-radius: 6px;
    transition: transform .25s var(--ease), background-color .25s var(--ease);
}

.acc[open] summary::after { content: "−"; background: rgba(184, 64, 46, .2); }

.acc__badge {
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--font-800);
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
}

.acc__badge--pve { color: #0c0c0c; background: var(--pve); }
.acc__badge--pvp { color: #fff; background: var(--pvp); }

.acc ul, .acc > p {
    margin: 0;
    padding: 0 22px 20px;
    font-size: 15px;
}

.acc ul { list-style: none; }

.acc li {
    position: relative;
    padding-left: 22px;
    margin-top: 8px;
}

.acc li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 9px;
    width: 8px;
    height: 8px;
    background: var(--accent-hot);
    transform: rotate(45deg);
}

/* ================= DISCORD ================= */
.discord {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 36px 40px;
    background:
        radial-gradient(500px 220px at 0% 50%, rgba(88, 101, 242, .3), transparent 70%),
        linear-gradient(180deg, #1a1b24, #121318);
    border: 1px solid rgba(88, 101, 242, .35);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.discord__icon {
    flex: 0 0 auto;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #5865f2;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(88, 101, 242, .5);
}

.discord__body { flex: 1; }

.discord h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
}

.discord p { margin-top: 6px; }

.discord__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 12px;
    font-size: 14px;
}

.discord__stats span { display: inline-flex; align-items: center; gap: 8px; }
.discord__stats b { font-family: var(--mono); font-size: 18px; color: #fff; font-weight: 400; }

/* ================= ПОДВАЛ ================= */
.footer { background: #050505; }

.footer__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; }

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 22px;
    font-size: 14px;
    font-weight: 600;
}

.footer__muted { font-size: 13px; color: var(--font-900); }
.footer__copy { grid-column: 1 / -1; padding-top: 20px; border-top: var(--border); }

/* ================= КНОПКА «ПОДРОБНЕЕ» НА КАРТОЧКЕ ================= */
.server.has-details { cursor: pointer; }

.server__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--c);
    background: none;
    border: 0;
    cursor: pointer;
}

.server__more::after {
    content: "→";
    transition: transform .25s var(--ease);
}

/* ================= МОДАЛЬНОЕ ОКНО ================= */
body.is-locked { overflow: hidden; }

.modal {
    --c: var(--pve);
    --c-rgb: 123, 192, 67;
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal[hidden] { display: none; }
.modal--pvp { --c: var(--pvp); --c-rgb: 224, 65, 43; }

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.modal__box {
    position: relative;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    display: flex;
    flex-direction: column;
    background: #101010;
    border: 1px solid rgba(var(--c-rgb), .35);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .8), 0 0 80px rgba(var(--c-rgb), .12);
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px) scale(.97);
    transition: opacity .32s var(--ease), transform .32s var(--ease);
}

/* Цветная полоса сверху окна */
.modal__box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--c), transparent);
}

.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__box { opacity: 1; transform: none; }

.modal__scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    cursor: pointer;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background-color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}

.modal__head {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 22px;
    min-height: 230px;
    padding: 28px 30px 26px;
    isolation: isolate;
    overflow: hidden;
}

.modal__head-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(16, 16, 16, .2) 0%, rgba(16, 16, 16, .75) 60%, #101010 100%),
        radial-gradient(420px 220px at 0% 100%, rgba(var(--c-rgb), .28), transparent 70%),
        url("../assets/img/bg-dome.jpg") 45% 40% / cover no-repeat;
}

.modal--pvp .modal__head-bg {
    background:
        linear-gradient(180deg, rgba(16, 16, 16, .2) 0%, rgba(16, 16, 16, .75) 60%, #101010 100%),
        radial-gradient(420px 220px at 0% 100%, rgba(var(--c-rgb), .28), transparent 70%),
        url("../assets/img/bg-base.jpg") 70% 40% / cover no-repeat;
}

.modal__mode {
    flex: 0 0 auto;
    font-size: clamp(64px, 11vw, 104px);
    font-weight: 900;
    font-style: italic;
    line-height: .85;
    letter-spacing: -2px;
    color: var(--c);
    text-shadow: 0 0 40px rgba(var(--c-rgb), .45);
}

.modal__head-text { min-width: 0; padding-bottom: 4px; }

.modal__title {
    margin-top: 10px;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
}

.modal__tagline {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--font-800);
}

.modal__tagline li + li::before {
    content: "•";
    margin: 0 10px;
    color: var(--c);
}

.modal__content { padding: 4px 30px 30px; }

.modal__goal {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background:
        radial-gradient(400px 120px at 0% 50%, rgba(var(--c-rgb), .18), transparent 70%),
        rgba(255, 255, 255, .03);
    border: 1px solid rgba(var(--c-rgb), .3);
    border-left: 3px solid var(--c);
    border-radius: 10px;
}

.modal__goal span {
    font-size: 26px;
    line-height: 1;
    color: var(--c);
    animation: spin 14s linear infinite;
}

.modal__h {
    margin: 26px 0 14px;
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-light);
}

.modal__h::before { content: "// "; color: var(--font-900); }

.modal__rules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.modal__rules li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--font-700);
    background: rgba(255, 255, 255, .03);
    border: var(--border);
    border-radius: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .2s var(--ease);
    transition-delay: calc(120ms + var(--i, 0) * 45ms);
}

.modal.is-open .modal__rules li { opacity: 1; transform: none; }

.modal__x {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e0412b, #8f2e1d);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(224, 65, 43, .35);
}

.modal__info {
    display: grid;
    grid-template-columns: 1.2fr .6fr .6fr 1.4fr;
    gap: 8px;
    margin-top: 22px;
}

.modal__info-item {
    min-width: 0;
    padding: 10px 12px;
    background: rgba(0, 0, 0, .5);
    border: var(--border);
    border-radius: 10px;
}

.modal__info-item .stat__value { font-size: 16px; }

.modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.modal--pve .modal__actions .btn--accent {
    background: linear-gradient(135deg, #8fd14f 0%, #5f9f2c 50%, #3f6f1d 100%);
    box-shadow: 0 6px 20px rgba(95, 159, 44, .4);
}

@media (hover: hover) and (pointer: fine) {
    .server:hover .server__more::after { transform: translateX(4px); }
    .modal__close:hover { background: rgba(224, 65, 43, .85); border-color: transparent; transform: rotate(90deg); }
    .modal__rules li:hover { border-color: rgba(224, 65, 43, .45); }
}

/* Телефон: окно выезжает снизу, как шторка */
@media (max-width: 640px) {
    .modal { padding: 0; align-items: flex-end; }
    .modal__box { max-height: 92dvh; border-radius: 18px 18px 0 0; transform: translateY(60px); }
    .modal__head { min-height: 190px; padding: 22px 18px 18px; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; }
    .modal__content { padding: 4px 18px calc(22px + env(safe-area-inset-bottom, 0px)); }
    .modal__rules { grid-template-columns: 1fr; }
    .modal__info { grid-template-columns: 1fr 1fr; }
    .modal__info-item:last-child { grid-column: 1 / -1; }
    .modal__actions { grid-template-columns: 1fr; }
}

/* ================= МОНИТОРИНГ ================= */
.online[hidden] { display: none; }

.online__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--font-900);
}

.online__meta:empty { display: none; }
.online__meta b { color: var(--font-700); font-weight: 600; }
.online__queue b { color: #f5a623; }

/* Плитки RCON: время суток, FPS, аптайм, объекты */
.live {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.live[hidden] { display: none; }
.live--modal { margin-top: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); }

.live__tile {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px 10px;
    background: rgba(0, 0, 0, .5);
    border: var(--border);
    border-radius: 10px;
}

.live__tile > span:last-child { display: flex; flex-direction: column; min-width: 0; }

.live__tile b {
    font-family: var(--mono);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.15;
    color: #fff;
    white-space: nowrap;
}

.live__tile i {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--font-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live__icon {
    flex: 0 0 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    background: rgba(255, 255, 255, .05);
    border-radius: 8px;
}

.live__icon--text {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .5px;
}

.live__tile--day { border-color: rgba(255, 196, 61, .35); }
.live__tile--day .live__icon {
    color: #ffc43d;
    background: radial-gradient(circle, rgba(255, 196, 61, .3), rgba(255, 196, 61, .06) 70%);
    box-shadow: 0 0 14px rgba(255, 196, 61, .3);
}
.live__tile--day .live__icon svg { animation: spin 20s linear infinite; }

.live__tile--night { border-color: rgba(140, 160, 255, .35); }
.live__tile--night .live__icon {
    color: #b9c6ff;
    background: radial-gradient(circle, rgba(140, 160, 255, .28), rgba(140, 160, 255, .05) 70%);
    box-shadow: 0 0 14px rgba(140, 160, 255, .25);
}

.live__tile--fps-good .live__icon { color: var(--pve); }
.live__tile--fps-good b { color: var(--pve); }
.live__tile--fps-mid .live__icon, .live__tile--fps-mid b { color: #f5a623; }
.live__tile--fps-bad .live__icon, .live__tile--fps-bad b { color: var(--pvp); }

@media (max-width: 640px) {
    .live--modal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.dot--down { background: var(--pvp); box-shadow: 0 0 8px rgba(224, 65, 43, .7); }
.status.is-offline { border-color: rgba(224, 65, 43, .45); }

/* ================= ЛИЧНЫЙ КАБИНЕТ ================= */
.btn--steam { background: linear-gradient(135deg, #2a475e, #171a21); box-shadow: inset 0 0 0 1px rgba(102, 192, 244, .35); }
.toast.is-bad { border-color: rgba(224, 65, 43, .6); border-left-color: var(--pvp); }

.header__login { display: inline-flex; align-items: center; gap: 8px; }
.header__login img { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }

.cab {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--header-h) + 40px) 0 80px;
    isolation: isolate;
}

.cab__bg {
    position: absolute;
    inset: 0 0 auto;
    height: 420px;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7, 7, 7, .45) 0%, var(--bg) 100%),
        url("../assets/img/bg-dome.jpg") center 35% / cover no-repeat;
}

.cab__loading { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40vh; color: var(--font-800); }
.cab__loading[hidden] { display: none; }
.cab__spinner { width: 28px; height: 28px; border: 3px solid rgba(255, 255, 255, .1); border-top-color: var(--accent-light); border-radius: 50%; animation: spin 1s linear infinite; }

.cab-login {
    width: min(520px, 100%);
    margin: 40px auto 0;
    padding: 40px 34px 34px;
    text-align: center;
    background: rgba(16, 16, 16, .92);
    border: 1px solid rgba(184, 64, 46, .35);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.cab-login[hidden] { display: none; }
.cab-login__emblem { margin: 0 auto 18px; border-radius: 50%; box-shadow: 0 0 0 2px var(--accent-800), 0 0 40px rgba(184, 64, 46, .5); }
.cab-login__title { font-size: 30px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.cab-login__text { margin: 10px 0 26px; }
.cab-login .btn { width: 100%; margin-top: 10px; }
.cab-login__note { margin-top: 18px; font-size: 12px; color: var(--font-900); }

.cab-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    align-items: start;
}
.cab-grid[hidden] { display: none; }

.cab-card {
    position: relative;
    padding: 24px;
    background: rgba(18, 18, 18, .94);
    border: var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.cab-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.cab-card__head h2 { font-size: 18px; font-weight: 800; text-transform: uppercase; margin-right: auto; }

.cab-profile { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; border-color: rgba(184, 64, 46, .35); }
.cab-profile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: var(--radius-lg) 0 0 var(--radius-lg); background: var(--accent-gradient); }
.cab-profile__avatars { position: relative; flex: 0 0 auto; }
.cab-profile__ava { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--accent-800), 0 0 30px rgba(184, 64, 46, .45); }
.cab-profile__ava--small { position: absolute; right: -6px; bottom: -6px; width: 40px; height: 40px; box-shadow: 0 0 0 3px #121212; }
.cab-profile__info { flex: 1 1 260px; min-width: 0; }
.cab-profile__name { font-size: 28px; font-weight: 900; font-style: italic; text-transform: uppercase; overflow-wrap: anywhere; }
.cab-profile__meta { margin-top: 8px; font-size: 13px; color: var(--font-900); }
.cab-profile__links { display: flex; flex-direction: column; gap: 8px; flex: 0 1 300px; }

.cab-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cab-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 12px; font-weight: 700; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #fff; }
.cab-badge--live { background: rgba(123, 192, 67, .15); color: var(--pve); }
.cab-badge--player { background: rgba(123, 192, 67, .12); }
.cab-badge--warn { background: rgba(245, 166, 35, .15); color: #f5a623; }

.cab-link { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(0, 0, 0, .4); border: var(--border); border-radius: 10px; }
.cab-link > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.cab-link b { color: #fff; font-size: 13px; }
.cab-link i { font-style: normal; font-size: 12px; color: var(--font-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cab-link i a { color: var(--accent-light); }
.cab-link__ok, .cab-link__no { width: 24px; height: 24px; flex: 0 0 24px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 12px; font-weight: 700; }
.cab-link__ok { background: var(--pve); color: #0c0c0c; }
.cab-link__no { background: #3a3a3a; color: #fff; }
.cab-profile__links > .btn { align-self: flex-end; }

.cab-tabs[hidden] { display: none; }
.cab-tabs, .cab-switch { display: inline-flex; padding: 3px; background: rgba(0, 0, 0, .5); border: var(--border); border-radius: 10px; }
.cab-tabs button, .cab-switch button {
    padding: 6px 12px; border: 0; border-radius: 7px; background: none; cursor: pointer;
    font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--font-800);
}
.cab-tabs button.is-active { background: var(--accent-gradient); color: #fff; }
.cab-switch button.is-active { background: rgba(255, 255, 255, .1); color: #fff; }

/* Плитки растягиваются, чтобы последний ряд не оставался с дырой */
.cab-stats__grid { display: flex; flex-wrap: wrap; gap: 10px; }
.cab-stats__grid .cab-stat { flex: 1 1 140px; }
.cab-stats__grid .cab-stat--wide { flex: 2 1 290px; }
.cab-stats__res { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cab-stats__sub { margin: 20px 0 10px; font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-light); }
.cab-stats__note { margin-top: 14px; font-size: 12px; color: var(--font-900); }

.cab-stat { display: flex; flex-direction: column; gap: 2px; padding: 14px; background: rgba(0, 0, 0, .45); border: var(--border); border-radius: 12px; min-width: 0; }
.cab-stat--wide { background: radial-gradient(300px 120px at 0% 0%, rgba(184, 64, 46, .25), transparent 70%), rgba(0, 0, 0, .45); border-color: rgba(184, 64, 46, .3); }
.cab-stat__icon { font-size: 20px; line-height: 1; margin-bottom: 4px; }
.cab-stat b { font-family: var(--mono); font-size: 24px; font-weight: 400; color: #fff; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cab-stat i { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--font-900); }
.cab-stat--res { padding: 10px; align-items: center; text-align: center; }
.cab-stat--res b { font-size: 17px; }
.cab-stat--res i { font-size: 10px; }

.cab-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; color: var(--font-800); background: rgba(0, 0, 0, .35); border: 1px dashed rgba(255, 255, 255, .12); border-radius: 12px; }

.cab-tlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cab-ticket {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "num topic status" "num date link";
    gap: 2px 12px;
    align-items: center;
    padding: 10px 14px;
    background: rgba(0, 0, 0, .45);
    border: var(--border);
    border-left: 3px solid #3a3a3a;
    border-radius: 10px;
}
.cab-ticket.is-open { border-left-color: var(--pve); }
.cab-ticket__num { grid-area: num; font-family: var(--mono); font-size: 18px; color: var(--accent-light); }
.cab-ticket__topic { grid-area: topic; font-weight: 700; color: #fff; font-size: 14px; }
.cab-ticket__date { grid-area: date; font-size: 12px; color: var(--font-900); }
.cab-ticket__status { grid-area: status; justify-self: end; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.cab-ticket.is-open .cab-ticket__status { background: rgba(123, 192, 67, .18); color: var(--pve); }
.cab-ticket__link { grid-area: link; justify-self: end; font-size: 12px; font-weight: 700; color: var(--accent-light); }

.cab-toggle { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 8px; background: rgba(0, 0, 0, .45); border: var(--border); border-radius: 12px; cursor: pointer; }
.cab-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cab-toggle__ui { flex: 0 0 44px; height: 24px; position: relative; border-radius: 999px; background: #3a3a3a; transition: background-color .2s var(--ease); }
.cab-toggle__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.cab-toggle input:checked + .cab-toggle__ui { background: var(--pve); }
.cab-toggle input:checked + .cab-toggle__ui::after { transform: translateX(20px); }
.cab-toggle input:disabled + .cab-toggle__ui { opacity: .45; }
.cab-toggle input:focus-visible + .cab-toggle__ui { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.cab-toggle > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.cab-toggle b { color: #fff; font-size: 14px; }
.cab-toggle i { font-style: normal; font-size: 12px; color: var(--font-900); }
.cab-subs__note { margin-top: 6px; font-size: 12px; color: var(--font-900); }
.cab-subs__note a { color: var(--accent-light); }

/* ---------- Админка ---------- */
.adm__plug { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 16px 18px; background: rgba(0, 0, 0, .45); border: var(--border); border-left: 4px solid #555; border-radius: 12px; }
.adm__plug.is-ok { border-left-color: var(--pve); }
.adm__plug.is-update { border-left-color: #f5a623; background: radial-gradient(400px 120px at 0% 50%, rgba(245, 166, 35, .12), transparent 70%), rgba(0, 0, 0, .45); }
.adm__plug-col { display: flex; flex-direction: column; }
.adm__plug-col i { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--font-900); }
.adm__plug-col b { font-family: var(--mono); font-size: 26px; font-weight: 400; color: #fff; }
.adm__plug-arrow { font-size: 22px; color: var(--font-900); }
.adm__plug-state { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; color: #fff; }
.adm__plug-state small { font-weight: 400; font-size: 12px; color: var(--font-900); }
.adm__howto ol { margin: 0; padding-left: 20px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.adm__howto code, .adm__vers code { font-family: var(--mono); font-size: 13px; color: var(--accent-light); }
.adm__vers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.adm__ver { padding: 10px 14px; background: rgba(0, 0, 0, .35); border: var(--border); border-radius: 10px; }
.adm__ver.is-new { border-color: rgba(245, 166, 35, .45); }
.adm__ver-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.adm__ver-head b { font-family: var(--mono); font-size: 17px; font-weight: 400; color: #fff; }
.adm__ver-head i { font-style: normal; font-size: 12px; color: var(--font-900); }
.adm__ver ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: var(--font-800); }
.adm { grid-column: 1 / -1; border-color: rgba(88, 101, 242, .4); }
.adm[hidden] { display: none; }
.adm::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: var(--radius-lg) 0 0 var(--radius-lg); background: linear-gradient(180deg, #5865f2, #3a44b0); }
.adm__tabs { flex-wrap: wrap; }
.adm__loading { display: flex; align-items: center; gap: 12px; padding: 20px 0; color: var(--font-800); }

.adm__server { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 16px; margin-bottom: 12px; background: rgba(0, 0, 0, .45); border: var(--border); border-radius: 12px; }
.adm__server > div:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; }
.adm__server b { color: #fff; }
.adm__server i { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--font-900); }
.adm__plugin { margin-left: auto; font-size: 12px; color: var(--font-900); }
.adm__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pvp); box-shadow: 0 0 10px rgba(224, 65, 43, .7); }
.adm__dot.is-on { background: var(--pve); box-shadow: 0 0 10px rgba(123, 192, 67, .7); animation: live 1.8s infinite; }

.adm__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.adm__danger { background: linear-gradient(135deg, #e0412b, #8f2e1d); }
.adm__muted { color: var(--font-900); font-weight: 400; }

.adm__input {
    width: 100%;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    color: #fff;
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    transition: border-color .2s var(--ease);
}
.adm__input:focus { outline: none; border-color: var(--accent-light); }
select.adm__input { cursor: pointer; }
textarea.adm__input { resize: vertical; min-height: 110px; }
.adm__search { margin-bottom: 10px; }

.adm__form { display: flex; flex-direction: column; gap: 10px; }
.adm__form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--font-800); }
.adm__form label i { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--font-900); }
.adm__form .btn { align-self: flex-start; }
.adm__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.adm__two--top { gap: 24px; align-items: start; }

.adm__table { display: flex; flex-direction: column; gap: 6px; }
.adm__row { background: rgba(0, 0, 0, .45); border: var(--border); border-radius: 10px; }
.adm__row[open] { border-color: rgba(88, 101, 242, .45); }
.adm__row summary { display: grid; grid-template-columns: 34px 1.4fr 1fr auto 90px; align-items: center; gap: 12px; padding: 8px 12px; cursor: pointer; list-style: none; }
.adm__row summary::-webkit-details-marker { display: none; }
.adm__row summary img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.adm__pname { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.adm__pname b { color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm__pname i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--font-900); }
.adm__pdisc { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm__pstat { font-size: 12px; color: var(--font-800); text-align: right; }
.adm__pdetail { padding: 4px 14px 14px; }
.adm__kv { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--font-800); }
.adm__kv b { color: #fff; font-weight: 600; }

.adm__preview { padding: 14px; background: #313338; border-radius: 10px; }
.adm__pv-ping { display: inline-block; margin-bottom: 6px; padding: 0 3px; border-radius: 3px; background: rgba(88, 101, 242, .3); color: #c9cdfb; font-size: 14px; }
.adm__pv { max-width: 520px; padding: 10px 14px 12px; background: #2b2d31; border-left: 4px solid; border-radius: 4px; font-size: 14px; color: #dbdee1; }
.adm__pv-author { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; font-size: 13px; }
.adm__pv-author img { width: 22px; height: 22px; border-radius: 50%; }
.adm__pv-title { margin-top: 6px; font-weight: 700; color: #fff; font-size: 15px; }
.adm__pv-text { margin-top: 6px; }
.adm__pv-img { display: block; max-width: 100%; max-height: 240px; margin-top: 10px; border-radius: 4px; }
.adm__pv-foot { margin-top: 8px; font-size: 11px; color: #b5bac1; }
.adm__pv-btn { display: inline-block; margin-top: 8px; padding: 6px 14px; border-radius: 3px; background: #4e5058; color: #fff; font-size: 13px; }

.adm__cmds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.adm__cmds li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; padding: 8px 12px; background: rgba(0, 0, 0, .45); border: var(--border); border-left: 3px solid #555; border-radius: 8px; font-size: 13px; }
.adm__cmds li i { font-style: normal; color: var(--font-900); font-size: 12px; }
.adm__cmds li.is-done { border-left-color: var(--pve); }
.adm__cmds li.is-failed, .adm__cmds li.is-expired { border-left-color: var(--pvp); }
.adm__cmds li.is-sent, .adm__cmds li.is-pending { border-left-color: #f5a623; }

@media (max-width: 980px) {
    .cab-grid { grid-template-columns: 1fr; }
    .cab-stats__res { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .cab-card { padding: 18px 16px; }
    .cab-profile { flex-direction: column; align-items: flex-start; }
    .cab-profile__info { flex: 0 0 auto; width: 100%; }
    .cab-profile__links { width: 100%; flex-basis: auto; }
    .cab-stats__grid .cab-stat { flex-basis: 120px; }
    .cab-stats__res { grid-template-columns: 1fr 1fr; }
    .cab-ticket { grid-template-columns: auto 1fr; grid-template-areas: "num topic" "num date" "status link"; }
    .cab-ticket__status { justify-self: start; }
    .adm__two { grid-template-columns: 1fr; }
    .adm__row summary { grid-template-columns: 34px 1fr auto; }
    .adm__pdisc, .adm__row summary .adm__pstat:last-child { display: none; }
    .adm__plugin { margin-left: 0; }
}

/* ================= ПРОЧЕЕ ================= */
.totop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    width: 46px;
    height: 46px;
    border: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: var(--accent-gradient);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 70;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #161616;
    border: 1px solid rgba(123, 192, 67, .5);
    border-left: 4px solid var(--pve);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translate(-50%, 16px);
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Появление при прокрутке */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--d, 0ms);
}

.js .reveal.is-in { opacity: 1; transform: none; }

/* ================= НАВЕДЕНИЕ (только мышь) ================= */
@media (hover: hover) and (pointer: fine) {
    .btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
    .btn--accent:hover { box-shadow: 0 10px 28px rgba(184, 64, 46, .6); }
    .btn[disabled]:hover, .btn.is-disabled:hover { transform: none; filter: none; }
    .nav a:hover { color: #fff; }
    .nav a:hover::after { transform: scaleX(1); }
    .ipbox:hover { border-color: rgba(255, 138, 112, .6); background: rgba(0, 0, 0, .7); }
    .ipbox:hover .ipbox__icon { color: var(--accent-light); }

    .server:hover {
        transform: translateY(-6px);
        border-color: rgba(var(--c-rgb), .6);
        box-shadow: var(--shadow-md), 0 0 0 1px rgba(var(--c-rgb), .35), 0 20px 60px rgba(var(--c-rgb), .2);
    }

    .server:hover .server__bg { transform: scale(1.06); }
    .server.is-soon:hover .server__bg { filter: grayscale(.3) brightness(.85); }

    .feature:hover {
        transform: translateY(-4px);
        border-color: rgba(143, 46, 29, .55);
        box-shadow: var(--shadow-md), var(--glow);
    }

    .cmd:hover { border-color: var(--pve); box-shadow: 0 0 0 1px rgba(123, 192, 67, .3); }
    .cmd:hover .cmd__hint { color: var(--pve); }
    .shop:hover .shop__bg { transform: scale(1.04); }
    .acc summary:hover { color: var(--accent-light); }
    .footer__links a:hover { color: var(--accent-light); }
}

/* ================= АДАПТИВ ================= */
@media (max-width: 1080px) {
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 10px 20px 20px;
        background: rgba(8, 8, 8, .97);
        border-bottom: 1px solid rgba(184, 64, 46, .35);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    }

    .nav.is-open { opacity: 1; transform: none; visibility: visible; }
    .nav a { padding: 14px 4px; font-size: 15px; border-bottom: var(--border); }
    .nav a::after { display: none; }
    .burger { display: flex; }
    .header__actions { margin-left: auto; }

    .hero__inner { grid-template-columns: 1fr; text-align: left; }
    .hero__emblem { display: none; }
    .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .servers { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .step + .step::before { display: none; }
    .discord { flex-direction: column; text-align: center; padding: 32px 22px; }
    .discord__stats { justify-content: center; }
    .shop { padding: 36px 24px; }
    .shop__bg { background: linear-gradient(180deg, rgba(7, 7, 7, .7), rgba(7, 7, 7, .95)), url("../assets/img/bg-dome.jpg") 60% center / cover no-repeat; }
    .footer__inner { grid-template-columns: 1fr; }
    .footer__links { justify-content: flex-start; }
}

@media (max-width: 640px) {
    :root { --header-h: 64px; }
    .section { padding: 80px 0; }
    .container { padding: 0 16px; }
    .header__actions .js-shop { display: none; }
    .header__login span { display: none; }
    .header__login { padding: 9px 11px; }
    .brand__text { font-size: 17px; }
    .hero { padding-bottom: 100px; }
    .hero__shade {
        background:
            linear-gradient(180deg, rgba(7, 7, 7, .7) 0%, rgba(7, 7, 7, .55) 40%, var(--bg) 100%);
    }
    .hero__cta { flex-direction: column; }
    .hero__cta .btn, .ipbox { width: 100%; }
    .ipbox { justify-content: space-between; }
    .hero__chips { gap: 14px 0; }
    .hero__chips li { padding: 4px 14px; font-size: 12px; }
    .hero__scroll { display: none; }
    .wipebar { padding: 18px 16px; justify-content: center; text-align: center; }
    .wipebar__icon { display: none; }
    .wipebar__time { width: 100%; }
    .seg { flex: 1; min-width: 0; }
    .seg b { font-size: 24px; }
    .features { grid-template-columns: 1fr; }
    .server { min-height: 480px; }
    .server__stats { grid-template-columns: 1fr 1fr; }
    .server__stats .stat:last-child { grid-column: 1 / -1; }
    .server__actions { flex-direction: column; }
    .compare__row { grid-template-columns: .9fr 1fr 1fr; }
    .compare__row > div { padding: 12px 10px; font-size: 13px; }
    .compare__row > div:first-child { font-size: 10px; letter-spacing: .3px; }
    .compare__row--head > div { font-size: 20px !important; }
    .yes::before, .no::before { width: 16px; height: 16px; font-size: 10px; }
    .hero__title-top { font-size: 23vw; }
    .hero__title-bottom { font-size: 26vw; }
    .server__soon { top: 92px; }
    .server.is-soon .server__body { padding-top: 90px; }
    .cmd code { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .hero__title-bottom::after { transform: none; }
}
