@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #06070c;
  --panel: #141213;
  --card: #1e1b1c;
  --bd: #2a2325;
  --bg2: #06070c;
  --nested: #171415;
  --deep: #0d0b0c;
  --console: #080607;
  --tx: #f5f5f5;
  --mut: #a1a1a6;
  --text: var(--tx);
  --text2: var(--mut);
  --text3: #757579;
  --accent: #eb4b4b;
  --accent-dim: #c62a47;
  --accent-glow: rgba(235, 75, 75, 0.25);
  --t1: #eb4b4b;
  --t2: #c62a47;
  --t3: #ff6a3d;
  --t4: #8f1d2c;
  --t5: #d9363e;
  --t6: #b5174f;
  --ok: #3ddc84;
  --warn: #ffc107;
  --danger: #ff4d4d;
  --info: #4db8ff;
  --stroke: var(--bd);
  --stroke2: #3b3033;
  --shadow: rgba(0, 0, 0, 0.65);
  --radius: 4px;
  --clip-step: 10px;
  --clip-step-sm: 6px;
  --clip-steps-sm: polygon(
    0 var(--clip-step-sm), var(--clip-step-sm) var(--clip-step-sm), var(--clip-step-sm) 0,
    calc(100% - var(--clip-step-sm)) 0, calc(100% - var(--clip-step-sm)) var(--clip-step-sm),
    100% var(--clip-step-sm),
    100% calc(100% - var(--clip-step-sm)),
    calc(100% - var(--clip-step-sm)) calc(100% - var(--clip-step-sm)),
    calc(100% - var(--clip-step-sm)) 100%,
    var(--clip-step-sm) 100%, var(--clip-step-sm) calc(100% - var(--clip-step-sm)),
    0 calc(100% - var(--clip-step-sm))
  );
  --clip-steps: polygon(
    0 var(--clip-step), var(--clip-step) var(--clip-step), var(--clip-step) 0,
    calc(100% - var(--clip-step)) 0, calc(100% - var(--clip-step)) var(--clip-step),
    100% var(--clip-step),
    100% calc(100% - var(--clip-step)),
    calc(100% - var(--clip-step)) calc(100% - var(--clip-step)),
    calc(100% - var(--clip-step)) 100%,
    var(--clip-step) 100%, var(--clip-step) calc(100% - var(--clip-step)),
    0 calc(100% - var(--clip-step))
  );
  --control-h: 44px;
  --control-radius: 10px;
  --gap: 10px;
  --font: "Onest", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", "Consolas", "Courier New", monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background-color: #06070c;
  background-image: linear-gradient(
    180deg,
    rgba(235, 75, 75, 0.34) 0%,
    rgba(198, 42, 71, 0.18) 16%,
    rgba(143, 29, 44, 0.07) 32%,
    rgba(6, 7, 12, 0) 54%
  );
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100% 100vh;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-dim);
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(30px, 5vw, 46px); }
h2 { font-size: clamp(22px, 3.4vw, 30px); }
h3 { font-size: clamp(18px, 2.4vw, 22px); }
h4 { font-size: clamp(16px, 2vw, 18px); }

p {
  margin: 0 0 12px;
  color: var(--text2);
}

.muted { color: var(--text2); }
.small { font-size: 13px; }
.mono { font-family: var(--font-mono); }

.w {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 640px) {
  .w { padding: 0 16px; }
}

/* ===== Pixel Frame ===== */
.pixel-frame {
  background: #161719;
  clip-path: var(--clip-steps);
}

.pixel-frame__inner {
  clip-path: inherit;
  background: #161719;
  min-height: 100%;
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.pixel-frame--sm {
  clip-path: polygon(
    0 5px, 5px 5px, 5px 0, calc(100% - 5px) 0,
    calc(100% - 5px) 5px, 100% 5px, 100% calc(100% - 5px),
    calc(100% - 5px) calc(100% - 5px), calc(100% - 5px) 100%,
    5px 100%, 5px calc(100% - 5px), 0 calc(100% - 5px)
  );
}

.pixel-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  filter:
    drop-shadow(0 6px 0 #232426)
    drop-shadow(0 -2px 0 rgba(255, 255, 255, 0.10))
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5));
}

