: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;
}
/* The logo is three stacked layers so the hand can nudge and the sparks can pop. */
.logo { position: relative; width: min(170px, 42vw); aspect-ratio: 520 / 308; }
.logo img { position: absolute; inset: 0; display: block; width: 100%; height: auto; }
.hand { transform-origin: 10% 30%; animation: nudge 2.8s cubic-bezier(.5, 0, .3, 1) infinite; }
.spark { transform-origin: 84% 26%; animation: spark 2.8s ease-out infinite; }

.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); }
}

/* Pull back, then two quick taps forward, as if nudging something. */
@keyframes nudge {
  0%, 24%  { transform: translateX(-7%) rotate(0); }
  34%      { transform: translateX(1%) rotate(-2deg); }
  42%      { transform: translateX(-3%) rotate(0); }
  50%      { transform: translateX(1%) rotate(-2deg); }
  66%      { transform: translateX(0) rotate(-1deg); }
  100%     { transform: translateX(-7%) rotate(0); }
}
/* The sparks fire when the finger makes contact. */
@keyframes spark {
  0%, 30%  { opacity: 0; transform: scale(.5); }
  36%      { opacity: 1; transform: scale(1.15); }
  44%      { opacity: .5; transform: scale(.85); }
  52%      { opacity: 1; transform: scale(1.2); }
  64%, 80% { opacity: 1; transform: scale(1); }
  92%, 100% { opacity: 0; transform: scale(.6); }
}

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