:root {
  --digit-width: 0.72em;
  --digit-height: 1.1em;
  --font-size: clamp(38px, 9vw, 88px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #0b0b0b;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.bg-video-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: grayscale(92%) brightness(0.28) contrast(0.72);
  transform: scale(1.03);
}

.bg-white-fade {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
}

.wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
}

.analog-clock {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.analog-face {
  position: relative;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 30px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px);
}

.tick {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 2px;
  height: 12px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.75);
  transform-origin: 50% 69px;
}

.tick-1  { transform: rotate(30deg); }
.tick-2  { transform: rotate(60deg); }
.tick-3  { transform: rotate(90deg); }
.tick-4  { transform: rotate(120deg); }
.tick-5  { transform: rotate(150deg); }
.tick-6  { transform: rotate(180deg); }
.tick-7  { transform: rotate(210deg); }
.tick-8  { transform: rotate(240deg); }
.tick-9  { transform: rotate(270deg); }
.tick-10 { transform: rotate(300deg); }
.tick-11 { transform: rotate(330deg); }
.tick-12 { transform: rotate(0deg); }

.hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform-origin: 50% 100%;
  border-radius: 999px;
}

.hour-hand {
  width: 4px;
  height: 38px;
  margin-left: -2px;
  background: rgba(255, 255, 255, 0.9);
}

.minute-hand {
  width: 3px;
  height: 54px;
  margin-left: -1.5px;
  background: rgba(255, 255, 255, 0.88);
}

.second-hand {
  width: 2px;
  height: 60px;
  margin-left: -1px;
  background: rgba(255, 120, 120, 0.95);
}

.center-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
}

.clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.04em;
  font-size: var(--font-size);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  user-select: none;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}

.sep {
  width: 0.34em;
  text-align: center;
}

.digit-window {
  width: var(--digit-width);
  height: var(--digit-height);
  overflow: hidden;
  display: inline-block;
  position: relative;
}

.digit-strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.digit {
  height: var(--digit-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

.suffix {
  margin-left: 0.28em;
  min-width: 1.8em;
  font-size: 0.34em;
  letter-spacing: 0.08em;
  opacity: 0.95;
  text-align: left;
}

.tz {
  margin-top: 14px;
  font-size: 14px;
  opacity: 0.9;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}