.pixel-card > .pixel-frame {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.pixel-card > .pixel-frame > .pixel-frame__inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.pixel-card > .pixel-frame__inner {
  padding: 20px;
}

.pixel-card--compact > .pixel-frame__inner {
  padding: 14px;
}

/* ===== Icons ===== */
.ic {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.ic--sm { width: 16px; height: 16px; }
.ic--md { width: 20px; height: 20px; }
.ic--lg { width: 28px; height: 28px; }
.ic--xl { width: 40px; height: 40px; }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(235, 75, 75, 0.12);
  border: 1px solid rgba(235, 75, 75, 0.3);
  color: var(--accent);
  flex-shrink: 0;
}

.icon-box--lg {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.mc-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke2);
  flex-shrink: 0;
}

.mc-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.mc-icon--flat img {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  image-rendering: pixelated;
}

/* ===== Buttons ===== */
@property --c {
  syntax: "<color>";
  inherits: true;
  initial-value: #241f20;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--control-h);
  padding: 10px 20px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
  --c: #2a2527;
  --lo: #121011;
  --hi: #4d4648;
  filter:
    drop-shadow(0 8px 0 var(--lo))
    drop-shadow(3px 0 0 var(--lo))
    drop-shadow(0 -3px 0 var(--hi))
    drop-shadow(0 16px 22px rgba(0, 0, 0, 0.45));
  transition: --c 0.15s ease, color 0.15s ease, transform 0.05s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--c) 84%, #fff) 0%,
    var(--c) 55%,
    color-mix(in srgb, var(--c) 72%, #000) 100%
  );
  clip-path: var(--clip-steps-sm);
  z-index: -1;
}

.btn:hover {
  --c: #2f2729;
  color: var(--accent);
  text-decoration: none;
}

}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  color: var(--text2);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  --c: #eb4b4b;
  --lo: #6e1010;
  --hi: #ffb3b3;
  color: #fff;
}

.btn--primary:hover {
  --c: #f4635f;
  color: #fff;
}

.btn--ghost {
  --c: #2a2527;
  --lo: #121011;
  --hi: #4d4648;
  color: var(--text);
}

.btn--ghost:hover {
  --c: #2a2224;
  color: var(--accent);
}

.btn--danger {
  --c: #ff4d4d;
  --lo: #7d1616;
  --hi: #ffb8b8;
  color: #fff;
}

.btn--sm {
  min-height: 38px;
  padding: 6px 16px;
  font-size: 13px;
  gap: 8px;
}

.btn--lg {
  min-height: 52px;
  padding: 14px 32px;
  font-size: 15px;
}

.btn--block { width: 100%; }

  --c: #f5a6a6;
  --lo: #801616;
  --hi: #ffb3b3;
  color: #fff;
  --c: #f5a6a6;
  --lo: #801616;
  --hi: #ffb3b3;
  color: #fff;
  --c: #f5a6a6;
  --lo: #801616;
  --hi: #ffb3b3;
  color: #fff;
  --hi: #a6ddd9;
  color: #fff;
}
}

/* ===== Brand buttons ===== */
.btn--discord {
  --c: #5865f2;
  --lo: #2b3497;
  --hi: #9aa3ff;
  color: #fff;
}

.btn--discord:hover {
  --c: #6e79f5;
  color: #fff;
}

.btn[data-social="tg"] {
  --c: #2aabee;
  --lo: #14607f;
  --hi: #8fdcf8;
  color: #fff;
}

.btn[data-social="tg"]:hover {
  --c: #3bb9f6;
  color: #fff;
}

.btn[data-social="ds"] {
  --c: #5865f2;
  --lo: #2b3497;
  --hi: #9aa3ff;
  color: #fff;
}

.btn[data-social="ds"]:hover {
  --c: #6e79f5;
  color: #fff;
}

.btn[data-social="tt"] {
  --c: #fe2c55;
  --lo: #8d0d2d;
  --hi: #ff8fa6;
  color: #fff;
}

.btn[data-social="tt"]:hover {
  --c: #ff4166;
  color: #fff;
}

