/* ==========================================================
   Nazz Performance — launch countdown (standalone, static)
   Dark-mode only. Colors reuse the real Nazz Performance accent
   (--red / --red-hot), not an invented value.
   ========================================================== */

:root {
  --bg: #05060a;
  --bg-2: #090b12;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);

  --text: #f5f6f8;
  --muted: #97a1b5; /* muted blue-gray secondary text */
  --dim: #626b7c;

  --red: #e5222e; /* Nazz accent, taken from the live site's design tokens */
  --red-hot: #ff3945;
  --red-a1: rgba(229, 34, 46, 0.12);
  --red-a2: rgba(229, 34, 46, 0.22);
  --red-a3: rgba(229, 34, 46, 0.4);

  --sans: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'Segoe UI Mono', Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- atmospheric background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 38%, var(--bg-2), var(--bg) 70%);
}
.bg__hex {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='180' viewBox='0 0 104 180'%3E%3Cpath d='M52 0 104 26V78L52 104 0 78V26Z M52 104 104 130V182L52 208 0 182V130Z' fill='none' stroke='%232a2e3a' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 104px 180px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 34%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 34%, #000 0%, transparent 78%);
}
/* subtle red glow behind the header/countdown */
.bg__glow {
  position: absolute;
  left: 50%;
  top: 30%;
  width: min(1020px, 120vw);
  height: 575px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-a2), transparent 68%);
  filter: blur(70px);
  animation: breathe 9s ease-in-out infinite;
}
.bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 42%, transparent 50%, var(--bg) 100%);
}
/* very light CSS-only grain, no image asset */
.bg__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0;
  text-align: center;
  padding: 96px 20px;
  animation: rise 0.9s var(--ease) both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.hero__mark {
  /* PNG har transparent baggrund med indbygget luft omkring mærket, så den vises lidt større
     end den gamle kant-til-kant-variant for at ramme samme visuelle vægt. */
  width: clamp(96px, 12vw, 148px);
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 28px var(--red-a3));
  user-select: none;
  -webkit-user-drag: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
}
/* lille rød streg foran — samme "eyebrow"-detalje som resten af Nazz-brandet */
.hero__eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-hot));
}

.hero__title {
  margin: 0;
  font-size: clamp(34px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--text);
  text-shadow: 0 0 44px var(--red-a2);
}

.hero__status {
  margin: 14px 0 clamp(48px, 6.4vw, 68px);
  font-family: var(--mono);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-hot);
}
.hero__status.is-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #3ddc97;
}
.hero__status.is-live::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 10px #3ddc97;
  animation: pulse 1.8s ease-in-out infinite;
}

/* ---------- countdown ---------- */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.6vw, 24px);
}
.countdown.is-live {
  animation: fade-out 0.6s var(--ease) both;
}
@keyframes fade-out {
  to {
    opacity: 0;
    transform: scale(0.97);
  }
}

.countdown__field {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: clamp(78px, 12vw, 132px);
  padding: clamp(18px, 2.6vw, 29px) 4px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 50px -24px rgba(0, 0, 0, 0.85),
    0 0 40px -22px var(--red-a2);
}

.countdown__digit {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(32px, 6.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--text);
  transition: opacity 0.25s var(--ease);
}

.countdown__label {
  font-family: var(--mono);
  font-size: clamp(9.5px, 1.1vw, 11px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown__sep {
  font-family: var(--mono);
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--dim);
  transform: translateY(-8px);
}

/* diskret accentstreg mellem countdown og launch-dato — ingen link/underline-fornemmelse */
.hero__rule {
  display: block;
  width: 96px;
  height: 1px;
  margin: clamp(36px, 6vw, 56px) auto 0;
  background: linear-gradient(90deg, transparent, var(--red-hot), transparent);
  opacity: 0.55;
}

.hero__date {
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__date time {
  text-decoration: none;
  border-bottom: 0;
}

@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .hero {
    padding: 72px 16px;
  }
  .countdown {
    flex-wrap: wrap;
    row-gap: 14px;
    max-width: 300px;
  }
  .countdown__field {
    width: calc(50% - 7px);
  }
  .countdown__sep {
    display: none;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero {
    opacity: 1;
    transform: none;
  }
}
