:root {
  --shell: #0b0d12;
  --panel: #11141b;
  --raise: #181c25;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e9edf5;
  --dim: #97a0b2;
  --faint: #687184;
  --accent: #60b0ff;
  --accent-dim: rgba(96, 176, 255, 0.18);
  --good: #54de8f;
  --bad: #ff5c70;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--shell);
  color: var(--text);
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.glow {
  position: fixed;
  top: -30vh;
  left: 50%;
  width: 90vw;
  height: 60vh;
  max-width: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-dim), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 88px 24px 56px;
}

.hero {
  text-align: center;
  margin-bottom: 48px;
}

.wordmark {
  font-size: clamp(40px, 9vw, 64px);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  background: linear-gradient(180deg, var(--text), var(--dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  color: var(--dim);
  font-size: 15px;
  margin: 0 0 24px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
}

.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.status[data-state="loading"] .dot {
  animation: pulse 1.2s ease-in-out infinite;
}

.status[data-state="ok"] .dot {
  background: var(--good);
  box-shadow: 0 0 8px rgba(84, 222, 143, 0.6);
}

.status[data-state="down"] .dot {
  background: var(--bad);
  box-shadow: 0 0 8px rgba(255, 92, 112, 0.6);
}

.status[data-state="ok"] .status-text { color: var(--good); }
.status[data-state="down"] .status-text { color: var(--bad); }

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.panel h2 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.roster {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.roster li {
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  color: var(--text);
}

.invite p {
  margin: 0;
  color: var(--dim);
  font-size: 14px;
}

footer {
  text-align: center;
  color: var(--faint);
  font-size: 12px;
  margin-top: 32px;
}