.btn .spin {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Badges ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--nested);
  color: var(--text2);
  border: 1px solid var(--stroke2);
  border-radius: 6px;
}

.badge--ok { color: var(--ok); border-color: rgba(61, 220, 132, 0.4); background: rgba(61, 220, 132, 0.08); }
.badge--warn { color: var(--warn); border-color: rgba(255, 193, 7, 0.4); background: rgba(255, 193, 7, 0.08); }
.badge--danger { color: var(--danger); border-color: rgba(255, 77, 77, 0.4); background: rgba(255, 77, 77, 0.08); }
.badge--accent { color: var(--accent); border-color: rgba(235, 75, 75, 0.45); background: rgba(235, 75, 75, 0.08); }
.badge--info { color: var(--info); border-color: rgba(77, 184, 255, 0.4); background: rgba(77, 184, 255, 0.08); }

.badge .dot {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse-dot 1.6s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ===== Layout ===== */
.row { display: flex; gap: var(--gap); align-items: center; }
.row-wrap { display: flex; gap: var(--gap); align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.grid { display: grid; gap: 16px; align-items: stretch; }

.grid > * { height: 100%; min-width: 0; }

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ===== Header ===== */
.header {
  display: block;
  position: relative;
  z-index: 50;
  background: transparent;
  border-bottom: 0;
  padding: 0;
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 16px 0 8px;
  min-height: 80px;
}

.header__brand {
  display: none;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text);
}

.header__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  image-rendering: pixelated;
}

.header__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  left: 50%;
  top: calc(50% + 21px);
  transform: translate(-50%, -50%);
  justify-content: center;
  max-width: calc(100vw - 32px);
  padding: 3px 2px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.header__nav::-webkit-scrollbar { display: none; }

.header__link {
  --btn: 48px;
  --btn-h: 46px;
  --edge: 6px;
  --hi-line: 2px;
  --c: #eb4b4b;
  --lo: #801616;
  --hi: #f5a6a6;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  margin: 3px 0 calc(var(--edge) + 2px);
  width: var(--btn);
  min-width: var(--btn);
  max-width: var(--btn);
  height: var(--btn-h);
  border: 0;
  border-radius: 0;
  background: none;
  color: #fff;
  font-size: 0;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  overflow: visible;
  flex: 0 0 auto;
  filter: drop-shadow(0 var(--edge) 0 var(--lo)) drop-shadow(0 calc(-1 * var(--hi-line)) 0 var(--hi));
  transition: max-width 0.28s ease, font-size 0.15s ease,
    filter 0.15s ease, transform 0.15s ease;
}

.header__link-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--c) 84%, #fff) 0%,
    var(--c) 55%,
    color-mix(in srgb, var(--c) 72%, #000) 100%
  );
  --step: 6px;
  clip-path: polygon(
    0 var(--step), var(--step) var(--step), var(--step) 0,
    calc(100% - var(--step)) 0, calc(100% - var(--step)) var(--step),
    100% var(--step),
    100% calc(100% - var(--step)),
    calc(100% - var(--step)) calc(100% - var(--step)),
    calc(100% - var(--step)) 100%,
    var(--step) 100%, var(--step) calc(100% - var(--step)),
    0 calc(100% - var(--step))
  );
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  transition: padding 0.28s ease, gap 0.28s ease;
}

