@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400&display=swap');

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

:root {
  --bg:     #f5f2eb;
  --text:   #1a1814;
  --muted:  #8a8678;
  --accent: #2d5a3d;
  --border: rgba(26, 24, 20, 0.12);
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── Zegar ── */
.clock-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clock-time {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(5rem, 20vw, 11rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  /* stała szerokość = zegar nie skacze gdy zmienia się cyfra */
  width: 3ch;
  min-width: max-content;
}

.clock-time .separator {
  animation: blink 1s step-end infinite;
  color: var(--accent);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.clock-date {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.9rem;
}

/* ── Stopka ── */
.footer-note {
  position: fixed;
  bottom: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
