:root {
  --bg-1: #0b0a0f;
  --bg-2: #120d1a;
  --card: #13111aee;
  --muted: #d1d5db;
  --text: #f3f4f6;
  --accent: #a855f7;
  --accent2: #ef4444;
  --ring: 0 0 0 4px #a855f722;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 75% 10%, #2a1039 0%, transparent 60%),
              radial-gradient(1000px 600px at 20% 100%, #250d17 0%, transparent 60%),
              linear-gradient(160deg, var(--bg-1), var(--bg-2));
}

.wrap {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.card {
  width: min(100%, 980px);
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff1a;
  border-radius: 18px;
  box-shadow: 0 20px 60px #0008;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 28px;
}

@media (max-width: 900px) {
  .card { grid-template-columns: 1fr; padding: 22px; }
}

.logo {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
}
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 20px #0007;
}

.title { font-size: 22px; margin: 0; }
.subtitle { opacity: 0.8; margin: 0.25rem 0 0; font-size: 13px; }

.hr { height: 1px; background: #ffffff1a; border: 0; margin: 18px 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1f1a2a;
  border: 1px solid #ffffff1a;
  color: #e9d5ff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 4px 16px #0006;
}

.grid { display: grid; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ffffff1f;
  background: #13121b;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s ease;
}

.btn:hover {
  outline: var(--ring);
  transform: translateY(-1px);
}

.btn .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.muted { color: #c9cbd1; opacity: 0.9; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; font-size: 12px; opacity: 0.9; gap: 12px; }

.panel {
  align-self: stretch;
  background: #0e0c14;
  border: 1px solid #ffffff1a;
  border-radius: 14px;
  padding: 18px 18px 20px;
  box-shadow: inset 0 0 40px #0006;
}

.panel h3 {
  margin: 0 0 10px;
  font-size: 13px;
  opacity: 0.7;
  font-weight: 600;
}

.count {
  border: 1px solid #ffffff1a;
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(180deg, #1a1424, #0f0c16);
  display: grid;
  gap: 14px;
  text-align: center;
  box-shadow: inset 0 10px 30px #0006;
}

.count .big {
  font-size: 15px;
  font-weight: 800;
}

.count .domain {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.timer {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.unit {
  min-width: 72px;
  background: #0f0c16;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  padding: 10px 8px;
}

.unit .num {
  font-size: 24px;
  font-weight: 800;
}

.unit .lab {
  opacity: 0.7;
  font-size: 11px;
}