.header__link:nth-child(1) { --c: #eb4b4b; --lo: #801616; --hi: #f5a6a6; }
.header__link:nth-child(2) { --c: #ea580c; --lo: #7a2b05; --hi: #f7b98f; }
.header__link:nth-child(3) { --c: #db2777; --lo: #6e1239; --hi: #f2a6c8; }
.header__link:nth-child(4) { --c: #9333ea; --lo: #45157a; --hi: #cfa6f5; }
.header__link:nth-child(5) { --c: #2563eb; --lo: #0f2f7a; --hi: #a6c1f5; }
.header__link:nth-child(6) { --c: #0d9488; --lo: #064a45; --hi: #a6ddd9; }

.header__link .ic { flex-shrink: 0; width: 24px; height: 24px; color: #fff; }

.header__link:hover,
.header__link:focus-visible {
  width: auto;
  max-width: 280px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  filter: drop-shadow(0 calc(var(--edge) + 2px) 0 var(--lo))
    drop-shadow(0 calc(-1 * var(--hi-line)) 0 var(--hi)) brightness(1.08);
}

.header__link:hover .header__link-inner,
.header__link:focus-visible .header__link-inner {
  padding: 0 16px;
  gap: 8px;
}

.header__link--active,
.header__link--active:hover,
.header__link--active:focus-visible {
  width: auto;
  max-width: 280px;
  font-size: 14px;
  color: #fff;
  filter: drop-shadow(0 var(--edge) 0 var(--lo))
    drop-shadow(0 calc(-1 * var(--hi-line)) 0 var(--hi)) brightness(1.12);
}

.header__link--active .header__link-inner {
  padding: 0 16px;
  gap: 8px;
}

.header__link--active .ic { color: #fff; }

.header__cta {
  flex-shrink: 0;
  margin-left: auto;
  display: none;
}

@media (max-width: 1000px) {
  .header__title { display: none; }
  .header__nav { max-width: calc(100vw - 140px); }
}

@media (max-width: 1100px) {
  .header__cta { display: none; }
}

@media (max-width: 900px) {
  .header__inner { gap: 12px; }
}

@media (max-width: 768px) {
  .header__title { display: none; }
  .header__nav {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    transform: translateY(-50%);
    justify-content: flex-start;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ===== Mobile Bottom Nav ===== */
.mobile-nav {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 100;
  background: rgba(6, 7, 12, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  padding: 6px;
}

.mobile-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: 14px;
  color: var(--text2);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  min-height: 56px;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav__item:hover,
.mobile-nav__item:focus-visible {
  background: var(--nested);
  color: var(--text);
  text-decoration: none;
}

.mobile-nav__item--active {
  background: rgba(235, 75, 75, 0.18);
  color: var(--accent);
}

.mobile-nav__item--play {
  flex: none;
  width: 52px;
  height: 52px;
  margin-top: -22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f56b6b, var(--accent));
  color: #0a0a0a;
  box-shadow: 0 8px 24px rgba(235, 75, 75, 0.5);
  border: 4px solid var(--bg);
  flex-direction: row;
  justify-content: center;
  min-height: 0;
  padding: 0;
}

.mobile-nav__item--play .ic { width: 24px; height: 24px; color: #0a0a0a; }

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 60px 0 40px;
}

.hero__logo {
  width: min(420px, 85%);
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 16px 40px rgba(235, 75, 75, 0.35));
  image-rendering: pixelated;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 18px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--nested);
  font-size: 13.5px;
  color: var(--text2);
}

.hero__status .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__status .dot--online {
  background: var(--ok);
  box-shadow: 0 0 12px var(--ok);
}

.hero__status .dot--offline {
  background: var(--danger);
  box-shadow: 0 0 12px var(--danger);
}

.hero__status .dot--checking {
  background: var(--warn);
  box-shadow: 0 0 12px var(--warn);
  animation: pulse-dot 1.2s infinite;
}

.hero__title {
  margin-bottom: 12px;
  line-height: 1.15;
}

.hero__title .accent {
  color: var(--accent);
}

.hero__desc {
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 16px;
  color: var(--text2);
}

.hero__ip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px 14px 14px 20px;
  max-width: 520px;
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 17px;
  box-shadow: 0 8px 32px rgba(235, 75, 75, 0.12);
}

.hero__ip-text {
  flex: 1 1 auto;
  word-break: break-all;
  cursor: pointer;
  user-select: all;
}

.hero__ip-text:hover { color: var(--accent); }

/* ===== Sections ===== */
.section {
  padding: 56px 0;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section__title {
  margin: 0;
}

.section__subtitle {
  color: var(--text2);
  margin: 0;
}

/* ===== Cards ===== */
.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.feature-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.feature-card__icon {
  margin-bottom: 16px;
}

.feature-card__title {
  margin-bottom: 8px;
}

.feature-card__desc {
  margin: 0;
  font-size: 14.5px;
}

/* ===== Social Cards ===== */
.social-card {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter:
    drop-shadow(0 6px 0 #232426)
    drop-shadow(0 -2px 0 rgba(255, 255, 255, 0.10))
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5));
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  height: 100%;
  text-decoration: none;
  color: var(--text);
  padding: 18px;
  transition: transform 0.15s ease;
}

.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #161719;
  clip-path: var(--clip-steps);
  z-index: -1;
}

.social-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.social-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--deep);
  border: 1px solid var(--stroke);
  color: var(--accent);
  flex-shrink: 0;
}

.social-card__icon .ic { width: 26px; height: 26px; }

.social-card[data-social="tg"] .social-card__icon {
  color: #2aabee;
  border-color: rgba(42, 171, 238, 0.45);
  background: rgba(42, 171, 238, 0.12);
}

.social-card[data-social="ds"] .social-card__icon {
  color: #8b95ff;
  border-color: rgba(88, 101, 242, 0.5);
  background: rgba(88, 101, 242, 0.16);
}

.social-card[data-social="tt"] .social-card__icon {
  color: #fe2c55;
  border-color: rgba(254, 44, 85, 0.45);
  background: rgba(254, 44, 85, 0.12);
}

.social-card__name { font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.social-card__desc { margin: 0; font-size: 13.5px; color: var(--text2); }

/* ===== Stats ===== */
.stat {
  text-align: center;
  padding: 20px 12px;
}

.stat__value {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1.1;
}

.stat__label {
  color: var(--text2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 6px;
}

/* ===== Steps ===== */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.steps__item {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 20px;
}

.steps__item::before {
  content: counter(step);
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f56b6b, var(--accent));
  color: #0a0a0a;
  font-weight: 800;
  font-family: var(--font);
  font-size: 16px;
}

.steps__title { display: block; color: var(--text); font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.steps__desc { font-size: 14.5px; color: var(--text2); }

/* ===== Server Info Cards ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.info-card {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter:
    drop-shadow(0 6px 0 #232426)
    drop-shadow(0 -2px 0 rgba(255, 255, 255, 0.10))
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5));
  padding: 18px;
  transition: transform 0.15s ease;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #161719;
  clip-path: var(--clip-steps);
  z-index: -1;
}

.info-card:hover {
  transform: translateY(-2px);
}

.info-card__label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text3);
  margin-bottom: 6px;
}

.info-card__value {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  word-break: break-all;
}

.info-card__value--large { font-size: 22px; }

/* ===== Progress Bar ===== */
.progress {
  height: 10px;
  background: var(--deep);
  border: 1px solid var(--stroke);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 12px;
}

.progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  border-radius: inherit;
  transition: width 0.6s ease;
}

/* ===== Tags ===== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  padding: 4px 14px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--deep);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--text2);
}

/* ===== Footer ===== */
.footer {
  --footer-step: 10px;
  position: relative;
  isolation: isolate;
  margin-top: auto;
  border-top: 0;
  background: transparent;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #161719;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08);
  clip-path: polygon(
    0 var(--footer-step), var(--footer-step) var(--footer-step), var(--footer-step) 0,
    calc(100% - var(--footer-step)) 0, calc(100% - var(--footer-step)) var(--footer-step), 100% var(--footer-step),
    100% 100%, 0 100%
  );
  z-index: -1;
}

.footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, #232426 0 24px, transparent 24px 42px);
  z-index: -1;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 56px 0 40px;
  align-items: start;
}

.footer__brand-link {
  display: inline-block;
  margin-bottom: 16px;
}

.footer__logo {
  width: 150px;
  height: auto;
  image-rendering: pixelated;
  transition: transform 0.2s ease;
}

.footer__brand-link:hover .footer__logo { transform: translateY(-2px); }

.footer__desc {
  max-width: 300px;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 20px;
}

.footer__col { min-width: 0; }

.footer__heading {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}

.footer__links a {
  display: inline-block;
  color: var(--text2);
  font-size: 14.5px;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer__links a:hover {
  color: var(--accent);
  transform: translateX(3px);
  text-decoration: none;
}

.footer__ip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--stroke2);
  border-radius: 10px;
  padding: 9px 14px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.footer__ip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(235, 75, 75, 0.08);
}

.footer__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--text2);
  font-size: 14px;
}

.footer__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__meta .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.75);
  flex-shrink: 0;
}

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

