/* ============================================================
   BlockHost — новый интерфейс
   Тёмная «игровая» панель: стекло, неоновые акценты, мягкая сетка.
   ============================================================ */

[hidden] { display: none !important; }

:root {
  --bg: #070a11;
  --bg-2: #0a0f18;
  --bg-3: #0e1521;
  --panel: #0d1420;
  --panel-2: #111a28;
  --panel-3: #172337;
  --line: rgba(148, 176, 209, .14);
  --line-strong: rgba(148, 176, 209, .28);
  --text: #eef4fb;
  --muted: #94a6bb;
  --muted-2: #61738a;
  --accent: #a6ff6b;
  --accent-2: #4fe3ff;
  --accent-strong: #7cf26b;
  --accent-soft: rgba(166, 255, 107, .10);
  --cyan-soft: rgba(79, 227, 255, .10);
  --violet: #a98bff;
  --amber: #ffc857;
  --pink: #ff7ba7;
  --danger: #ff6b7d;
  --radius: 18px;
  --radius-sm: 11px;
  --radius-lg: 26px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
  --font: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", "Consolas", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 20px; height: 20px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { pointer-events: none; }
.ico { width: 18px; height: 18px; flex: none; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- Фон ---------- */
.page-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.page-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148, 176, 209, .035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148, 176, 209, .035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
.page-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -10%, rgba(79, 227, 255, .06), transparent 45%);
}
.page-bg span { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .20; }
.page-bg span:nth-child(1) { width: 520px; height: 520px; background: #6bff5c; top: -200px; left: -140px; }
.page-bg span:nth-child(2) { width: 480px; height: 480px; background: #3aa8ff; top: 260px; right: -200px; opacity: .14; }
.page-bg span:nth-child(3) { width: 420px; height: 420px; background: #8b5cff; top: 1250px; left: -180px; opacity: .12; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 12px 20px; font-weight: 800; font-size: 14px; line-height: 1.2;
  white-space: nowrap; transition: transform .18s ease, background .18s ease,
  border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-2); outline-offset: 3px;
}
.btn-sm { padding: 9px 14px; font-size: 12.5px; }
.btn-lg { padding: 15px 25px; font-size: 15px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #62f5a8);
  color: #07140b;
  box-shadow: 0 10px 28px rgba(166, 255, 107, .20), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(166, 255, 107, .32); background: linear-gradient(135deg, #b8ff8b, #6dffb4); }
.btn-outline { background: rgba(255,255,255,.03); border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); background: var(--cyan-soft); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.04); }
.btn-danger-ghost { background: transparent; border-color: rgba(255,107,125,.30); color: #ff9aa8; }
.btn-danger-ghost:hover { background: rgba(255,107,125,.10); border-color: var(--danger); }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--muted); transition: .18s ease;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 10, 17, .78); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 74px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-cube {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #07140b; box-shadow: 0 8px 20px rgba(166,255,107,.22); transform: rotate(-7deg);
}
.brand-cube svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.brand-text { font-weight: 900; letter-spacing: .055em; font-size: 17px; }
.brand-text span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { font-size: 13.5px; font-weight: 700; color: var(--muted); transition: color .18s; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: right .2s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-live {
  display: inline-flex; align-items: center; gap: 7px; margin-right: 6px;
  padding: 6px 11px; border-radius: 100px; border: 1px solid var(--line);
  background: rgba(255,255,255,.025); color: var(--muted); font-size: 11.5px; font-weight: 700;
}
.header-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(166,255,107,.12); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; }

/* ---------- Hero ---------- */
.hero-banner {
  position: relative; height: clamp(180px, 22vw, 300px); overflow: hidden;
  background: #080d15; border-bottom: 1px solid var(--line);
}
.hero-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }
.hero-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,10,17,.10), rgba(7,10,17,.75));
}
.hero { padding: 68px 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 58px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px;
  border: 1px solid rgba(166,255,107,.24); border-radius: 100px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(166,255,107,.14); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(166,255,107,0); } }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.03em; }
