:root {
  --bg: #0d0d0d;
  --panel: #1a1a1a;
  --accent: #b79669;         
  --text: #f3e8d1;
  --muted: #b5a98a;
  --ok: #34d399;
  --warn: #facc15;
  --down: #ef4444;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --shadow: 0 0 40px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

.bg .decor {
  position: fixed;
  border-radius: 9999px;
  filter: blur(100px);
  opacity: 0.15;
  z-index: 0;
}
.bg .decor-1 { width: 420px; height: 420px; background: #caa463; top: -100px; left: -80px; }
.bg .decor-2 { width: 380px; height: 380px; background: #704214; bottom: -100px; right: -60px; }

.container {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 80px auto;
  padding: 0 20px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.header h1 {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
}
.header .accent { color: var(--accent); }

.pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
}
.pill .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.sub {
  margin-top: 0;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 500;
}

.items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) {
  .items { grid-template-columns: 1fr; }
}

.item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
}
.item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}
.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 500;
}
.badge.ok {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.35);
  color: #9bf2ca;
}
.badge.warn {
  background: rgba(250, 204, 21, 0.18);
  border-color: rgba(250, 204, 21, 0.35);
  color: #fff1b8;
}
.badge.down {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.35);
  color: #ffc4c4;
}
.meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  justify-content: space-between;
}
.timer {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #f1d09c);
  transition: width 0.3s ease;
}
.time {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
}