:root {
  --bg: #0f172a;
  --panel: #111d34;
  --panel-soft: #16233f;
  --text: #dbe7ff;
  --muted: #9ab0d8;
  --ok: #22c55e;
  --ok-soft: rgba(34, 197, 94, 0.14);
  --border: rgba(154, 176, 216, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(circle at top right, #1a2850 0%, var(--bg) 50%);
  color: var(--text);
  line-height: 1.5;
}

.container {
  width: min(980px, 92vw);
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 16, 32, 0.65);
  backdrop-filter: blur(6px);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 12px var(--ok);
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.meta {
  font-size: 14px;
  color: var(--muted);
}

main {
  padding: 24px 0 34px;
  display: grid;
  gap: 16px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-soft) 100%);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

h1 {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
}

h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pill.ok {
  color: #7ded9f;
  background: var(--ok-soft);
  border: 1px solid rgba(34, 197, 94, 0.45);
}

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

.component {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(8, 14, 28, 0.32);
}

.uptime {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.uptime > div {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(8, 14, 28, 0.32);
}

.label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 5px;
}

strong {
  font-size: 1.1rem;
}

.bars {
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  gap: 4px;
}

.bars span {
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.86), rgba(34, 197, 94, 0.58));
}

.timeline {
  margin: 0;
  padding-left: 20px;
}

.timeline li {
  margin: 0 0 12px;
}

.timeline time {
  display: inline-block;
  margin-bottom: 4px;
  color: #bfd3ff;
  font-weight: 600;
}

.footer {
  padding-bottom: 28px;
}

.footer p {
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .uptime {
    grid-template-columns: 1fr;
  }

  .bars {
    grid-template-columns: repeat(9, 1fr);
  }
}
