/* ============================================================
   CSH Server — тёмная тема, полированный дизайн
   ============================================================ */

:root {
  --bg: #0a0d14;
  --bg-2: #0e1220;
  --surface: #121724;
  --surface-2: #171d2c;
  --surface-3: #1d2436;
  --border: #1e2537;
  --border-strong: #2a3350;
  --border-soft: #171d2c;
  --text: #eef1f8;
  --text-dim: #a8b2c6;
  --muted: #6e7991;
  --accent: #2fd08f;
  --accent-2: #0d9f6b;
  --accent-soft: rgba(47, 208, 143, .12);
  --blue: #2dd4bf;
  --green: #4ade80;
  --red: #ff5c5c;
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Unbounded", var(--font);
  --mono: "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  --shadow-card: 0 1px 0 rgba(255,255,255,.03) inset, 0 18px 44px rgba(0,0,0,.35);
  --shadow-glow: 0 10px 40px rgba(47, 208, 143, .22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(47, 208, 143, .35); color: #fff; }

a { color: inherit; text-decoration: none; }
code {
  font-family: var(--mono); font-size: .9em;
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 6px; color: var(--text-dim);
}
button { font-family: inherit; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #272f47; border-radius: 20px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #333d5c; }

h1, h2, h3 { text-wrap: balance; }

/* ---------- прогресс-бар скролла ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 400;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left;
  box-shadow: 0 0 12px rgba(47, 208, 143, .5);
}

/* ---------- фоновая подсветка ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-fx__glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .12; will-change: transform; }
.bg-fx__glow--orange { width: 62vw; height: 62vw; left: -22vw; top: -26vw; background: radial-gradient(circle, #1fd089, transparent 62%); animation: float1 20s ease-in-out infinite alternate; }
.bg-fx__glow--blue   { width: 56vw; height: 56vw; right: -24vw; bottom: -20vw; background: radial-gradient(circle, #14b8a6, transparent 62%); animation: float2 24s ease-in-out infinite alternate; }
.bg-fx__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
}
.bg-fx__noise {
  position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
@keyframes float1 { to { transform: translate(8vw, 6vh) scale(1.15); } }
@keyframes float2 { to { transform: translate(-6vw, -8vh) scale(1.1); } }

/* ---------- контейнер / утилиты ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color .2s ease;
}
.card:hover { border-color: var(--border-strong); }

.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.t-green { color: var(--green); }
.link-more { color: var(--blue); font-size: .92rem; font-weight: 600; white-space: nowrap; transition: color .15s; }
.link-more:hover { color: #7cb8ff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 12px;
  padding: 11px 19px; font-size: .94rem; font-weight: 600;
  cursor: pointer; user-select: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .15s ease;
  color: var(--text); background: var(--surface-3);
}
.btn--sm { padding: 7px 14px; font-size: .87rem; border-radius: 10px; }
.btn--lg { padding: 14px 27px; font-size: 1.02rem; border-radius: 14px; }
.btn--accent {
  background:
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 46%),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06281c;
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 46px rgba(47, 208, 143, .38), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text-dim); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn--danger {
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 46%), linear-gradient(135deg, var(--red), #e03e4d);
  color: #fff;
}
.btn--danger:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255, 92, 92, .32); }
.btn--discord {
  background:
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0) 46%),
    linear-gradient(135deg, #7289e0, #5865f2);
  color: #fff;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 8px 28px rgba(88, 101, 242, .3), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--discord:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(88, 101, 242, .42), inset 0 1px 0 rgba(255,255,255,.3); }
.btn:active { transform: translateY(1px) scale(.97); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:disabled { opacity: .5; pointer-events: none; }

/* ---------- инпуты ---------- */
.input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px; color: var(--text);
  font-size: .95rem; font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.input::placeholder { color: var(--muted); }
.input:hover { border-color: var(--border-strong); }
.input:focus { outline: none; border-color: var(--accent); background: rgba(47,208,143,.04); box-shadow: 0 0 0 4px var(--accent-soft); }
select.input { cursor: pointer; }
textarea.input { resize: vertical; min-height: 110px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: .84rem; color: var(--text-dim); font-weight: 600; }

/* ---------- шапка ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(10, 13, 20, .66);
  border-bottom: 1px solid var(--border-soft, #171d2c);
}
.topbar__inner { display: flex; align-items: center; gap: 18px; height: 66px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo {
  width: 42px; height: 42px; border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 48%),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06281c; font-family: var(--font-display); font-weight: 900; font-size: .95rem; letter-spacing: .5px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,.4);
}
.brand__logo--img { background: none; box-shadow: none; border-radius: 50%; object-fit: contain; display: block; }
.brand__text { display: flex; flex-direction: column; font-weight: 800; font-size: 1rem; letter-spacing: .2px; line-height: 1.25; }
.brand__text small { font-weight: 500; font-size: .67rem; color: var(--muted); letter-spacing: .55px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__link {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 10px; font-size: .92rem; font-weight: 600;
  color: var(--text-dim); transition: background .15s ease, color .15s ease;
  position: relative;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav__link.active { color: var(--accent); background: var(--accent-soft); }

.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(74, 222, 128, .09); border: 1px solid rgba(74, 222, 128, .32);
  color: var(--green); font-size: .85rem; font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: .2px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .5); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .5); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.topbar__icon {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 11px; color: var(--text-dim);
  transition: color .15s, border-color .15s, background .15s;
}
.topbar__icon:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.topbar__avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #2fd08f, #0d9f6b); color: #fff; font-weight: 800; font-size: .95rem;
  border: 2px solid rgba(255,255,255,.16); transition: transform .15s ease, box-shadow .2s ease;
}
.topbar__avatar:hover { transform: scale(1.06); box-shadow: 0 6px 22px rgba(47, 208, 143, .35); }
.topbar__icon.active { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.topbar__avatar.active { box-shadow: 0 0 0 3px var(--accent-soft), 0 6px 22px rgba(47, 208, 143, .35); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ---------- drawer (мобильное меню) ---------- */
.drawer { display: none; }
.drawer.open { display: block; }
.drawer__backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(2px); z-index: 80; }
.drawer__panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); z-index: 90;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-left: 1px solid var(--border); box-shadow: -20px 0 60px rgba(0,0,0,.5);
  padding: 22px; transform: translateX(105%); transition: transform .28s cubic-bezier(.22,1,.36,1); overflow-y: auto;
}
.drawer.open .drawer__panel { transform: translateX(0); }
.drawer__nav { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
.drawer__nav a { padding: 13px 14px; border-radius: 10px; font-weight: 600; color: var(--text-dim); transition: .15s; }
.drawer__nav a:hover { background: rgba(255,255,255,.05); color: var(--text); }
.drawer__nav a.active { background: var(--accent-soft); color: var(--accent); }

/* ---------- страницы ---------- */
main { min-height: calc(100vh - 66px); }
.page { display: none; }
.page.is-active { display: block; animation: pageIn .38s cubic-bezier(.22,1,.36,1) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.page-head { padding: 48px 0 6px; }
.page-head h1 {
  font-family: var(--font-display); font-size: clamp(1.55rem, 3.6vw, 2.2rem);
  font-weight: 700; letter-spacing: -.5px; line-height: 1.15;
}
.page-head p { color: var(--text-dim); margin-top: 10px; max-width: 640px; font-size: .98rem; }

.section { padding: 36px 0 8px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.section__title {
  font-size: 1.12rem; font-weight: 800; letter-spacing: -.2px;
  display: flex; align-items: center; gap: 11px;
}
.section__title::before { content: ""; width: 4px; height: 20px; border-radius: 4px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); box-shadow: 0 0 10px rgba(47,208,143,.45); }
.section__sub { color: var(--muted); font-size: .87rem; }

.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 100px 0 34px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -300px; transform: translateX(-50%);
  width: 950px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(47, 208, 143, .15), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 17px; border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, .32); background: rgba(74, 222, 128, .08);
  color: var(--green); font-size: .84rem; font-weight: 700; letter-spacing: .3px;
  box-shadow: 0 0 30px rgba(61,220,151,.08) inset;
}
.hero__title {
  margin-top: 24px; font-family: var(--font-display);
  font-size: clamp(2.7rem, 7.5vw, 4.9rem); font-weight: 900;
  letter-spacing: -1.5px; line-height: 1.03;
}
.hero__title .brand-grad {
  background: linear-gradient(135deg, #8ef2c8, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 30px rgba(47, 208, 143, .3));
}
.hero__kicker {
  margin-top: 16px; font-size: .78rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted);
}
.hero__sub {
  margin: 18px auto 0; max-width: 660px;
  color: var(--text-dim); font-size: clamp(1rem, 2vw, 1.14rem); line-height: 1.6;
}
.hero__actions { display: flex; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* ---------- карточка сервера ---------- */
.server-card {
  margin-top: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 42%), var(--surface);
  border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-card); overflow: hidden;
}
.server-card__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 26px 28px; border-right: 1px solid var(--border-soft, #171d2c); display: flex; flex-direction: column; gap: 5px; }
.stat-cell:last-child { border-right: none; }
.stat-cell__label { font-size: .76rem; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--muted); }
.stat-cell__value {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -.5px;
  font-variant-numeric: tabular-nums; font-family: var(--font-display);
}
.stat-cell__value em { font-style: normal; font-size: .95rem; color: var(--muted); font-weight: 600; font-family: var(--font); }
.stat-cell__value--sm { font-size: 1.22rem; }
.stat-cell__hint { font-size: .81rem; color: var(--muted); }
.stat-cell__hint b { color: var(--text-dim); font-weight: 600; }
.bar { height: 5px; background: var(--bg); border-radius: 99px; overflow: hidden; margin-top: 7px; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #4ade80, #9bf5cf); box-shadow: 0 0 8px rgba(74,222,128,.45); transition: width 1s ease; }

.server-card__connect {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 16px 28px; background: rgba(255,255,255,.02); border-top: 1px solid var(--border-soft, #171d2c);
}
.server-card__ip { display: flex; flex-direction: column; gap: 3px; }
.server-card__ip-label { font-size: .74rem; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--muted); }
.server-card__ip code { font-size: 1rem; background: none; border: none; padding: 0; color: var(--text); }
.server-card__actions { display: flex; gap: 10px; }

/* ---------- фичи ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-card);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  position: relative; overflow: hidden;
}
.feature::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .25s ease;
}
.feature:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 26px 60px rgba(0,0,0,.5); }
.feature:hover::after { opacity: 1; }
.feature__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(47, 208, 143, .25);
}
.feature__icon .ic { width: 22px; height: 22px; }
.feature h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 7px; }
.feature p { font-size: .9rem; color: var(--text-dim); line-height: 1.55; }

/* ---------- новости ---------- */
.news { display: flex; flex-direction: column; gap: 10px; }
.news-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; transition: border-color .15s ease, transform .15s ease, box-shadow .2s ease;
}
.news-item:hover { border-color: var(--border-strong); transform: translateX(3px); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.news-item__tag {
  flex: none; padding: 4px 10px; border-radius: 8px; font-size: .7rem; font-weight: 800;
  letter-spacing: .6px; text-transform: uppercase; background: var(--accent-soft); color: var(--accent);
}
.news-item__date { font-size: .78rem; color: var(--muted); font-weight: 600; }
.news-item h3 { font-size: .97rem; font-weight: 700; margin-top: 3px; }
.news-item p { font-size: .87rem; color: var(--text-dim); margin-top: 3px; }

/* ---------- топ превью ---------- */
.top-list { display: flex; flex-direction: column; }
.top-row {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 6px; border-bottom: 1px solid var(--border-soft, #171d2c);
  transition: background .15s ease, padding .15s ease;
}
.top-row:last-child { border-bottom: none; }
.top-row:hover { background: rgba(255,255,255,.03); padding-left: 12px; }
.top-row__place {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  display: grid; place-items: center; font-weight: 800; font-size: .83rem;
  background: var(--surface-2); color: var(--text-dim); border: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}
.top-row:nth-child(1) .top-row__place { background: linear-gradient(135deg, #ffd76a, #ffb45e); color: #241200; border-color: transparent; box-shadow: 0 4px 14px rgba(255,180,94,.35); }
.top-row:nth-child(2) .top-row__place { background: linear-gradient(135deg, #dfe6f5, #9fb2d8); color: #14182a; border-color: transparent; }
.top-row:nth-child(3) .top-row__place { background: linear-gradient(135deg, #e8a37a, #b06a3c); color: #241200; border-color: transparent; }
.top-row__avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #fff; }
.top-row__info { flex: 1; min-width: 0; }
.top-row__info b { display: block; font-size: .93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-row__info span { font-size: .78rem; color: var(--muted); }
.top-row__score { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- донат: баннер Boosty ---------- */
.boosty-banner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 30px; padding: 18px 22px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(47, 208, 143, .1), rgba(45, 212, 191, .06));
  border: 1px solid rgba(47, 208, 143, .35);
}
.boosty-banner__icon {
  width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent); color: #06281c;
}
.boosty-banner b { font-size: 1rem; display: block; }
.boosty-banner p { font-size: .88rem; color: var(--text-dim); margin-top: 2px; max-width: 560px; }
.boosty-banner .btn { margin-left: auto; }
.pack__tagline {
  display: inline-block; margin-top: 8px; font-size: .84rem; font-weight: 600;
  color: var(--blue); background: rgba(45, 212, 191, .1);
  padding: 3px 11px; border-radius: 999px;
}

/* ---------- чат ---------- */
.chat {
  display: flex; flex-direction: column;
  margin-top: 30px; padding: 0; overflow: hidden; min-height: 540px;
}
.chat__head {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--border-soft, #171d2c);
  font-size: .98rem; font-weight: 800;
}
.chat__head-title { display: inline-flex; align-items: center; gap: 8px; }
.channel__hash { font-weight: 800; color: var(--accent); }
.chat__head-online { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--muted); }
.chat__head-online .live-dot { width: 7px; height: 7px; }
.chat__body { flex: 1; height: 470px; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.chat__form { display: flex; gap: 12px; padding: 14px; border-top: 1px solid var(--border-soft, #171d2c); background: rgba(255,255,255,.02); }
.chat__form .input { flex: 1; }

/* ---------- донат ---------- */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 34px; }

.pack {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: 18px; padding: 26px 22px 22px;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, border-color .18s ease, box-shadow .2s ease;
}
.pack:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.pack--featured { border-color: rgba(47, 208, 143, .55); box-shadow: var(--shadow-glow), var(--shadow-card); }
.pack--featured::before {
  content: "Популярный"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 3px 15px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #241200;
  box-shadow: 0 4px 16px rgba(47,208,143,.4);
}
.pack__name { font-size: 1.08rem; font-weight: 800; }
.pack__price { margin: 8px 0 16px; font-size: 1.85rem; font-weight: 900; letter-spacing: -1px; color: var(--accent); font-variant-numeric: tabular-nums; }
.pack__price .pack__period { font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pack__perks { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; margin-bottom: 20px; }
.pack__perks li { display: flex; gap: 9px; font-size: .87rem; color: var(--text-dim); line-height: 1.45; }
.pack__perks li::before { content: "✓"; color: var(--green); font-weight: 800; flex: none; }
.pack .btn { width: 100%; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px;
  transition: border-color .15s;
}
.step:hover { border-color: var(--border-strong); }
.step__num {
  width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 800;
}
.step p { font-size: .91rem; color: var(--text-dim); padding-top: 5px; }

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 32px 0 20px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, .28); background: rgba(45, 212, 191, .06);
  color: var(--text-dim); font-size: .9rem;
}
.notice .ic { color: var(--blue); margin-top: 2px; }
.notice a { color: var(--blue); font-weight: 600; }

/* ---------- статистика ---------- */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 34px; }
.stat-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-card);
  transition: transform .18s ease, border-color .18s;
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.stat-card__label { font-size: .76rem; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--muted); }
.stat-card__value {
  font-size: 1.6rem; font-weight: 700; letter-spacing: -1px;
  font-variant-numeric: tabular-nums; font-family: var(--font-display);
}
.stat-card__value .unit { font-size: .95rem; color: var(--muted); font-weight: 700; font-family: var(--font); }

.chart { padding: 20px 20px 10px; }
.chart svg { width: 100%; height: auto; display: block; }

.table-wrap { padding: 6px 8px; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .9px;
  color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table th.hot { color: var(--accent); }
.table .hot { color: var(--accent); font-weight: 800; }
.table .hot-soft { color: var(--accent); font-weight: 700; }
.top-row__score .top-row__unit { font-size: .78rem; font-weight: 700; color: var(--muted); }
.table td { padding: 13px 16px; font-size: .94rem; border-bottom: 1px solid var(--border-soft, #171d2c); font-variant-numeric: tabular-nums; }
.table tbody tr:nth-child(even) { background: rgba(255,255,255,.014); }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: rgba(255,255,255,.035); }
.table td:first-child { color: var(--muted); font-weight: 700; width: 44px; }
.table .nick { font-weight: 700; }

/* ---------- правила ---------- */
.rules { display: flex; flex-direction: column; gap: 14px; padding-top: 34px; }
.rule {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow-card);
  transition: border-color .15s;
}
.rule:hover { border-color: var(--border-strong); }
.rule h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.rule h3::before {
  content: ""; width: 8px; height: 8px; border-radius: 3px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(47,208,143,.4);
}
.rule ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.rule li { font-size: .92rem; color: var(--text-dim); padding-left: 4px; }

/* ---------- чат ---------- */
.msg { display: flex; gap: 11px; max-width: 78%; }
.msg--self { align-self: flex-end; flex-direction: row-reverse; }
.msg__avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.06); }
.msg__bubble {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px;
  border-top-left-radius: 4px; padding: 10px 14px; font-size: .92rem;
}
.msg--self .msg__bubble { background: var(--accent-soft); border-color: rgba(47, 208, 143, .35); border-radius: 14px; border-top-right-radius: 4px; }
.msg__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.msg__head b { font-size: .84rem; }
.msg__head time { font-size: .72rem; color: var(--muted); }
.msg__text { white-space: pre-wrap; word-break: break-word; }
.msg--sys { align-self: center; background: rgba(45, 212, 191, .08); border: 1px solid rgba(45, 212, 191, .25); color: var(--blue); font-size: .8rem; padding: 6px 14px; border-radius: 999px; }

/* ---------- сообщения ---------- */
.mail { display: grid; grid-template-columns: 300px 1fr; padding: 0; overflow: hidden; margin-top: 30px; min-height: 480px; }
.mail__list { border-right: 1px solid var(--border-soft, #171d2c); overflow-y: auto; max-height: 620px; }
.dialog {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer;
  border-bottom: 1px solid var(--border-soft, #171d2c); transition: background .15s ease;
}
.dialog:hover { background: rgba(255,255,255,.03); }
.dialog.active { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.dialog__avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.06); }
.dialog__info { flex: 1; min-width: 0; }
.dialog__info b { display: block; font-size: .93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dialog__info span { display: block; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail__chat { display: flex; flex-direction: column; padding: 22px; gap: 10px; overflow-y: auto; max-height: 620px; }
.mail__empty { margin: auto; color: var(--muted); font-size: .95rem; }

/* ---------- профиль ---------- */
.profile { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: start; margin-top: 30px; }
.profile__avatar {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2.2rem; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #2fd08f, #0d9f6b);
  box-shadow: 0 0 0 4px var(--bg-2), 0 14px 36px rgba(47, 107, 255, .32);
}
.profile__body { display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.profile__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.profile__side { display: flex; flex-direction: column; gap: 14px; min-width: 220px; }
.coin-card {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  transition: border-color .15s;
}
.coin-card:hover { border-color: var(--border-strong); }
.coin-card__label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); }
.coin-card__value { font-size: 1.7rem; font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; }
.coin-card--dim .coin-card__value { font-size: .92rem; color: var(--text-dim); font-weight: 600; }

/* ---------- наказания ---------- */
.search-card { margin-top: 30px; padding: 28px; }
.search-form { display: flex; gap: 12px; flex-wrap: wrap; }
.search-form .input { flex: 1; min-width: 240px; }
.ban-result { margin-top: 18px; }
.ban-result__ok {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 14px;
  border: 1px solid rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .07);
  color: var(--green); font-weight: 600;
}
.ban-result__bad {
  border: 1px solid rgba(255, 92, 92, .35); background: rgba(255, 92, 92, .07);
  border-radius: 14px; padding: 18px;
}
.ban-result__bad h4 { color: var(--red); margin-bottom: 8px; font-size: 1rem; }
.ban-result__bad p { color: var(--text-dim); font-size: .9rem; }
.ban-result__bad code { background: rgba(255,92,92,.12); border-color: rgba(255,92,92,.3); }

/* ---------- обращения ---------- */
.contact { padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.contact__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); margin-bottom: 6px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 25%, transparent);
}
.contact h3 { font-size: 1.04rem; }
.contact p { font-size: .88rem; color: var(--text-dim); flex: 1; }
.ticket-form { display: flex; flex-direction: column; gap: 16px; }

.tickets { display: flex; flex-direction: column; gap: 10px; }
.ticket {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px;
  transition: border-color .15s;
}
.ticket:hover { border-color: var(--border-strong); }
.ticket__badge { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 4px rgba(61,220,151,.12); }
.ticket__info { flex: 1; min-width: 0; }
.ticket__info b { display: block; font-size: .92rem; }
.ticket__info span { font-size: .8rem; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket time { font-size: .78rem; color: var(--muted); }

/* ---------- админка ---------- */
.gate { max-width: 460px; margin: 34px auto; text-align: center; padding: 34px; }
.gate__title { font-size: 1.18rem; font-weight: 800; margin-bottom: 18px; }
.gate__form { display: flex; gap: 10px; }
.gate__form .input { flex: 1; }
.gate__hint { margin-top: 14px; font-size: .82rem; color: var(--muted); }
.ban-form { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.table-empty { text-align: center; color: var(--muted); padding: 22px 0 14px; font-size: .92rem; }

/* ---------- футер ---------- */
.footer { margin-top: 80px; border-top: 1px solid var(--border-soft, #171d2c); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding: 46px 22px 30px; }
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col h4 { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .9px; color: var(--muted); margin-bottom: 4px; }
.footer__col a { color: var(--text-dim); font-size: .92rem; width: fit-content; transition: color .15s; }
.footer__col a:hover { color: var(--accent); }
.footer__desc { color: var(--muted); font-size: .88rem; margin-top: 12px; max-width: 270px; line-height: 1.55; }
.footer__bottom { border-top: 1px solid var(--border-soft, #171d2c); padding: 18px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .84rem; }
.heart { color: var(--red); }

/* ---------- тосты ---------- */
.toast-zone { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: rgba(23, 29, 44, .92); backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong); color: var(--text);
  padding: 12px 20px; border-radius: 12px; font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow); animation: toastIn .25s ease both; max-width: min(440px, 90vw);
}
.toast--ok { border-color: rgba(74, 222, 128, .5); }
.toast--err { border-color: rgba(255, 92, 92, .5); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.toast.leaving { animation: toastOut .25s ease both; }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }

/* ---------- колесо фортуны ---------- */
.wheel-card { margin-top: 30px; padding: 30px; }
.wheel-zone { display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; }
.wheel-stand { display: flex; justify-content: center; }
.wheel-wrap { position: relative; width: min(380px, 78vw); aspect-ratio: 1; }
.wheel-wrap #wheel-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 22px 44px rgba(0,0,0,.55)); }
.wheel-pointer {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 5;
  width: 0; height: 0;
  border-left: 15px solid transparent; border-right: 15px solid transparent;
  border-top: 26px solid #eef1f8;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.5));
}
.wheel-side { display: flex; flex-direction: column; gap: 18px; }
.wheel-balance { display: flex; align-items: baseline; gap: 10px; }
.wheel-balance span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.wheel-balance b { font-size: 2.6rem; font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.wheel-balance em { font-style: normal; font-size: .95rem; color: var(--text-dim); font-weight: 600; }
.wheel-count { font-size: .94rem; color: var(--text-dim); min-height: 22px; }
.wheel-count b { color: var(--accent); font-variant-numeric: tabular-nums; }
.wheel-odds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 300px; }
.wheel-odds span {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 9px 13px; border-radius: 10px; font-size: .84rem;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim);
}
.wheel-odds i { font-style: normal; color: var(--text); font-weight: 700; }

.wheel-history { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border-soft, #171d2c); }
.spins { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; padding-right: 6px; }
.spin-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; border-radius: 11px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.spin-row__date { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.spin-row__val { font-weight: 800; color: var(--text-dim); }
.spin-row__val--win { color: var(--accent); }

.wheel-overlay {
  position: fixed; inset: 0; z-index: 160;
  background: rgba(7, 9, 15, .62); backdrop-filter: blur(6px);
  display: grid; place-items: center; animation: fadeIn .25s ease both;
}
.wheel-overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.wheel-pop {
  text-align: center; padding: 42px 54px; border-radius: 22px;
  background: radial-gradient(circle at 50% 0%, rgba(47, 208, 143, .16), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid rgba(47, 208, 143, .45);
  box-shadow: 0 0 80px rgba(47, 208, 143, .25), var(--shadow);
  animation: popIn .45s cubic-bezier(.2, 1.4, .4, 1) both;
  max-width: 92vw;
}
@keyframes popIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
.wheel-pop__label { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); }
.wheel-pop__value { display: block; margin: 14px 0 4px; font-size: 4.4rem; font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; text-shadow: 0 0 40px rgba(47,208,143,.35); }
.wheel-pop p { color: var(--text-dim); margin-bottom: 22px; }

/* ---------- балансы ---------- */
.players-search { margin-top: 30px; padding: 20px 22px; }
.row-me { background: rgba(47, 208, 143, .06); }
.row-me:hover { background: rgba(47,208,143,.1) !important; }
.tag-me {
  margin-left: 8px; padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px; background: var(--accent); color: #06281c;
}

/* ---------- админка: баны ---------- */
.ban-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.bans-week { margin-top: 16px; padding: 20px 24px 14px; }
.bans-week__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.bans-week__head h3 { font-size: .95rem; font-weight: 800; }
.bans-week__bars { display: flex; align-items: flex-end; gap: 14px; height: 130px; }
.bans-week__col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.bans-week__col i {
  width: 100%; max-width: 46px; border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(47,208,143,.25);
  transition: height .5s ease;
}
.bans-week__col b { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.bans-week__val { font-size: .78rem; font-weight: 800; color: var(--text-dim); font-variant-numeric: tabular-nums; }

.ban-filters { display: flex; gap: 6px; }
.filter-btn {
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  font-size: .84rem; font-weight: 600; color: var(--text-dim);
  background: var(--surface-2); border: 1px solid var(--border);
  transition: .15s;
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }

.admin-top { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; }
.admin-role {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent-soft); color: var(--accent);
  padding: 7px 15px; border-radius: 999px; font-size: .85rem; font-weight: 800;
}
.admin-role::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.admin-role--admin { color: var(--blue); background: rgba(88,166,255,.12); }
.admin-role--admin::before { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.staff-add { display: flex; gap: 12px; }
.staff-add .input { flex: 1; }
.staff-pass { background: rgba(255,255,255,.05); border: 1px solid var(--border); padding: 3px 9px; border-radius: 8px; font-size: .85rem; }
.perm { display: inline-flex; align-items: center; gap: 6px; margin: 0 14px 8px 0; font-size: .82rem; font-weight: 600; color: var(--text-dim); cursor: pointer; white-space: nowrap; }
.perm input { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
.panel-title { display: block; font-size: .9rem; margin-bottom: 10px; color: var(--text-dim); }
.kick-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--border-soft); }
.kick-row:last-child { border-bottom: none; }
.kick-row .btn { flex: none; margin-left: auto; }
.kick-row .nick { flex: 1; min-width: 0; }
.avatar-mini { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-size: .65rem; font-weight: 800; }
.ticket .btn { flex: none; margin-left: auto; }
.filter-btn.is-active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.ban-search-form { padding: 14px 14px 6px; }

.ban-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap;
}
.ban-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.ban-status--active { background: rgba(255, 92, 92, .1); color: var(--red); }
.ban-status--active::before { background: var(--red); }
.ban-status--lifted { background: rgba(110, 121, 145, .14); color: var(--muted); }
.ban-status--lifted::before { background: var(--muted); }

.t-dim { color: var(--muted); }
.t-dim-sm { color: var(--muted); font-size: .9rem; }
.t-right { text-align: right; white-space: nowrap; }

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
  .packs { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .stat-cards, .ban-stats { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .wheel-zone { grid-template-columns: 1fr; gap: 30px; }
  .wheel-side { align-items: center; text-align: center; }
  .wheel-odds { margin: 0 auto; }
  .chat { min-height: 0; }
  .boosty-banner .btn { margin-left: 0; }
}

@media (max-width: 1050px) {
  .nav { display: none; }
  .burger { display: flex; }
  .topbar__avatar, .topbar__icon { display: none; }
  .topbar .pill { display: none; }
  .nav__link { padding: 7px 8px; }
}

@media (max-width: 900px) {
  .mail { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .server-card__grid { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-bottom: 1px solid var(--border-soft, #171d2c); padding: 18px; }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3), .stat-cell:nth-child(4) { border-bottom: none; }
  .packs, .features, .stat-cards, .ban-stats, .steps, .wheel-odds { grid-template-columns: 1fr; }
  .hero { padding-top: 68px; }
  .msg { max-width: 92%; }
  #btn-connect { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}