:root {
  --bg: #0b0e14;
  --text: #f2f6ff;
  --muted: #6f7d95;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: radial-gradient(1000px 700px at 50% 0%, #141c2b 0%, var(--bg) 60%, #05070b 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 24px;
  user-select: none;
}

.clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.time {
  font-size: clamp(56px, 18vw, 168px);
  font-weight: 200;
  letter-spacing: 0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: var(--text);
  text-shadow: 0 0 40px rgba(120, 170, 255, 0.28);
}

.date {
  font-size: clamp(13px, 2.6vw, 18px);
  letter-spacing: 0.22em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 380px) {
  .time { letter-spacing: 0.02em; }
  .date { letter-spacing: 0.14em; }
}
