
:root {
  --void: #040406;
  --void-2: #090a0e;
  --panel: rgba(13, 15, 22, 0.84);
  --panel-2: rgba(20, 22, 31, 0.72);
  --line: rgba(255, 255, 255, 0.10);
  --line-red: rgba(255, 37, 68, 0.36);
  --text: #f5f7fb;
  --muted: #a9b0bd;
  --dim: #737b8c;
  --red: #ff163d;
  --red-2: #ff506b;
  --ember: #ff7a18;
  --white-hot: #fff0f4;
  --green: #42f59b;
  --amber: #ffc857;
  --cyan: #67e8f9;
  --shadow-red: 0 0 38px rgba(255, 22, 61, 0.32);
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -15%, rgba(255, 22, 61, 0.22), transparent 35%),
    radial-gradient(circle at 85% 8%, rgba(255, 122, 24, 0.12), transparent 30%),
    linear-gradient(180deg, #020203 0%, #08090d 38%, #050507 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.72), transparent 76%);
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: auto -20% -18% -20%;
  height: 42vh;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,22,61,0.20), transparent 66%);
  filter: blur(18px);
  z-index: -1;
}

a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }

.site-shell { min-height: 100vh; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(4, 4, 6, 0.78);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-red);
  border: 1px solid rgba(255,255,255,0.12);
  background: #000;
}
.brand-title { display: grid; gap: 0; }
.brand-title strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.brand-title span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 150ms ease;
  font-size: 0.92rem;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(255,22,61,0.34);
  background: rgba(255,22,61,0.10);
  box-shadow: 0 0 22px rgba(255,22,61,0.10);
}
.nav .danger-link {
  color: #ffd7de;
  border-color: rgba(255,22,61,0.22);
}

main { max-width: var(--max); margin: 0 auto; padding: 42px 20px 72px; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  min-height: 570px;
  padding: 28px 0 44px;
}
.hero-copy { position: relative; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-2);
  border: 1px solid rgba(255,22,61,0.30);
  background: rgba(255,22,61,0.08);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255,22,61,0.9);
}
h1 {
  margin: 18px 0 12px;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.86;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  text-shadow: 0 0 32px rgba(255,22,61,0.24);
}
.hero h1 .thin { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.55); text-shadow: none; }
.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  max-width: 680px;
  line-height: 1.58;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
  transition: 150ms ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.22); }
.btn-primary {
  background: linear-gradient(135deg, #ff163d, #ff5a1f);
  color: #170003;
  font-weight: 800;
  box-shadow: var(--shadow-red);
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost { color: var(--muted); }
.logo-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.logo-stage::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,22,61,0.28), transparent 56%);
  filter: blur(18px);
}
.logo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(145deg, rgba(255,255,255,0.06), transparent 38%, rgba(255,22,61,0.08));
  pointer-events: none;
}
.logo-stage img {
  width: min(410px, 88%);
  border-radius: 28px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 28px rgba(255,22,61,0.48));
}

.section { margin: 56px 0 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.section h2, .page-title h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.section p, .page-title p { color: var(--muted); line-height: 1.7; }
.page-title { margin: 18px 0 34px; max-width: 900px; }
.page-title h1 { margin-bottom: 14px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.075), transparent 32%),
    var(--panel);
  border-radius: var(--radius-md);
  padding: 20px;
  overflow: hidden;
  box-shadow: 0 18px 70px rgba(0,0,0,0.28);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 12% 0%, rgba(255,22,61,0.12), transparent 44%);
}
.card > * { position: relative; z-index: 1; }
.card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.card p { color: var(--muted); line-height: 1.62; }
.stat {
  min-height: 122px;
  display: grid;
  align-content: space-between;
}
.stat .value { font-size: 2.1rem; font-weight: 900; letter-spacing: -0.05em; }
.stat .label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; }

.status-card { display: grid; gap: 14px; }
.status-card .topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.status-card h3 { margin-right: auto; }
.pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  background: rgba(255,255,255,0.045);
}
.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.pill.online { color: var(--green); border-color: rgba(66,245,155,0.28); background: rgba(66,245,155,0.08); }
.pill.hybrid { color: var(--amber); border-color: rgba(255,200,87,0.28); background: rgba(255,200,87,0.08); }
.pill.restricted { color: var(--red-2); border-color: rgba(255,22,61,0.32); background: rgba(255,22,61,0.09); }
.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}
.meta div {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255,255,255,0.035);
}
.meta span { display: block; color: var(--dim); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; }
.meta strong { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.join-text { color: var(--white-hot); overflow-wrap: anywhere; }
.copy-btn { min-height: auto; padding: 8px 10px; font-size: 0.82rem; }

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 18px 0;
}
.filter-btn {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 12px;
  cursor: pointer;
}
.filter-btn.active { color: var(--text); background: rgba(255,22,61,0.16); border-color: rgba(255,22,61,0.34); }
.search {
  margin-left: auto;
  min-width: min(320px, 100%);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.28);
  color: var(--text);
  border-radius: 999px;
  padding: 11px 14px;
  outline: none;
}
.search:focus { border-color: rgba(255,22,61,0.48); box-shadow: 0 0 0 4px rgba(255,22,61,0.10); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--panel); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); vertical-align: top; }
th { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; background: rgba(255,255,255,0.035); }
tr:last-child td { border-bottom: none; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.note {
  border-left: 3px solid var(--red);
  padding: 14px 16px;
  background: rgba(255,22,61,0.075);
  border-radius: 0 14px 14px 0;
  color: var(--muted);
}
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 20px 44px;
  color: var(--dim);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

.admin-locked {
  max-width: 920px;
  margin: 42px auto 0;
  text-align: center;
}
.admin-locked .logo-stage { min-height: 280px; margin: 0 auto 24px; max-width: 420px; }
.checklist { text-align: left; display: grid; gap: 10px; }
.checklist li { color: var(--muted); margin-bottom: 8px; }
.checklist strong { color: var(--text); }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: unset; }
  .logo-stage { min-height: 320px; order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .topbar-inner { align-items: flex-start; flex-direction: column; }
  .brand-mark { width: 42px; height: 42px; }
  .nav { justify-content: flex-start; }
  main { padding-top: 26px; }
  h1 { font-size: clamp(2.6rem, 16vw, 4.6rem); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .meta { grid-template-columns: 1fr; }
  .search { margin-left: 0; width: 100%; }
}
