:root {
  --bg: #0d0a14;
  --bg-elevated: #15101f;
  --border: #261d35;
  --text: #ece6f5;
  --text-dim: #9388a8;
  --text-faint: #5c5270;

  --orchid: #c861f2;
  --orchid-dim: rgba(200, 97, 242, 0.12);
  --orchid-glow: rgba(200, 97, 242, 0.4);
  --rose: #ff6ec7;

  --warn: #ffb454;
  --danger: #ff6b6b;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  min-height: 100%;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% -10%, rgba(200,97,242,0.14), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(255,110,199,0.08), transparent 35%);
}

.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-emoji { font-size: 30px; }

.tagline {
  margin: 14px auto 0;
  max-width: 480px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.5;
}

.hero-buttons { margin-top: 26px; display: flex; justify-content: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-discord { background: var(--orchid); color: #1c0526; }
.btn-discord:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text-dim); }
.btn-ghost:hover { border-color: var(--orchid-glow); color: var(--orchid); }
.btn-small { padding: 8px 14px; font-size: 12.5px; flex-shrink: 0; }

.grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.card-wide { grid-column: span 3; }

.card h2 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.stat-pair { display: flex; gap: 36px; }
.stat-block { flex: 1; }
.stat-value {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 600;
  color: var(--orchid);
  line-height: 1;
}
.stat-label { margin-top: 8px; font-size: 12.5px; color: var(--text-dim); }

.gauge-value {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 10px;
}

.bar {
  height: 7px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orchid), var(--rose));
  border-radius: 999px;
  transition: width 0.6s ease;
}

.sub-label { margin-top: 8px; font-size: 11.5px; color: var(--text-faint); font-family: var(--font-mono); }

.discord-card .discord-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.discord-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  object-fit: cover;
}
.discord-info { flex: 1; }
.discord-name { font-weight: 600; font-size: 15px; }
.discord-counts { margin-top: 4px; display: flex; gap: 16px; font-size: 12.5px; color: var(--text-dim); }
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-faint);
  margin-right: 6px;
}
.dot.online { background: var(--orchid); box-shadow: 0 0 6px var(--orchid-glow); }

footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .stat-pair { gap: 20px; }
}
