/* =========================================================
   SoulMask Project — v0.0.1
   Палитра: камень / золото / бирюзовое свечение маски
   ========================================================= */
:root {
  --bg: #0a0b0a;
  --bg-2: #0f1110;
  --stone: #17191a;
  --stone-2: #1f2223;
  --line: rgba(214, 170, 92, .18);
  --gold: #d9ad5f;
  --gold-2: #f3d79a;
  --gold-3: #8a6427;
  --teal: #3fe0d0;
  --teal-2: #19a89b;
  --teal-glow: rgba(63, 224, 208, .45);
  --text: #e8e0cf;
  --muted: #a39a88;
  --discord: #5865f2;
  --radius: 14px;
  --font-head: "Cormorant SC", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(217,173,95,.07), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(63,224,208,.05), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b { color: var(--gold-2); font-weight: 700; }
::selection { background: var(--teal-2); color: #041; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }

#embers {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 40; opacity: .8;
}
main, .footer, .header { position: relative; z-index: 2; }

/* ---------- Орнамент (меандр) ---------- */
.meander, .section__head::after, .strip::before, .strip::after {
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 11H24M4 11V1h14v8h-8V5h4' fill='none' stroke='%23d9ad5f' stroke-width='1.4'/%3E%3C/svg%3E");
}

/* ---------- Кнопки ---------- */
.btn {
  --h: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px;
  font-family: var(--font-body); font-weight: 800; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase;
  border: 0; cursor: pointer; isolation: isolate;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
.btn:active { transform: translateY(0); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 12px; }
.btn--lg { --h: 60px; padding: 0 38px; font-size: 15px; }

.btn--gold {
  color: #1d1306;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 45%, var(--gold-3));
  text-shadow: 0 1px 0 rgba(255,240,200,.5);
}
.btn--ghost {
  color: var(--gold-2);
  background: linear-gradient(180deg, rgba(217,173,95,.55), rgba(138,100,39,.55));
}
.btn--ghost::before {
  content: ""; position: absolute; inset: 1.5px; z-index: -1;
  background: linear-gradient(180deg, #16181a, #0d0e0f);
  clip-path: inherit;
}
.btn--discord {
  color: #fff;
  background: linear-gradient(180deg, #7480ff, var(--discord) 60%, #3c46c4);
}

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 11, 10, .82);
  backdrop-filter: blur(12px);
  border-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__icon {
  width: 44px; height: 44px; object-fit: cover; object-position: 50% 22%;
  border-radius: 50%; border: 1px solid var(--gold-3);
  box-shadow: 0 0 18px rgba(63,224,208,.25);
}
.brand__text { font-family: var(--font-head); font-size: 24px; font-weight: 700; letter-spacing: .04em; color: var(--text); white-space: nowrap; }
.brand__text b { color: var(--teal); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a {
  position: relative; white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 6px; height: 6px;
  background: var(--teal); transform: translateX(-50%) rotate(45deg) scale(0);
  box-shadow: 0 0 10px var(--teal); transition: transform .2s;
}
.nav a:hover, .nav a.is-active { color: var(--gold-2); }
.nav a:hover::after, .nav a.is-active::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: -40px; background-size: cover; background-position: center 60%;
  transform: scale(1.05); animation: heroZoom 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1.14) translateY(-10px); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,8,.92) 0%, rgba(8,9,8,.65) 45%, rgba(8,9,8,.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%),
    linear-gradient(180deg, rgba(8,9,8,.7) 0%, transparent 25%);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr;
  align-items: center; gap: 40px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 1px solid rgba(63,224,208,.35);
  background: rgba(63,224,208,.07);
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); display: inline-block; }
.dot--live { box-shadow: 0 0 0 0 var(--teal-glow); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(63,224,208,0); } 100% { box-shadow: 0 0 0 0 rgba(63,224,208,0); } }