.footer__social-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--card);
  border: 1px solid var(--stroke);
  color: var(--text2);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.footer__social-link:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--stroke);
  padding: 20px 0 26px;
  color: var(--text3);
  font-size: 13px;
}

.footer__bottom a { color: var(--text2); }
.footer__bottom a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__desc { max-width: 420px; }
}

@media (max-width: 560px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 24px;
    text-align: center;
  }
  .footer__brand-link { margin-bottom: 12px; }
  .footer__desc { margin-left: auto; margin-right: auto; }
  .footer__social { justify-content: center; }
  .footer__meta li { justify-content: center; }
  .footer__links a:hover { transform: none; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ===== Page Specific ===== */
.page-title {
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-subtitle {
  color: var(--text2);
  font-size: 14.5px;
  margin-bottom: 28px;
}

.content-card {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter:
    drop-shadow(0 6px 0 #232426)
    drop-shadow(0 -2px 0 rgba(255, 255, 255, 0.10))
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5));
  padding: 28px;
  margin-bottom: 20px;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #161719;
  clip-path: var(--clip-steps);
  z-index: -1;
}

.content-card h3 { margin: 0 0 10px; }
.content-card p { margin-bottom: 14px; }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul, .content-card ol { margin: 12px 0 12px 20px; }
.content-card li { margin: 8px 0; color: var(--text2); }
.content-card li strong { color: var(--text); }

.content-card code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  background: var(--deep);
  border-radius: 5px;
  color: var(--accent);
}

