:root {
  color-scheme: dark;
  --background: #07110f;
  --surface: rgba(17, 35, 30, 0.82);
  --surface-soft: rgba(14, 27, 24, 0.7);
  --border: rgba(159, 206, 186, 0.17);
  --text: #f4faf7;
  --muted: #93a9a0;
  --accent: #55e6a5;
  --accent-soft: rgba(85, 230, 165, 0.13);
  --pending: #c1cbc7;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 15%, rgba(50, 162, 116, 0.18), transparent 34%),
    radial-gradient(circle at 82% 82%, rgba(31, 100, 80, 0.2), transparent 38%),
    var(--background);
}

.shell {
  width: min(820px, 100%);
}

header {
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 8vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.summary,
.status-card {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 22px 24px;
  border-radius: 18px;
  color: var(--muted);
}

.summary strong {
  color: var(--text);
  font-size: 1.55rem;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.status-card {
  min-height: 128px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
}

.status-card.muted {
  background: var(--surface-soft);
}

.label,
.detail {
  margin: 0;
}

.label {
  font-size: 1rem;
  font-weight: 700;
}

.detail {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.online {
  color: var(--accent);
  background: var(--accent-soft);
}

.pending,
.checking {
  color: var(--pending);
  background: rgba(255, 255, 255, 0.07);
}

.offline {
  color: #ff9f9f;
  background: rgba(255, 89, 89, 0.12);
}

footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.78rem;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

@media (max-width: 650px) {
  .status-grid {
    grid-template-columns: 1fr;
  }

  .status-card {
    min-height: 110px;
  }
}