.hero__title { margin: 22px 0 18px; line-height: .9; font-family: var(--font-head); font-weight: 700; }
.hero__title-top, .hero__title-main { display: block; }
.hero__title-top {
  font-size: clamp(56px, 9vw, 120px); letter-spacing: .02em;
  background: linear-gradient(180deg, #fff3cf 0%, var(--gold-2) 30%, var(--gold) 55%, var(--gold-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(0,0,0,.6)) drop-shadow(0 0 30px rgba(217,173,95,.25));
}
.hero__title-main {
  font-size: clamp(30px, 4.6vw, 62px); letter-spacing: .5em; padding-left: .1em;
  color: var(--teal);
  text-shadow: 0 0 22px var(--teal-glow), 0 0 2px rgba(255,255,255,.4);
}
.hero__lead { max-width: 560px; font-size: 18px; color: #d2c9b6; margin: 0 0 24px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.tag {
  padding: 6px 14px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-2); border: 1px solid var(--line); background: rgba(217,173,95,.06);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__logo { position: relative; justify-self: center; width: min(460px, 100%); }
.hero__logo img {
  position: relative; width: 100%; aspect-ratio: 1; object-fit: cover;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.6));
}
.hero__logo::before {
  content: ""; position: absolute; inset: -14px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(160deg, var(--gold-2), var(--gold-3) 40%, var(--teal-2) 100%);
  opacity: .55; animation: float 6s ease-in-out infinite;
}
.hero__logo-glow {
  position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle, var(--teal-glow), transparent 65%);
  filter: blur(40px); animation: glow 4s ease-in-out infinite alternate;
}
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes glow { from { opacity: .5; } to { opacity: 1; transform: scale(1.15); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 28px; height: 44px; border: 2px solid var(--gold-3); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--teal); border-radius: 2px; animation: scroll 1.8s infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Полоса статистики ---------- */
.strip {
  position: relative; padding: 34px 0;
  background: linear-gradient(180deg, #121414, #0c0d0d);
  border-block: 1px solid var(--line);
}
.strip::before, .strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px; opacity: .35;
  background: var(--m) repeat-x;
}
.strip::before { top: 6px; }
.strip::after { bottom: 6px; transform: scaleY(-1); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { text-align: center; padding: 10px; position: relative; }
.strip__item + .strip__item::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px;
  transform: translate(-50%, -50%) rotate(45deg); background: var(--teal); box-shadow: 0 0 12px var(--teal);
}
.strip__item b {
  display: block; font-family: var(--font-head); font-size: 44px; line-height: 1.1;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.strip__item span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Секции ---------- */
.section { position: relative; padding: 120px 0; }
.section--dark { background: linear-gradient(180deg, transparent, rgba(0,0,0,.35) 15%, rgba(0,0,0,.35) 85%, transparent); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section__head::after {
  content: ""; display: block; width: 180px; height: 12px; margin: 22px auto 0; opacity: .7;
  background: var(--m) repeat-x;
  -webkit-mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
          mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.section__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--teal);
}
.section__kicker::before, .section__kicker::after {
  content: ""; width: 6px; height: 6px; transform: rotate(45deg);
  background: var(--teal); box-shadow: 0 0 8px var(--teal);
}
.section__title {
  margin: 12px 0 14px; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(36px, 5vw, 60px); line-height: 1.05;
  background: linear-gradient(180deg, #fff1cc, var(--gold-2) 35%, var(--gold) 70%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0,0,0,.5));
}
.section__title--left { text-align: left; }
.section__sub { color: var(--muted); font-size: 17px; margin: 0; }

/* Каменная панель — общая основа карточек */
.stone {
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%),
    radial-gradient(120% 80% at 0% 0%, rgba(217,173,95,.06), transparent 50%),
    linear-gradient(180deg, var(--stone-2), var(--stone));
}

/* ---------- Особенности ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  position: relative; padding: 34px 30px 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%),
    linear-gradient(180deg, var(--stone-2), var(--stone));
  border: 1px solid var(--line);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
  transition: transform .3s ease, border-color .3s ease;
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px 200px at 50% 0%, rgba(63,224,208,.12), transparent 70%);
}
.feature:hover { transform: translateY(-6px); border-color: rgba(63,224,208,.45); }
.feature:hover::before { opacity: 1; }
.feature__icon {
  width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(160deg, var(--gold-2), var(--gold-3));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  position: relative;
}
.feature__icon::after {
  content: ""; position: absolute; inset: 2px; background: #121414;
  clip-path: inherit;
}
.feature__icon svg {
  position: relative; z-index: 1; width: 24px; height: 24px;
  fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px var(--teal));
}
.feature h3 { position: relative; margin: 0 0 8px; font-family: var(--font-head); font-size: 26px; color: var(--gold-2); }
.feature p { position: relative; margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Серверы ---------- */
.servers { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.server--main { grid-column: 1 / -1; }
.server {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--stone-2), var(--stone));
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.server::before, .server::after {
  content: ""; position: absolute; width: 22px; height: 22px; z-index: 3; pointer-events: none;
  border: 2px solid var(--gold);
}
.server::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.server::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.server:hover {
  transform: translateY(-6px); border-color: rgba(63,224,208,.5);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 40px -10px var(--teal-glow);
}
.server__banner { position: relative; overflow: hidden; aspect-ratio: 2560 / 600; }
.server__banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.server:hover .server__banner img { transform: scale(1.05); }
.server__banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--stone-2), transparent 45%);
}
.server__badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 6px 14px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); background: rgba(8,10,10,.8); border: 1px solid rgba(63,224,208,.5);
  backdrop-filter: blur(6px);
}
.server__badge--main { color: #1d1306; background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-color: var(--gold-2); }
.server__body { padding: 8px 30px 30px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.server--main .server__body {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 40px;
}
.server--main .server__desc { grid-row: 2; }
.server--main .copy { grid-column: 2; grid-row: 1; }
.server--main .server__actions { grid-column: 2; grid-row: 2; }
.server__info { display: flex; align-items: center; gap: 18px; }
.server__num {
  flex: none; width: 60px; height: 60px; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--teal);
  text-shadow: 0 0 12px var(--teal-glow);
  background: #0e1010; border: 1px solid var(--gold-3);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.server__name { margin: 0 0 6px; font-family: var(--font-head); font-size: 28px; line-height: 1.1; color: var(--gold-2); }
.server__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 2px 10px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.15); color: var(--muted);
}
.chip--gold { color: var(--gold-2); border-color: rgba(217,173,95,.45); }
.chip--teal { color: var(--teal); border-color: rgba(63,224,208,.45); }
.server__desc { margin: 0; color: var(--muted); font-size: 15px; }
.copy {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; cursor: pointer; text-align: left;
  background: #0b0c0c; border: 1px dashed rgba(63,224,208,.35); color: var(--text);
  font: inherit; transition: border-color .2s, background .2s;
}
.copy code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: #cfe9e5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy__hint { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.copy:hover { border-color: var(--teal); background: rgba(63,224,208,.06); }
.copy.is-copied .copy__hint { color: var(--gold-2); }
.server__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }

