@import url('https://fonts.googleapis.com/css2?family=Anton&family=Share+Tech+Mono&display=swap');

:root {
  --red: #d51b13;
  --red-dark: #5d0906;
  --bone: #ddd8ce;
  --muted: #8f8980;
  --black: #030303;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--black);
  color: var(--bone);
  overflow: hidden;
  font-family: 'Share Tech Mono', monospace;
}

.page {
  min-height: 100%;
  position: relative;
  display: grid;
  place-items: center;
  padding: 32px;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 20%, rgba(155, 35, 22, 0.22), transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(190, 15, 9, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.94)),
    url('assets/dangerrust-bg.svg') center / cover no-repeat;
}

.page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 38%, rgba(0,0,0,0.92) 100%);
  z-index: -1;
}

.noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    repeating-radial-gradient(circle at 17% 32%, rgba(255,255,255,.14) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}

.hero {
  width: min(1100px, 100%);
  text-align: center;
  transform: translateY(-2vh);
}

.classified {
  margin: 0 0 18px;
  color: var(--red);
  letter-spacing: 0.32em;
  font-size: clamp(12px, 1.4vw, 16px);
  text-shadow: 0 0 18px rgba(213, 27, 19, .75);
}

.logo {
  margin: 0;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(56px, 13vw, 172px);
  line-height: 0.92;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-shadow:
    0 0 2px #000,
    0 12px 42px rgba(0,0,0,.95);
}

.logo span {
  color: var(--bone);
  filter: contrast(1.35);
}

.logo strong {
  color: var(--red);
  font-weight: inherit;
  text-shadow: 0 0 24px rgba(213,27,19,.38), 0 12px 42px rgba(0,0,0,.95);
}

.tagline {
  margin: 22px 0 56px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.65em;
  font-size: clamp(13px, 1.5vw, 18px);
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 28px);
}

.time-box {
  min-width: clamp(74px, 13vw, 155px);
}

.time-box span {
  display: block;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(48px, 10vw, 136px);
  line-height: 0.88;
  color: var(--red);
  text-shadow:
    0 0 8px rgba(213,27,19,.85),
    0 0 30px rgba(213,27,19,.48),
    0 0 70px rgba(213,27,19,.28);
}

.time-box small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: clamp(10px, 1.3vw, 15px);
}

.divider {
  transform: translateY(-18px);
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(38px, 7vw, 92px);
  color: var(--red-dark);
  text-shadow: 0 0 22px rgba(213,27,19,.32);
}

.launch-message {
  margin-top: 44px;
  color: rgba(221,216,206,.62);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.embers::before,
.embers::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    14vw 24vh 0 rgba(213,27,19,.8),
    24vw 64vh 0 rgba(213,27,19,.45),
    78vw 31vh 0 rgba(213,27,19,.6),
    88vw 67vh 0 rgba(213,27,19,.42),
    55vw 75vh 0 rgba(213,27,19,.55);
  animation: drift 9s infinite ease-in-out alternate;
}

.embers::after {
  animation-duration: 13s;
  filter: blur(1px);
}

@keyframes drift {
  from { transform: translateY(12px); opacity: .3; }
  to { transform: translateY(-24px); opacity: .85; }
}

@media (max-width: 700px) {
  body { overflow: auto; }
  .page { min-height: 100svh; padding: 24px 16px; }
  .tagline { letter-spacing: 0.32em; margin-bottom: 38px; }
  .countdown { gap: 7px; }
  .time-box { min-width: 62px; }
  .time-box small { letter-spacing: 0.18em; }
  .divider { transform: translateY(-14px); }
}