.content-card pre {
  background: var(--console);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 16px;
  overflow-x: auto;
  margin: 16px 0;
}

.content-card pre code {
  padding: 0;
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ===== Status Page ===== */
.status-header {
  text-align: center;
  padding: 40px 0 24px;
}

.status-header__logo {
  width: min(360px, 80%);
  height: auto;
  margin: 0 auto 20px;
  image-rendering: pixelated;
}

.status-main {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 28px;
}

@media (max-width: 640px) {
  .status-main { grid-template-columns: 1fr; }
}

.status-card {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter:
    drop-shadow(0 6px 0 #232426)
    drop-shadow(0 -2px 0 rgba(255, 255, 255, 0.10))
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5));
  padding: 22px;
}

.status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #161719;
  clip-path: var(--clip-steps);
  z-index: -1;
}

.status-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text2);
  margin-bottom: 16px;
}

.status-card__value {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
}

.status-card__value--small { font-size: 28px; }

.status-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text2);
}

.player-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.player-item {
  padding: 6px 12px;
  background: var(--deep);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text2);
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text2);
}

.empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
  color: var(--text3);
}

.empty-state__title { font-weight: 700; margin-bottom: 8px; color: var(--text); }
.empty-state__desc { margin: 0; }

/* ===== Animations ===== */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: fade-in 0.25s ease; }
.animate-slide-up { animation: slide-up 0.28s ease both; animation-delay: 0s !important; }

/* ===== Instant Page Transitions ===== */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vt-fade-out 0.16s ease both;
}

::view-transition-new(root) {
  animation: vt-fade-in 0.16s ease both;
}

@keyframes vt-fade-out {
  to { opacity: 0; }
}

@keyframes vt-fade-in {
  from { opacity: 0; }
}

/* ===== Scrollbar ===== */
* { scrollbar-width: thin; scrollbar-color: var(--stroke2) var(--bg); }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: var(--bg); }
*::-webkit-scrollbar-thumb { background: var(--stroke2); border-radius: 4px; border: 2px solid var(--bg); }
*::-webkit-scrollbar-thumb:hover { background: var(--stroke); }
*::-webkit-scrollbar-corner { background: var(--bg); }

/* ===== Focus Visible ===== */
:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Selection ===== */
::selection { background: rgba(235, 75, 75, 0.3); color: var(--text); }

/* ===== Utility ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.btn--copy {
  --c: #f5a6a6;
  --lo: #801616;
  --hi: #ffb3b3;
  color: #fff;
}

.btn--copy:hover {
  --c: #f5a6a6;
}