/* ---------- Кластер ---------- */
.cluster { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cluster__text p { color: #cfc6b3; }
.list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.list li { position: relative; padding-left: 28px; color: var(--text); }
.list li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px;
  transform: rotate(45deg); background: var(--teal); box-shadow: 0 0 10px var(--teal);
}
.note { font-size: 14px; color: var(--muted) !important; border-left: 2px solid var(--gold-3); padding-left: 14px; }
.cluster__map { position: relative; aspect-ratio: 400 / 360; max-width: 480px; width: 100%; margin-inline: auto; }
.cluster__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cluster__lines path { stroke: var(--gold-3); stroke-width: 2; fill: none; stroke-dasharray: 6 8; }
.cluster__lines .cluster__link {
  stroke: var(--teal); stroke-width: 3; stroke-dasharray: 10 10;
  filter: drop-shadow(0 0 6px var(--teal)); animation: dash 1.2s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -40; } }
.node {
  position: absolute; transform: translate(-50%, -50%); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.node span {
  width: 92px; height: 92px; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--gold-2);
  background: radial-gradient(circle at 50% 35%, #2a2d2e, #0d0e0e);
  border: 2px solid var(--gold);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.node small { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); line-height: 1.4; }
.node--1 { left: 50%; top: 19%; }
.node--2 { left: 20%; top: 78%; }
.node--3 { left: 80%; top: 78%; }
.node--2 span, .node--3 span { color: var(--teal); text-shadow: 0 0 14px var(--teal-glow); }
.node--1 span { box-shadow: none; filter: drop-shadow(0 0 18px rgba(217,173,95,.4)); }

/* ---------- Магазин ---------- */
.section--image { overflow: hidden; }
.section__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .28; filter: saturate(1.1);
}
.section--image::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, var(--bg), rgba(10,11,10,.4) 30%, rgba(10,11,10,.4) 70%, var(--bg));
}
.section--image .container { position: relative; z-index: 1; }
.shop {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  padding: 50px; background: rgba(12,13,13,.82); border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 6px rgba(12,13,13,.82), inset 0 0 0 7px rgba(217,173,95,.22);
}
.shop__text p { color: #cfc6b3; margin: 0; }
.shop__links { display: grid; gap: 14px; }
.shop-link {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  background: linear-gradient(90deg, rgba(217,173,95,.1), rgba(217,173,95,.02));
  border: 1px solid var(--line); transition: all .25s ease;
}
.shop-link:hover { border-color: var(--teal); background: linear-gradient(90deg, rgba(63,224,208,.14), rgba(63,224,208,.02)); transform: translateX(6px); }
.shop-link__num { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--teal); text-shadow: 0 0 12px var(--teal-glow); min-width: 44px; }
.shop-link__name { flex: 1; font-weight: 700; font-size: 17px; }
.shop-link__name small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.shop-link__arrow { font-size: 22px; color: var(--gold); transition: transform .25s; }
.shop-link:hover .shop-link__arrow { transform: translateX(4px); color: var(--teal); }

