:root {
  --bg-deep: #0a0a0f;
  --bg-surface: #12121a;
  --gold-primary: #c9a96e;
  --gold-light: #e8d5a3;
  --gold-dim: #8a7444;
  --accent-red: #b5443a;
  --accent-red-glow: rgba(181, 68, 58, 0.4);
  --text-primary: #e8e0d0;
  --text-muted: #7a7468;
}

* {
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

body {
  background: var(--bg-deep);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
}

/* Subtle radial vignette overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 10;
}

/* Noise texture overlay for depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 11;
}

canvas {
  display: block;
  border-radius: 50%;
}

.clock-label {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--gold-dim);
  letter-spacing: 0.06em;
  user-select: none;
  pointer-events: none;
  text-shadow:
    0 0 12px rgba(201, 169, 110, 0.3),
    0 0 24px rgba(201, 169, 110, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.clock-label.primary {
  font-size: 26px;
  font-weight: 500;
  color: var(--gold-primary);
  text-shadow:
    0 0 14px rgba(201, 169, 110, 0.5),
    0 0 30px rgba(201, 169, 110, 0.15);
}

/* Digital time display */
.time-display {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: baseline;
  gap: 6px;
  opacity: 0;
  animation: fadeUp 1s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.time-display .time {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 14px;
  font-weight: 300;
  color: #e8e0d0;
  letter-spacing: 0.35em;
}

.time-display .date {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 11px;
  font-weight: 300;
  color:  #e8e0d0;
  letter-spacing: 0.2em;
  opacity: 0.5;
  margin-left: 12px;
}

/* Title */
.title {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 11px;
  font-weight: 300;
  color: #e8e0d0;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeDown 1s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Outer ring glow */
.ring-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(85vh, 85vw);
  height: min(85vh, 85vw);
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.08);
  box-shadow:
    0 0 60px rgba(201, 169, 110, 0.04),
    inset 0 0 60px rgba(201, 169, 110, 0.02);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  animation: ringReveal 1.5s 0.2s ease-out forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes ringReveal {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