.hero h1 { font-size: clamp(40px, 5.3vw, 68px); font-weight: 900; margin: 22px 0 20px; }
.grad { background: linear-gradient(100deg, var(--accent) 5%, #8dffb4 48%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 0 30px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-perks { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-perks li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 600; }
.hero-perks .ico { width: 17px; height: 17px; color: #07140b; background: var(--accent); border-radius: 50%; padding: 3px; stroke-width: 3.5; }

/* Терминал */
.hero-visual { position: relative; padding: 28px 0 44px; }
.terminal-window {
  position: relative; z-index: 2; border: 1px solid var(--line-strong); border-radius: 18px;
  background: linear-gradient(180deg, rgba(19,28,42,.96), rgba(10,15,24,.97));
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02) inset;
  overflow: hidden; transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  animation: floaty 8s ease-in-out infinite;
}
.terminal-window::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(130deg, rgba(166,255,107,.22), transparent 35%, transparent 65%, rgba(79,227,255,.18));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; padding: 1px;
}
@keyframes floaty { 50% { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-10px); } }
.terminal-top {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03);
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #39485a; }
.window-dots i:first-child { background: #ff6b7d; }
.window-dots i:nth-child(2) { background: var(--amber); }
.window-dots i:nth-child(3) { background: var(--accent); }
.terminal-top-tag { margin-left: auto; color: var(--accent); border: 1px solid rgba(166,255,107,.28); border-radius: 5px; padding: 2px 7px; font-size: 9.5px; letter-spacing: .12em; font-weight: 800; }
.terminal-body { padding: 22px 20px 26px; min-height: 230px; font-family: var(--mono); font-size: 12px; line-height: 2; }
.tline { color: #b6c4d3; opacity: 0; animation: lineIn .45s forwards; white-space: nowrap; }
.tline:nth-child(1) { animation-delay: .2s; }
.tline:nth-child(2) { animation-delay: .7s; }
.tline:nth-child(3) { animation-delay: 1.2s; }
.tline:nth-child(4) { animation-delay: 1.7s; }
.tline:nth-child(5) { animation-delay: 2.2s; }
.tline:nth-child(6) { animation-delay: 2.5s; }
@keyframes lineIn { to { opacity: 1; } }
.t-time { color: var(--muted-2); }
.t-info { color: var(--accent-2); }
.t-ok { color: var(--accent); }
.t-success { color: var(--accent); margin-top: 8px; font-weight: 800; }
.t-cursor { color: var(--accent); display: flex; gap: 6px; }
.t-cursor i { display: inline-block; width: 8px; height: 15px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.terminal-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--line); background: rgba(0,0,0,.22); }
.ip-label { display: block; font-size: 9.5px; letter-spacing: .14em; color: var(--muted-2); font-weight: 800; }
.terminal-foot strong { font-family: var(--mono); font-size: 12.5px; color: var(--accent); }
.float-cube {
  position: absolute; z-index: 3; width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(140deg, var(--accent), #3ba531);
  box-shadow: inset -8px -8px 0 rgba(0,0,0,.16), 0 14px 30px rgba(0,0,0,.4);
  animation: cubeFloat 6s ease-in-out infinite;
}
.float-cube::after { content: ""; position: absolute; inset: 7px 7px auto auto; width: 12px; height: 12px; background: rgba(255,255,255,.30); border-radius: 3px; }
.cube-a { top: -12px; right: -18px; transform: rotate(16deg); }
.cube-b { bottom: 4px; left: -30px; width: 34px; height: 34px; background: linear-gradient(140deg, var(--accent-2), #2d60ad); animation-delay: -2s; }
.cube-c { bottom: -14px; right: 60px; width: 24px; height: 24px; background: linear-gradient(140deg, var(--violet), #5f45a8); animation-delay: -4s; }
@keyframes cubeFloat { 50% { translate: 0 -14px; rotate: 8deg; } }
.uptime-badge {
  position: absolute; z-index: 4; right: -16px; bottom: 112px;
  display: flex; align-items: center; gap: 8px; padding: 9px 14px;
  background: #0d1521; border: 1px solid var(--line-strong); border-radius: 10px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 800; letter-spacing: .06em;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
.live-card {
  position: absolute; z-index: 4; left: -26px; top: 4px; width: 190px;
  padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 13px;
  background: rgba(13,20,32,.94); box-shadow: 0 18px 40px rgba(0,0,0,.4);
  backdrop-filter: blur(10px);
}
.live-card span { display: block; color: var(--muted-2); font-size: 9.5px; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; }
.live-card strong { display: block; margin-top: 4px; font-family: var(--mono); font-size: 15px; color: var(--accent-2); }
.live-card small { display: block; margin-top: 6px; color: var(--muted); font-size: 10.5px; }

/* Статистика */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 92px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(120deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}
.stat { padding: 24px 28px; border-right: 1px solid var(--line); position: relative; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: .55; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 27px; font-weight: 900; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: 12.5px; }

/* ---------- Секции ---------- */
.section { padding: 108px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,0)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 46px; }
.kicker { color: var(--accent-2); font-family: var(--mono); font-size: 11.5px; font-weight: 800; letter-spacing: .16em; }
.section-head h2, .faq-intro h2 { font-size: clamp(30px, 3.7vw, 44px); font-weight: 900; margin: 14px 0 12px; }
.section-head p, .faq-intro p { color: var(--muted); margin: 0; font-size: 16px; }

/* Возможности */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.008));
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -90px; top: -90px;
  border-radius: 50%; background: radial-gradient(circle, rgba(166,255,107,.10), transparent 70%);
  opacity: 0; transition: opacity .22s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(166,255,107,.38); background: linear-gradient(160deg, rgba(166,255,107,.07), rgba(255,255,255,.012)); box-shadow: 0 24px 50px rgba(0,0,0,.28); }
.feature-card:hover::after { opacity: 1; }
.feature-card:first-child { grid-column: span 2; }
.feature-card:last-child { grid-column: span 3; display: flex; align-items: center; gap: 24px; }
.feature-card:last-child .feature-icon { margin-bottom: 0; flex: none; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; margin-bottom: 20px; }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon.green { background: rgba(166,255,107,.13); color: var(--accent); }
.feature-icon.blue { background: rgba(79,227,255,.13); color: var(--accent-2); }
.feature-icon.purple { background: rgba(169,139,255,.14); color: var(--violet); }
.feature-icon.amber { background: rgba(255,200,87,.13); color: var(--amber); }
.feature-icon.pink { background: rgba(255,123,167,.13); color: var(--pink); }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 26px 26px 26px 0; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 50px; left: 58px; right: -14px; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.step-num {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px;
  border: 1px solid rgba(166,255,107,.24); border-radius: 14px; background: var(--accent-soft);
  color: var(--accent); font-family: var(--mono); font-size: 19px; font-weight: 800;
  box-shadow: 0 10px 26px rgba(166,255,107,.08);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; max-width: 310px; }

/* ---------- Формы и конфигуратор ---------- */
.config-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.config-form, .summary-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.config-form { padding: 30px; display: grid; gap: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.20); }
.field { display: grid; gap: 9px; }
.field-label { font-size: 12.5px; font-weight: 800; color: #cbd8e6; display: flex; justify-content: space-between; align-items: center; }
.field-label b { color: var(--accent); font-family: var(--mono); font-size: 12px; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select {
  width: 100%; height: 46px; padding: 0 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #0a111b; color: var(--text);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
input::placeholder { color: #55677c; }
input:focus, select:focus { border-color: var(--accent-2); outline: none; box-shadow: 0 0 0 3px rgba(79,227,255,.11); background: #0c1521; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a6bb' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; }
select option { background: #0d1420; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.core-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.core-option { position: relative; cursor: pointer; }
.core-option input { position: absolute; opacity: 0; }
.core-option span {
  display: grid; gap: 3px; padding: 12px 6px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #0a111b; transition: .18s;
}
.core-option strong { font-size: 12.5px; }
.core-option small { color: var(--muted-2); font-size: 9.5px; }
.core-option:hover span { border-color: var(--line-strong); }
.core-option input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px rgba(166,255,107,.18) inset; }
.core-option input:checked + span strong { color: var(--accent); }
.core-option input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
input[type="range"] { width: 100%; height: 6px; appearance: none; border-radius: 10px; background: linear-gradient(90deg, var(--accent) 0 var(--fill, 20%), #243248 var(--fill, 20%) 100%); outline: none; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 19px; height: 19px; border-radius: 50%; background: var(--accent); border: 3px solid #0a111b; box-shadow: 0 0 0 1px var(--accent), 0 4px 12px rgba(0,0,0,.4); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid #0a111b; cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 10.5px; }
.range-scale i { font-style: normal; }
.config-note {
  display: flex; align-items: center; gap: 10px; margin-top: -6px;
  padding: 11px 14px; border-radius: 11px; border: 1px solid var(--line);
  background: rgba(79,227,255,.05); color: var(--muted); font-size: 12px;
}
.config-note .ico { color: var(--accent-2); }
.summary-card { position: sticky; top: 96px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.32); }
.summary-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.summary-head { display: flex; align-items: center; gap: 9px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 800; }
.summary-head svg { color: var(--accent); }
.summary-live { margin-left: auto; color: var(--muted-2); font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; }
.summary-preview { display: flex; align-items: center; gap: 14px; padding: 22px 20px; background: linear-gradient(120deg, rgba(166,255,107,.06), rgba(79,227,255,.03)); }
.preview-cube {
  width: 44px; height: 44px; flex: none; border-radius: 9px; transform: rotate(-8deg);
  background: linear-gradient(140deg, var(--accent), #2e8c2a);
  box-shadow: inset -7px -7px 0 rgba(0,0,0,.16), 0 10px 20px rgba(0,0,0,.3);
}
.summary-preview strong { display: block; font-size: 16px; }
.summary-preview small { color: var(--muted); font-size: 11.5px; font-family: var(--mono); }
.summary-list { list-style: none; margin: 0; padding: 8px 20px 16px; }
.summary-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.06); font-size: 12.5px; }
.summary-list li:last-child { border-bottom: 0; }
.summary-list span { color: var(--muted); }
.summary-list b { font-weight: 700; text-align: right; }
.summary-price { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-top: 1px solid var(--line); background: rgba(0,0,0,.18); }
.summary-price > span { font-size: 11.5px; color: var(--muted); max-width: 90px; }
.summary-price div { text-align: right; }
.summary-price strong { display: block; font-size: 25px; font-weight: 900; }
.summary-price small { color: var(--accent); font-size: 10.5px; }
.summary-card > .btn { margin: 20px 20px 0; width: calc(100% - 40px); }
.summary-note { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted-2); font-size: 11px; margin: 12px 0 20px; }
.summary-note .ico { width: 14px; height: 14px; }

/* ---------- Тарифы ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { display: flex; flex-direction: column; position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.price-card .price-list { flex: 1; }
.price-card .btn { margin-top: 4px; }
.price-card.featured { border-color: rgba(166,255,107,.42); background: linear-gradient(165deg, rgba(166,255,107,.09), var(--panel) 55%); box-shadow: 0 24px 60px rgba(0,0,0,.30), 0 0 0 1px rgba(166,255,107,.08) inset; }
.price-badge { position: absolute; top: -12px; right: 22px; padding: 4px 12px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07140b; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.price-card h3 { font-size: 23px; }
.price-card > p { color: var(--muted); font-size: 13px; margin: 6px 0 22px; }
.price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 22px; }
.price strong { font-size: 38px; font-weight: 900; letter-spacing: -.05em; }
.price span { color: var(--muted); font-size: 12.5px; }
.price-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #c4d1de; }
.price-list .ico { width: 17px; height: 17px; color: var(--accent); stroke-width: 3.2; margin-top: 2px; }
.price-card.locked { border-style: dashed; opacity: .82; cursor: pointer; transition: border-color .2s, opacity .2s, transform .2s; }
.price-card.locked:hover { opacity: 1; border-color: rgba(255,200,87,.5); transform: translateY(-3px); }
.price-badge.muted { background: var(--amber); color: #2b1d00; }
.price-card.locked .price strong { font-size: 30px; color: var(--muted); }
.price-card.locked .price-list .ico { color: var(--muted-2); }
.price-soon { display: flex; align-items: center; gap: 8px; margin: -8px 0 4px; padding: 9px 12px; border-radius: 9px; background: rgba(255,200,87,.08); color: var(--amber); font-size: 11.5px; font-weight: 800; }
.price-soon .ico { width: 15px; height: 15px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 340px 1fr; gap: 70px; }
.faq-intro { position: sticky; top: 110px; align-self: start; }
.faq-intro p { margin-bottom: 24px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 13px; background: var(--panel); overflow: hidden; }
.faq-list details[open] { border-color: rgba(79,227,255,.35); box-shadow: 0 14px 34px rgba(0,0,0,.20); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 800; font-size: 14.5px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico { color: var(--muted); transition: transform .2s, color .2s; }
.faq-list details[open] summary .ico { transform: rotate(180deg); color: var(--accent-2); }
.faq-list details p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: 13.5px; }

/* ---------- Сбор и CTA ---------- */
.fundraiser { background: linear-gradient(180deg, transparent, rgba(166,255,107,.025), transparent); }
.fund-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; padding: 38px; border: 1px solid rgba(166,255,107,.22); border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(166,255,107,.07), rgba(79,227,255,.05)); }
.fund-copy h2 { margin: 8px 0 12px; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.fund-copy p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.fund-note { display: flex; align-items: center; gap: 9px; color: var(--muted-2); font-size: 12px; }
.fund-note .ico { color: var(--accent); }
.fund-card { padding: 26px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.fund-top { display: flex; align-items: baseline; gap: 9px; font-size: 12.5px; color: var(--muted); }
.fund-top strong { margin-left: auto; font-family: var(--mono); font-size: 26px; color: var(--accent); }
.fund-bar { height: 10px; margin: 16px 0 8px; border-radius: 10px; background: #1a2637; overflow: hidden; }
.fund-bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .5s ease; }
.fund-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 20px; color: var(--muted-2); font-size: 11px; }
.fund-card small { display: block; margin-top: 12px; color: var(--muted-2); font-size: 10.5px; line-height: 1.5; }
.final-cta { padding: 90px 0 110px; }
.cta-box {
  position: relative; overflow: hidden; text-align: center; padding: 66px 24px;
  border: 1px solid rgba(166,255,107,.24); border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 120%, rgba(166,255,107,.16), transparent 60%), var(--panel);
}
.cta-box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(166,255,107,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(166,255,107,.04) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); pointer-events: none; }
.cta-box h2 { position: relative; font-size: clamp(28px, 4vw, 42px); font-weight: 900; }
.cta-box p { position: relative; color: var(--muted); margin: 12px 0 28px; }
.cta-box .btn { position: relative; }
.cta-cube { position: relative; width: 60px; height: 60px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07140b; transform: rotate(-8deg); box-shadow: 0 14px 34px rgba(166,255,107,.25); }
.cta-cube svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- Подвал и реклама ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 24px; background: #060911; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); max-width: 270px; font-size: 13px; margin: 16px 0 0; }
.footer-col { display: grid; gap: 11px; align-content: start; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 6px; }
.footer-col a, .footer-col button { color: var(--muted); font-size: 13px; background: none; border: 0; padding: 0; text-align: left; transition: color .18s; }
.footer-col a:hover, .footer-col button:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 50px; padding-top: 22px; color: var(--muted-2); font-size: 11.5px; }
.legal-box { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.legal-box h3 { margin: 0 0 8px; font-size: 16px; }
.legal-box p { margin: 0; color: var(--muted); font-size: 12.5px; }
.ad-slot { min-height: 90px; margin: 20px auto; padding: 8px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; }
.ad-slot-top { margin-top: 16px; }
.ad-slot ins.adsbygoogle { display: block !important; }

/* ---------- Модальное окно ---------- */
.modal-backdrop, .panel-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(3, 5, 9, .82); backdrop-filter: blur(10px);
}
.modal-backdrop.open, .panel-overlay.open { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.modal { position: relative; width: min(430px, 100%); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(180deg, #111b2a, #0b111b); padding: 36px; box-shadow: var(--shadow); animation: modalIn .25s ease; overflow: hidden; }
.modal::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
@keyframes modalIn { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: var(--muted); padding: 5px; }
.modal-close:hover { color: var(--text); }
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-logo { width: 52px; height: 52px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07140b; box-shadow: 0 12px 30px rgba(166,255,107,.20); }
.auth-logo svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.auth-head h2 { font-size: 25px; }
.auth-head p { color: var(--muted); font-size: 13px; margin: 7px 0 0; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #0a111b; margin-bottom: 22px; }
.auth-tabs button { padding: 9px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 800; font-size: 12.5px; }
.auth-tabs button.active { background: var(--accent-soft); color: var(--accent); }
#auth-form { display: grid; gap: 16px; }
.auth-error { color: #ff9aa8; background: rgba(255,107,125,.09); border: 1px solid rgba(255,107,125,.25); border-radius: 9px; padding: 9px 12px; font-size: 12.5px; margin: 0; }
.auth-foot { color: var(--muted-2); font-size: 11px; text-align: center; margin: 20px 0 0; }

/* ---------- Панель управления ---------- */
.panel-overlay { padding: 0; background: #070a11; }
.panel-shell { width: 100%; height: 100%; display: flex; flex-direction: column; }
.panel-header { display: flex; align-items: center; gap: 20px; height: 68px; flex: none; padding: 0 26px; border-bottom: 1px solid var(--line); background: rgba(10,15,24,.96); backdrop-filter: blur(12px); }
.panel-header .brand-text { font-size: 15px; }
.panel-server-pill { display: flex; align-items: center; gap: 9px; margin-left: 18px; padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255,255,255,.03); color: var(--text); font-size: 12.5px; font-weight: 700; transition: border-color .18s, background .18s; }
.panel-server-pill:hover { border-color: rgba(166,255,107,.45); background: var(--accent-soft); }
.panel-server-pill .ico { color: var(--accent); }
.panel-server-pill .pill-chevron { width: 14px; height: 14px; color: var(--muted-2); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #58667a; }
.status-dot.on { background: var(--accent); box-shadow: 0 0 0 4px rgba(166,255,107,.14); }
.panel-user { margin-left: auto; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12.5px; }
.panel-caps { padding: 5px 10px; border: 1px solid var(--line); border-radius: 100px; font-size: 10.5px; color: var(--muted); font-family: var(--mono); }
.panel-body { flex: 1; display: flex; min-height: 0; }
.panel-sidebar { width: 236px; flex: none; padding: 24px 14px; border-right: 1px solid var(--line); background: rgba(10,15,24,.72); display: flex; flex-direction: column; gap: 5px; }
.sidebar-label { color: var(--muted-2); font-size: 9.5px; font-weight: 900; letter-spacing: .16em; padding: 0 14px 10px; }
.sidebar-label-second { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.side-link { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 700; text-align: left; position: relative; transition: background .18s, color .18s; }
.side-link:hover { background: rgba(255,255,255,.04); color: var(--text); }
.side-link.active { background: linear-gradient(90deg, var(--accent-soft), rgba(79,227,255,.04)); color: var(--accent); }
.side-link.active::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 3px; background: linear-gradient(var(--accent), var(--accent-2)); }
.sidebar-bottom { margin-top: auto; padding: 14px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 11px; display: flex; align-items: center; gap: 8px; }
.panel-main { flex: 1; overflow-y: auto; padding: 34px 42px 64px; scrollbar-color: #2b3b50 transparent; }
.panel-view { display: none; max-width: 1000px; }
.panel-view.active { display: block; animation: fadeIn .2s ease; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.panel-heading h2 { font-size: 25px; }
.panel-heading p { color: var(--muted); font-size: 13px; margin: 5px 0 0; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 100px; font-size: 11.5px; font-weight: 800; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.status-chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-chip.running, .status-chip.online { color: var(--accent); border-color: rgba(166,255,107,.32); background: var(--accent-soft); }
.status-chip.ready { color: var(--amber); border-color: rgba(255,200,87,.3); background: rgba(255,200,87,.08); }

/* Обзор */
.control-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(120deg, rgba(166,255,107,.06), var(--panel) 45%); position: relative; overflow: hidden; }
.control-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(79,227,255,.12), transparent 70%); pointer-events: none; }
.control-info { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; }
.control-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, rgba(166,255,107,.18), rgba(79,227,255,.12)); color: var(--accent); border: 1px solid rgba(166,255,107,.25); }
.control-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.control-info h3 { font-size: 19px; }
.control-info p { color: var(--muted); font-size: 12.5px; margin: 4px 0 0; font-family: var(--mono); }
.control-buttons { display: flex; gap: 9px; flex-wrap: wrap; position: relative; z-index: 1; }
.ip-card { display: flex; align-items: center; gap: 16px; padding: 20px 24px; margin-top: 16px; border: 1px solid rgba(79,227,255,.28); border-radius: var(--radius); background: linear-gradient(100deg, var(--cyan-soft), rgba(255,255,255,.015)); }
.ip-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(79,227,255,.13); color: var(--accent-2); }
.ip-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ip-text { min-width: 0; flex: 1; }
.ip-text span { display: block; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.ip-text strong { display: block; font-family: var(--mono); font-size: clamp(14px, 1.3vw, 17px); color: var(--accent-2); margin: 3px 0; word-break: break-all; }
.ip-text small { display: block; color: var(--muted-2); font-size: 11px; }
.ip-card .btn { flex: none; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.metric { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); transition: border-color .2s, transform .2s; }
.metric:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.metric span { display: block; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.metric strong { display: block; font-size: 21px; font-weight: 900; font-family: var(--mono); margin: 6px 0 2px; letter-spacing: -.02em; }
.metric small { color: var(--muted-2); font-size: 10.5px; }
.metric-auto strong { color: var(--amber); font-size: 17px; }
.jar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.jar-actions span { margin-right: auto; font-size: 12px; color: var(--muted); }
.install-box { margin-top: 16px; padding: 16px 20px; border: 1px solid rgba(79,227,255,.3); border-radius: 12px; background: var(--cyan-soft); }
.install-top { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.install-top b { color: var(--accent-2); font-family: var(--mono); }
.install-track { height: 7px; margin-top: 10px; border-radius: 10px; background: #1a2637; overflow: hidden; }
.install-track i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width .3s ease; }
.install-box p { margin: 10px 0 0; color: #ff9aa8; font-size: 12px; }
.panel-tip { display: flex; gap: 10px; align-items: center; margin-top: 20px; padding: 14px 18px; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); font-size: 12.5px; }
.panel-tip .ico { color: var(--amber); }

/* Консоль */
.console-connection { color: var(--accent); font-size: 11.5px; display: flex; gap: 7px; align-items: center; font-weight: 700; }
.console-connection i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(166,255,107,.12); }
.console-box { border: 1px solid var(--line-strong); border-radius: var(--radius); background: #060a11; overflow: hidden; box-shadow: var(--shadow); }
.console-log { height: 420px; overflow-y: auto; padding: 18px 20px; font-family: var(--mono); font-size: 12px; line-height: 1.9; scrollbar-color: #2b3b50 transparent; }
.log-line { white-space: pre-wrap; word-break: break-word; }
.log-line .t { color: #526478; }
.log-line.info { color: #a9c2d9; }
.log-line.ok { color: var(--accent); }
.log-line.warn { color: var(--amber); }
.log-line.cmd { color: #fff; }
.log-line.error { color: #ff9aa8; }
.log-line .prefix { color: var(--violet); }
.console-input { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: #0b111b; }
.console-input span { color: var(--accent); font-family: var(--mono); font-weight: 800; }
.console-input input { flex: 1; border: 0; background: transparent; box-shadow: none !important; font-family: var(--mono); font-size: 12.5px; }
.console-input button { border: 0; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07140b; padding: 8px 16px; border-radius: 8px; font-size: 11.5px; font-weight: 900; }
.quick-commands { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.quick-commands span { color: var(--muted); font-size: 11.5px; margin-right: 4px; }
.quick-commands button { padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: #b7c6d5; font-family: var(--mono); font-size: 11px; }
.quick-commands button:hover { border-color: var(--accent); color: var(--accent); }

/* Файлы, игроки, настройки */
.file-table { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.file-row { display: grid; grid-template-columns: 1fr 120px 140px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 12.5px; align-items: center; }
.file-row:last-child { border-bottom: 0; }
.file-head { background: rgba(255,255,255,.035); color: var(--muted); font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.file-row .ico { vertical-align: middle; margin-right: 10px; color: #6f8498; }
.file-row .ico.folder { color: var(--amber); }
.file-link { color: var(--text); }
.file-link:hover { color: var(--accent); }
.players-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); min-height: 300px; display: grid; place-items: center; padding: 40px; text-align: center; }
.players-card.list { display: block; padding: 10px 22px; text-align: left; }
.empty-players svg { width: 48px; height: 48px; color: var(--muted-2); fill: none; stroke: currentColor; stroke-width: 1.4; }
.empty-players h3 { margin: 14px 0 6px; font-size: 18px; }
.empty-players p { color: var(--muted); font-size: 12.5px; margin-bottom: 20px; }
.player-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.player-row:last-child { border-bottom: 0; }
.player-avatar { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(140deg, var(--accent), #2e8c2a); display: grid; place-items: center; font-weight: 900; color: #07140b; }
.player-row strong { font-size: 13.5px; }
.player-row small { display: block; color: var(--muted); font-size: 11px; }
.player-row .ping { margin-left: auto; color: var(--accent); font-family: var(--mono); font-size: 11.5px; }
.settings-form { display: grid; gap: 20px; max-width: 640px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.settings-form > .btn { justify-self: start; }
.form-section { grid-column: 1 / -1; margin: 4px 0 -6px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); font-weight: 900; }
.toggle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-line { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--muted); cursor: pointer; }
.check-line input { width: 17px; height: 17px; accent-color: var(--accent); margin-top: 2px; flex: none; }
.check-line a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.field-hint { margin: -4px 0 0; color: var(--muted-2); font-size: 11px; }
.muted-small { color: var(--muted-2); font-size: 10.5px; }
#btn-install-java { margin-top: 6px; }
.plan-limits { display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.03); font-size: 12px; color: var(--muted); }
.danger-zone { border-color: rgba(255,107,125,.24); background: linear-gradient(160deg, rgba(255,107,125,.05), var(--panel) 55%); }

/* Отсеки */
.slots-meter { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 12px; }
.slots-meter .meter { flex: 1; height: 7px; border-radius: 10px; background: #1a2637; overflow: hidden; }
.slots-meter .meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.slot-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.slot-card:hover { transform: translateY(-3px); border-color: rgba(166,255,107,.45); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.slot-card.active { border-color: var(--accent); background: linear-gradient(160deg, rgba(166,255,107,.08), var(--panel) 60%); }
.slot-top { display: flex; align-items: center; gap: 11px; }
.slot-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.slot-top strong { display: block; font-size: 14.5px; }
.slot-top small { color: var(--muted); font-size: 11px; font-family: var(--mono); }
.slot-badge { margin-left: auto; padding: 4px 9px; border-radius: 100px; font-size: 9.5px; font-weight: 900; letter-spacing: .05em; border: 1px solid var(--line); color: var(--muted); }
.slot-badge.running { color: var(--accent); border-color: rgba(166,255,107,.3); background: var(--accent-soft); }
.slot-badge.installing, .slot-badge.starting { color: var(--accent-2); border-color: rgba(79,227,255,.3); }
.slot-badge.error { color: #ff9aa8; border-color: rgba(255,107,125,.3); }
.slot-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; color: var(--muted); font-size: 11px; font-family: var(--mono); }
.slot-actions { display: flex; gap: 8px; margin-top: 15px; }
.slot-actions .btn { flex: 1; }
.slot-address { margin-top: 13px; padding: 8px 10px; border-radius: 9px; background: rgba(79,227,255,.07); color: var(--accent-2); font-family: var(--mono); font-size: 11px; word-break: break-all; }
.slot-address.empty { color: var(--muted-2); background: rgba(255,255,255,.03); }
.empty-slots { grid-column: 1 / -1; padding: 50px 24px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.panel-create-form { margin-bottom: 22px; border-color: rgba(166,255,107,.3); max-width: none; }
.panel-create-form > .panel-heading { margin-bottom: 0; }

/* Админка */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.admin-stat { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.admin-stat span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); font-weight: 800; }
.admin-stat strong { display: block; margin-top: 6px; font-size: 21px; font-family: var(--mono); }
.admin-host { margin-bottom: 18px; }
.admin-row { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr auto; gap: 10px; align-items: center; }
.admin-row .btn { padding: 5px 9px; font-size: 11.5px; }
.panic-state { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 8px 12px; border-radius: 100px; border: 1px solid rgba(166,255,107,.28); background: var(--accent-soft); color: var(--accent); font-size: 11.5px; font-weight: 800; }
.panic-state.active { border-color: rgba(255,107,125,.4); background: rgba(255,107,125,.1); color: #ff9aa8; }
.panic-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Уведомления */
.toast-stack { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border: 1px solid rgba(166,255,107,.3); border-radius: 12px; background: rgba(15,26,22,.96); color: var(--text); font-size: 12.5px; box-shadow: 0 14px 34px rgba(0,0,0,.45); animation: toastIn .25s ease; backdrop-filter: blur(10px); }
.toast .ico { color: var(--accent); }
.toast.error { border-color: rgba(255,107,125,.42); background: rgba(38,18,22,.96); }
.toast.error .ico { color: var(--danger); }
.toast.out { opacity: 0; transform: translateX(20px); transition: .25s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Свой JAR / сборка с модами ---------- */
.launch-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px;
  border: 1px solid var(--line); border-radius: 12px; background: #0a111b;
}
.launch-tab { position: relative; cursor: pointer; min-width: 0; }
.launch-tab input { position: absolute; opacity: 0; }
.launch-tab span {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 8px; border-radius: 9px; color: var(--muted);
  font-size: 12.5px; font-weight: 800; text-align: center; white-space: nowrap;
  transition: background .18s, color .18s, box-shadow .18s;
}
.launch-tab span .ico { width: 15px; height: 15px; }
.launch-tab:hover span { color: var(--text); background: rgba(255,255,255,.035); }
.launch-tab input:checked + span {
  color: var(--accent); background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(166,255,107,.22);
}
.launch-tab input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.launch-tabs.compact .launch-tab span { padding: 8px 6px; font-size: 11.5px; }
.launch-panel { display: grid; gap: 12px; margin-top: 12px; min-width: 0; }
.launch-panel .core-grid { margin-top: 0; }
.launch-panel > .field-label { margin-bottom: -4px; }
.launch-drop {
  display: grid; justify-items: center; gap: 5px; padding: 20px 16px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius-sm);
  background: rgba(79,227,255,.035); cursor: pointer; text-align: center;
  transition: border-color .18s, background .18s, transform .18s;
}
.launch-drop:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.launch-drop input { position: absolute; opacity: 0; width: 0; height: 0; }
.launch-drop .ico { width: 21px; height: 21px; color: var(--accent-2); }
.launch-drop strong { font-size: 12.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.launch-drop small { color: var(--muted-2); font-size: 10.5px; }
.launch-card {
  margin-top: 16px; padding: 20px 22px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: var(--panel);
}
.launch-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.launch-card-head h3 { font-size: 16px; }
.launch-card-head p { color: var(--muted); font-size: 11.5px; margin: 3px 0 0; }
.launch-card .launch-tabs { max-width: 560px; }
.launch-card [data-panel-launch="auto"], .launch-card [data-panel-launch="custom"] { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.launch-mod-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.launch-mod-row select { width: 130px; height: 36px; font-size: 12px; }
.mod-list { display: flex; flex-wrap: wrap; gap: 7px; }
.mod-list:empty { display: none; }
.mod-chip {
  display: inline-flex; align-items: center; gap: 7px; max-width: 260px;
  padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px;
  background: rgba(255,255,255,.025); font-family: var(--mono); font-size: 10.5px; color: #b7c6d5;
}
.mod-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-chip button { border: 0; background: transparent; color: var(--muted); padding: 0; line-height: 1; }
.mod-chip button:hover { color: var(--danger); }

/* ---------- Каталог модов и плагинов ---------- */
.catalog-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.catalog-switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 12px; background: #0a111b; }
.catalog-switch button {
  display: flex; align-items: center; gap: 7px; padding: 9px 16px; border: 0; border-radius: 9px;
  background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 800;
  cursor: pointer; transition: color .18s, background .18s, box-shadow .18s;
}
.catalog-switch button .ico { width: 15px; height: 15px; }
.catalog-switch button:hover { color: var(--text); background: rgba(255,255,255,.04); }
.catalog-switch button.active {
  color: #0d1b12; background: linear-gradient(135deg, var(--accent), #79e0ff);
  box-shadow: 0 6px 20px rgba(166,255,107,.18);
}
.catalog-platform { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 700; }
.catalog-platform select { height: 38px; min-width: 130px; font-size: 12px; }
.catalog-search {
  flex: 1 1 260px; display: flex; align-items: center; gap: 9px; height: 40px;
  padding: 0 6px 0 13px; border: 1px solid var(--line-strong); border-radius: 11px; background: #0a111b;
}
.catalog-search .ico { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.catalog-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 12.5px; outline: none; }
.catalog-search input::placeholder { color: var(--muted-2); }
.catalog-search button {
  height: 30px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--accent-soft);
  color: var(--accent); font: inherit; font-size: 11.5px; font-weight: 800; cursor: pointer;
}
.catalog-search button:hover { background: rgba(166,255,107,.2); }
.catalog-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: var(--muted); font-size: 11px; }
.catalog-meta a { color: var(--accent-2); text-decoration: none; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-height: 120px; }
.catalog-card {
  position: relative; display: grid; align-content: start; gap: 10px; padding: 16px;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: linear-gradient(150deg, rgba(79,227,255,.07), rgba(166,255,107,.03) 55%, var(--panel));
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.catalog-card::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: .5; }
.catalog-card:hover { transform: translateY(-3px); border-color: var(--accent-2); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.catalog-card-head { display: flex; align-items: center; gap: 11px; min-width: 0; }
.catalog-icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; object-fit: cover; background: #101a26; border: 1px solid var(--line); }
.catalog-card h4 { margin: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-card .catalog-dl { margin: 3px 0 0; color: var(--muted-2); font-family: var(--mono); font-size: 10px; }
.catalog-card p {
  margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; min-height: 34px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.catalog-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.catalog-tag { padding: 3px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; }
.catalog-install { display: flex; align-items: center; justify-content: center; width: 100%; height: 34px; }
.catalog-empty { grid-column: 1 / -1; padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; font-size: 12px; }
.my-addons { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); }
.my-addons-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.my-addons-head h3 { margin: 0; font-size: 15px; }
.my-addons-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.addon-notice { margin: 0 0 12px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(79,227,255,.045); color: var(--muted); font-size: 11.5px; }
.addon-list { display: grid; gap: 8px; min-height: 54px; }
.addon-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025);
}
.addon-item i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(166,255,107,.5); }
.addon-item span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 11px; color: #c5d3e1; }
.addon-item button { flex: 0 0 auto; border: 0; background: transparent; color: var(--muted); padding: 2px 4px; line-height: 1; font-size: 17px; }
.addon-item button:hover { color: var(--danger); }
.addon-empty { color: var(--muted-2); font-size: 11.5px; line-height: 1.5; padding: 14px; border: 1px dashed var(--line); border-radius: 10px; text-align: center; }

/* ---------- Производительность ---------- */
.perf-card { margin-top: 16px; }
.perf-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.perf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.perf-metric strong { font-size: 18px; }
.perf-section { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.perf-section-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 12px; font-weight: 800; color: #cbd8e6; }
.perf-servers, .perf-backups { display: grid; gap: 8px; }
.perf-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255,255,255,.02);
}
.perf-row-main { min-width: 0; display: grid; gap: 2px; }
.perf-row-main strong { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.perf-row-main small { color: var(--muted-2); font-size: 10.5px; font-family: var(--mono); }
.perf-row-meta { display: flex; gap: 10px; flex: none; color: var(--muted); font-size: 11px; font-family: var(--mono); }
.perf-empty {
  padding: 14px; border: 1px dashed var(--line); border-radius: 10px;
  color: var(--muted-2); font-size: 11.5px; text-align: center;
}
#btn-backup[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .header-live { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 660px; width: 100%; }
  .live-card { left: 0; }
  .config-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .faq-intro { position: static; }
  .feature-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:first-child, .feature-card:last-child { grid-column: span 2; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .perf-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; background: #0a0f18; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
  .nav-toggle { display: block; }
  .header-actions .btn-ghost { display: none; }
  .hero { padding-top: 44px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fund-box, .legal-box { grid-template-columns: 1fr; gap: 22px; padding: 26px; }
  .panel-sidebar { width: 70px; padding: 18px 8px; }
  .side-link { justify-content: center; font-size: 0; padding: 12px; }
  .side-link .ico { width: 21px; height: 21px; }
  .sidebar-label, .sidebar-bottom { display: none; }
  .panel-main { padding: 24px 20px 50px; }
  .panel-header { padding: 0 16px; }
  .panel-user span { display: none; }
  .admin-row { grid-template-columns: 1fr 1fr; }
  .toggle-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 30px); }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 15px; }
  .hero-buttons .btn { width: 100%; }
  .terminal-body { font-size: 10.5px; padding: 16px 13px; }
  .tline { white-space: normal; }
  .terminal-window { transform: none; animation: none; }
  .live-card { position: static; width: auto; margin-bottom: 14px; }
  .uptime-badge { right: -4px; bottom: 100px; }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .feature-card:first-child, .feature-card:last-child { grid-column: span 1; }
  .feature-card:last-child { display: block; }
  .feature-card:last-child .feature-icon { margin-bottom: 20px; }
  .form-row, .core-grid { grid-template-columns: repeat(2, 1fr); }
  .core-option:last-child { grid-column: span 2; }
  .launch-tabs, .launch-tabs.compact { grid-template-columns: 1fr; }
  .launch-tab span, .launch-tabs.compact .launch-tab span { justify-content: flex-start; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-search { flex-basis: 100%; }
  .catalog-platform { flex: 1; }
  .catalog-platform select { width: 100%; }
  .my-addons-head { flex-direction: column; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px; }
  .stat strong { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .panel-server-pill { display: none; }
  .control-card { flex-direction: column; align-items: stretch; }
  .control-buttons .btn { flex: 1; }
  .ip-card { flex-direction: column; align-items: stretch; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .perf-grid { grid-template-columns: 1fr; }
  .perf-row { flex-direction: column; align-items: stretch; }
  .perf-row-meta { justify-content: space-between; }
  .file-row { grid-template-columns: 1fr 70px; }
  .file-row span:last-child { display: none; }
  .panel-heading { align-items: flex-start; flex-direction: column; }
  .toast-stack { left: 15px; right: 15px; bottom: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .tline { opacity: 1; }
}
