:root {
  --bg: #f2f2f7;
  --panel: #ffffff;
  --border: #e3e5ea;
  --text: #0f1419;
  --text-muted: #4b5563;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --ring-track: #e3e5ea;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(15, 20, 25, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --panel: #1c1c1e;
    --border: #2a2a2d;
    --text: #f2f2f7;
    --text-muted: #aaaab0;
    --accent: #0a84ff;
    --accent-hover: #3094ff;
    --ring-track: #2c2c2e;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.60);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 440px;
  padding: 40px 32px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 24px;
}

h1 {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.lede {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.lede a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.lede a:hover {
  text-decoration: underline;
}

.countdown {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track,
.ring-progress {
  fill: none;
  stroke-width: 8;
}

.ring-track {
  stroke: var(--ring-track);
}

.ring-progress {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.count {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hint {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.cta {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.18s ease;
}

.cta:hover {
  background: var(--accent-hover);
}
