:root {
  color-scheme: dark;
  --bg: #11161c;
  --card: #1b222b;
  --text: #edf2f7;
  --muted: #a7b2bf;
  --btn: #2b6cb0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1d2835, var(--bg));
  color: var(--text);
  display: grid;
  place-items: center;
}

.wrap {
  width: min(92vw, 560px);
}

.card {
  background: rgba(27, 34, 43, 0.94);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.badge {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  background: #2d3748;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: .02em;
}

.badge.online {
  background: rgba(31,157,85,.2);
  color: #7ee2a8;
}

.badge.starting {
  background: rgba(214,158,46,.2);
  color: #f6d37a;
}

.badge.offline,
.badge.error {
  background: rgba(197,48,48,.2);
  color: #ff9b9b;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 2.7rem);
}

p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

button,
a {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

button {
  background: var(--btn);
  color: white;
}

button:disabled {
  opacity: .6;
  cursor: wait;
}

a {
  background: #2f855a;
  color: white;
}

.hint {
  margin-top: 16px;
  font-size: .95rem;
}
