/* Deliberate single-world design: a broadcast control-room "standby" screen.
   Colors are painted explicitly throughout — no light/dark switching, this
   page is one fixed on-air aesthetic regardless of viewer theme. */

:root {
  --stage: #0b0908;
  --stage-2: #14100f;
  --tally: #e0293f;
  --tally-deep: #8f1626;
  --tally-bright: #ff4a5e;
  --ink: #f4efe9;
  --ink-dim: #a99b96;
  --ink-faint: #6f635f;
  --gold: #d9a441;
  --line: rgba(244, 239, 233, 0.09);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--stage);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* --- Atmosphere: vignette, scanlines, tally glow --- */
.stage-vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(224,41,63,0.10), transparent 60%),
    radial-gradient(ellipse 120% 100% at 50% 100%, var(--stage-2), var(--stage) 70%);
}

.tally-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  top: 8%;
  left: 50%;
  width: 640px;
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(224,41,63,0.20), transparent 68%);
  filter: blur(20px);
  animation: tallyPulse 3.4s ease-in-out infinite;
}
@keyframes tallyPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.16) 3px,
    rgba(0,0,0,0) 4px
  );
  mix-blend-mode: multiply;
}

@media (prefers-reduced-motion: reduce) {
  .tally-glow { animation: none; }
}

/* --- Top rig bar --- */
.rig {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-family: 'Manrope', sans-serif;
}

.tally-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(224, 41, 63, 0.14);
  border: 1px solid rgba(224, 41, 63, 0.4);
  color: var(--tally-bright);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.tally-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tally-bright);
  box-shadow: 0 0 0 0 rgba(255, 74, 94, 0.6);
  animation: blink 1.3s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,74,94,.55); }
  50% { opacity: .35; box-shadow: 0 0 0 6px rgba(255,74,94,0); }
}
@media (prefers-reduced-motion: reduce) {
  .tally-dot { animation: none; }
}

.rig-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --- Main stage --- */
.wrap {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 20px 50px;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: revealIn .75s cubic-bezier(.16,.8,.24,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes revealIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation-duration: .01s; }
}

/* --- Wordmark --- */
.wordmark {
  font-family: 'Anton', 'Manrope', sans-serif;
  font-weight: 400;
  margin: 0;
  line-height: 0.92;
  text-wrap: balance;
}
.w-line {
  display: block;
  font-size: clamp(46px, 11vw, 96px);
  letter-spacing: 0.01em;
  color: var(--ink);
}
.w-accent {
  color: var(--tally);
  text-shadow: 0 0 34px rgba(224, 41, 63, 0.45);
}

.sdnbhd {
  margin: 16px 0 0;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--ink-faint);
  font-weight: 700;
  text-transform: uppercase;
}

.tagline {
  margin: 24px 0 0;
  font-size: clamp(15px, 2.3vw, 18px);
  color: var(--ink-dim);
  max-width: 480px;
  line-height: 1.6;
}
.tagline strong { color: var(--ink); font-weight: 700; }

/* --- Countdown: scoreboard readout --- */
.countdown {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 42px 0 0;
}
.cd-unit {
  position: relative;
  background: linear-gradient(180deg, rgba(244,239,233,0.05), rgba(244,239,233,0.015));
  border: 1px solid var(--line);
  border-top: 2px solid var(--tally);
  border-radius: 8px;
  padding: 16px 16px 12px;
  min-width: 72px;
}
.cd-num {
  font-family: 'Anton', sans-serif;
  font-size: clamp(26px, 5.4vw, 42px);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1;
}
.cd-label {
  margin-top: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  font-weight: 700;
}
.cd-sep {
  font-family: 'Anton', sans-serif;
  font-size: clamp(22px, 4.4vw, 32px);
  color: var(--tally-deep);
  align-self: center;
  transform: translateY(-6px);
}

/* --- Footer --- */
.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 18px 20px 26px;
}
.site-footer a {
  color: var(--ink-faint);
  font-size: 11.5px;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.site-footer a:hover { color: var(--ink-dim); }

/* --- Responsive --- */
@media (max-width: 640px) {
  .rig { padding: 18px 18px; }
  .rig-meta { display: none; }
  .wrap { padding: 20px 16px 40px; }
  .countdown { gap: 7px; }
  .cd-unit { min-width: 56px; padding: 12px 8px 9px; }
  .cd-sep { transform: translateY(-3px); }
  .tally-glow { width: 420px; height: 420px; }
}