/* ---------- Шаги ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step {
  position: relative; padding: 30px 26px;
  background: linear-gradient(180deg, var(--stone-2), var(--stone));
  border-top: 2px solid var(--gold);
}
.step::after {
  content: ""; position: absolute; top: -7px; left: 26px; width: 12px; height: 12px;
  transform: rotate(45deg); background: var(--teal); box-shadow: 0 0 12px var(--teal);
}
.step__n {
  display: block; font-family: var(--font-head); font-size: 54px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--gold-3); margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-family: var(--font-head); font-size: 24px; color: var(--gold-2); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: linear-gradient(180deg, var(--stone-2), var(--stone));
  border: 1px solid var(--line); transition: border-color .2s;
}
.faq__item[open] { border-color: rgba(63,224,208,.4); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 700; font-size: 17px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(45deg); transition: transform .25s;
}
.faq__item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq__item p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA Discord ---------- */
.cta { padding: 40px 0 120px; }
.cta__box {
  position: relative; display: grid; grid-template-columns: 340px 1fr; align-items: center; gap: 50px;
  padding: 40px; overflow: hidden;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(88,101,242,.25), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(63,224,208,.12), transparent 60%),
    linear-gradient(180deg, var(--stone-2), var(--stone));
  border: 1px solid var(--line);
}
.cta__art {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.6));
}
.cta__content h2 {
  margin: 0 0 12px; font-family: var(--font-head); font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05;
  background: linear-gradient(180deg, #fff1cc, var(--gold) 70%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta__content p { color: #cfc6b3; font-size: 18px; margin: 0 0 28px; max-width: 520px; }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid var(--line); background: #070807; padding: 40px 0; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 1px solid var(--gold-3); }
.footer__brand b { display: block; font-family: var(--font-head); font-size: 22px; }
.footer__brand span { font-size: 13px; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; justify-content: flex-end; }
.footer__links a { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--teal); }
.footer__legal { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.05); font-size: 12px; color: #6f685c; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__ver { color: var(--gold-3); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 100;
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: 12px 24px; font-weight: 700; color: #04201d;
  background: linear-gradient(180deg, #7ff3e8, var(--teal));
  box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 30px var(--teal-glow);
  transition: all .3s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Анимация появления ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .header__cta { margin-left: auto; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(10,11,10,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: all .25s;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 16px 24px; border-top: 1px solid rgba(255,255,255,.04); }
  .nav a::after { display: none; }
  .burger {
    display: grid; gap: 5px; width: 44px; height: 44px; place-content: center;
    background: none; border: 1px solid var(--line); cursor: pointer;
  }
  .burger span { width: 20px; height: 2px; background: var(--gold-2); transition: transform .25s, opacity .25s; }
  .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); }
}
@media (max-width: 920px) {

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__logo { order: -1; width: min(300px, 70%); }
  .hero__lead { margin-inline: auto; }
  .hero__tags, .hero__actions { justify-content: center; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 5%, rgba(8,9,8,.75) 50%, rgba(8,9,8,.6)); }
  .hero__scroll { display: none; }

  .strip__grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .strip__item:nth-child(3)::before { display: none; }

  .servers { grid-template-columns: 1fr; }
  .server--main .server__body { display: flex; }
  .cluster, .shop { grid-template-columns: 1fr; }
  .shop { padding: 30px; }
  .cta__box { grid-template-columns: 1fr; text-align: center; padding: 30px; gap: 30px; }
  .cta__art { width: min(260px, 70%); margin-inline: auto; }
  .cta__content p { margin-inline: auto; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .brand__text { font-size: 20px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .server__body { padding: 6px 20px 24px; }
  .server__name { font-size: 23px; }
  .server__actions .btn { flex: 1; }
  .hero__actions .btn { width: 100%; }
  .node span { width: 70px; height: 70px; font-size: 24px; }
  .node small { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Не даём длинным названиям серверов распирать сетку */
.server, .server__body, .server__info, .server__info > div, .copy, .shop__links, .shop-link { min-width: 0; }
.copy code { min-width: 0; }
.server__name { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .copy { flex-direction: column; align-items: flex-start; gap: 6px; }
  .copy code { white-space: normal; overflow-wrap: anywhere; }
}

/* Появление первого экрана сразу при загрузке */
.intro { animation: intro 1s cubic-bezier(.2,.7,.2,1) both; }
.intro--late { animation-delay: .2s; }
@keyframes intro { from { opacity: 0; transform: translateY(30px); } }

/* ---------- Живой онлайн ---------- */
.server__online {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.server__online[hidden] { display: none; }
.server__online b { color: var(--text); }
.server__dot { width: 9px; height: 9px; border-radius: 50%; background: #6b6b6b; flex: none; }
.server__online[data-state="online"] .server__dot,
.server__online[data-state="countdown"] .server__dot { background: #57f287; box-shadow: 0 0 0 0 rgba(87,242,135,.6); animation: pulseGreen 2s infinite; }
.server__online[data-state="restarting"] .server__dot,
.server__online[data-state="countdown"] .server__dot { background: #fee75c; }
.server__online[data-state="offline"] .server__dot,
.server__online[data-state="issue"] .server__dot { background: #ed4245; }
@keyframes pulseGreen { 70% { box-shadow: 0 0 0 8px rgba(87,242,135,0); } 100% { box-shadow: 0 0 0 0 rgba(87,242,135,0); } }

/* ---------- Живая полоса в первом экране ---------- */
.live-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.live-bar[hidden], .live-chip[hidden] { display: none; }
.live-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  font-size: 13px; font-weight: 600; color: var(--text);
  background: rgba(12,13,13,.6); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.live-chip b { color: var(--gold-2); font-weight: 800; }
.live-chip svg { width: 16px; height: 16px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; }
#live-discord svg { fill: #8b95ff; stroke: none; }
.live-chip--warn { border-color: rgba(254,231,92,.45); }
.live-chip--warn svg { stroke: #fee75c; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #57f287; animation: pulseGreen 2s infinite; }
@media (max-width: 920px) { .live-bar { justify-content: center; } }

/* ---------- График онлайна ---------- */
.chart-card {
  padding: 28px 28px 18px; background: linear-gradient(180deg, var(--stone-2), var(--stone));
  border: 1px solid var(--line);
}
.chart-card__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.chart-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.chart-stat span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chart-stat b { font-family: var(--font-head); font-size: 40px; line-height: 1.1; color: var(--gold-2); }
.chart-tabs { display: inline-flex; border: 1px solid var(--line); }
.chart-tab {
  padding: 9px 16px; background: none; border: 0; cursor: pointer; font: inherit;
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.chart-tab + .chart-tab { border-left: 1px solid var(--line); }
.chart-tab.is-active { color: #0d1514; background: var(--teal); }
.chart-tab:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.chart { position: relative; height: 280px; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart .grid line { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.chart .axis text { fill: #8f877a; font-size: 11px; font-family: var(--font-body); }
.chart .line { fill: none; stroke: #1fa89b; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: url(#chartFill); }
.chart .peak circle { fill: #1fa89b; stroke: var(--stone-2); stroke-width: 2; }
.chart .peak text { fill: var(--text); font-size: 11px; font-weight: 700; font-family: var(--font-body); }
.chart .cross line { stroke: rgba(255,255,255,.35); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .cross circle { fill: #1fa89b; stroke: var(--stone-2); stroke-width: 2; }
.chart-tip {
  position: absolute; top: 0; pointer-events: none; transform: translateX(-50%);
  padding: 8px 12px; white-space: nowrap; font-size: 12px; color: var(--text);
  background: rgba(10,11,11,.94); border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0,0,0,.5);
}
.chart-tip b { display: block; font-size: 15px; color: var(--gold-2); }
.chart-tip[hidden] { display: none; }
.chart-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
@media (max-width: 560px) {
  .chart-card { padding: 20px 14px 14px; }
  .chart-stats { gap: 20px; }
  .chart-stat b { font-size: 30px; }
  .chart { height: 220px; }
}

/* ---------- Счётчик Discord в CTA ---------- */
.cta__stats { margin: 16px 0 0 !important; font-size: 15px !important; color: var(--muted) !important; }
.cta__stats b { color: var(--text); }
.cta__stats i { display: inline-block; width: 8px; height: 8px; margin: 0 6px 1px 14px; border-radius: 50%; background: #57f287; }

/* ---------- Новости и патчноуты ---------- */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.news__heading {
  margin: 0 0 16px; font-family: var(--font-head); font-size: 26px; color: var(--gold-2);
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.news__lang { font-family: var(--font-body); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.news__list { display: grid; gap: 14px; }
.news__empty { color: var(--muted); margin: 0; }
.news-card {
  position: relative; padding: 20px 22px; background: linear-gradient(180deg, var(--stone-2), var(--stone));
  border: 1px solid var(--line); border-left: 3px solid var(--gold-3); transition: border-color .2s, transform .2s;
}
.news-card:hover { border-color: rgba(63,224,208,.4); border-left-color: var(--teal); transform: translateX(3px); }
.news-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.news-card__tag {
  padding: 2px 8px; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); border: 1px solid rgba(63,224,208,.4);
}
.news-card__tag--patch { color: var(--gold-2); border-color: rgba(217,173,95,.45); }
.news-card h4 { margin: 0 0 8px; font-size: 17px; line-height: 1.35; color: var(--text); }
.news-card p { margin: 0; font-size: 14px; color: var(--muted); }
.news-card ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.news-card li + li { margin-top: 4px; }
.news-card__more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--teal); }
.news-card__more:hover { color: var(--gold-2); }
.news__more { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.news__more:hover { color: var(--teal); }
@media (max-width: 920px) { .news { grid-template-columns: 1fr; } }
