:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f8fafc;
  background: #0b1220;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, #17243b 0%, #0b1220 42%, #050912 100%);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(680px, 100%);
  padding: 42px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 26px;
  background: rgba(14, 22, 38, .88);
  box-shadow: 0 24px 80px rgba(0,0,0,.36);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: 16px;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1;
}

#message {
  margin: 18px 0 24px;
  font-size: 18px;
  line-height: 1.55;
  color: #cbd5e1;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-weight: 700;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.online { color: #4ade80; }
.restarting { color: #facc15; }
.outage { color: #fb7185; }
.checking { color: #94a3b8; }

.countdown-box {
  margin-top: 26px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(250, 204, 21, .07);
  border: 1px solid rgba(250, 204, 21, .16);
}

.countdown-label {
  color: #fde68a;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

#countdown {
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: .04em;
}

.hidden { display: none; }

.details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.details div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.details span { color: #94a3b8; }
.details strong { text-align: right; overflow-wrap: anywhere; }

.refresh {
  margin-top: 26px;
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 560px) {
  .card { padding: 28px; }
  .details div { flex-direction: column; gap: 4px; }
  .details strong { text-align: left; }
}
