:root {
  --black: #000;
  --gold: #dea00d;
  --gold-bright: #ffd45c;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--black);
  color: #fff;
  font-family: var(--mono);
  overflow: hidden;
}

#rain { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }

/* Darkens the middle so the logo and text stay readable over the rain. */
.vignette {
  position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 46% 42% at 50% 50%, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .7) 55%, rgba(0, 0, 0, 0) 100%);
}

.center {
  position: relative; z-index: 1;
  min-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; padding: 32px 16px; text-align: center;
}

.plate {
  background: #fff;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 0 0 1px rgba(222, 160, 13, .5), 0 0 48px rgba(222, 160, 13, .35);
  animation: glow 3.2s ease-in-out infinite;
}
.plate img { display: block; width: min(170px, 42vw); height: auto; }

.status {
  margin: 0;
  font: 700 clamp(1.6rem, 6vw, 3.4rem)/1.1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 0 12px rgba(222, 160, 13, .8), 0 0 32px rgba(222, 160, 13, .45);
}
.cursor {
  display: inline-block; width: .6em; height: .9em; margin-left: .12em;
  vertical-align: -.08em; background: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold);
  animation: blink 1s steps(1) infinite;
}

.tagline {
  margin: 0;
  font-size: clamp(.95rem, 2.6vw, 1.2rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #e9e9ea;
  opacity: .85;
}

.countdown { display: flex; gap: clamp(8px, 2.5vw, 18px); justify-content: center; }
.unit {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: clamp(70px, 20vw, 112px); aspect-ratio: 1;
  border: 1.5px solid rgba(222, 160, 13, .75);
  border-radius: 16px;
  background: rgba(10, 10, 10, .72);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 18px rgba(222, 160, 13, .25), inset 0 0 18px rgba(222, 160, 13, .08);
}
.num {
  font: 800 clamp(1.8rem, 7vw, 3rem)/1 var(--mono);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.label {
  margin-top: 8px;
  font: 700 clamp(.62rem, 2.2vw, .8rem)/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.contact { margin: 6px 0 0; font-size: .85rem; letter-spacing: .06em; color: #c4c4c9; text-shadow: 0 0 6px #000, 0 0 12px #000; }
.contact a { color: var(--gold-bright); text-decoration: none; border-bottom: 1px solid rgba(222, 160, 13, .5); }
.contact a:hover { border-bottom-color: var(--gold-bright); }

@keyframes blink { 50% { opacity: 0; } }
@keyframes glow {
  50% { box-shadow: 0 0 0 1px rgba(222, 160, 13, .8), 0 0 72px rgba(222, 160, 13, .55); }
}

@media (prefers-reduced-motion: reduce) {
  .plate, .cursor { animation: none; }
}
