:root {
  --bg: #050505;
  --bg-2: #0a0a0a;
  --bg-3: #111111;
  --panel: rgba(255,255,255,0.04);
  --panel-strong: rgba(255,255,255,0.07);
  --line: rgba(255,255,255,0.08);
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --soft: #d6d6d6;
  --red: #ff2e2e;
  --red-2: #ff4d4d;
  --red-dark: #a80000;
  --accent-glow: rgba(255,46,46,0.35);
  --shadow: 0 30px 80px rgba(0,0,0,.6);
  --radius-1: 18px;
  --radius-2: 28px;
  --radius-3: 40px;
  --max: 1380px;
  --grid: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255,46,46,.18), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(255,46,46,.12), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(255,46,46,.08), transparent 28%),
    var(--bg);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grid);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 95%);
  opacity: .45;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.container {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .06;
  background-image: radial-gradient(#fff 0.5px, transparent 0.5px);
  background-size: 6px 6px;
  mix-blend-mode: soft-light;
}

.halo {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .22;
  pointer-events: none;
  z-index: 1;
}
.halo-a { top: -140px; left: -120px; background: rgba(255,46,46,.38); }
.halo-b { right: -180px; top: 12%; background: rgba(255,46,46,.18); }
.halo-c { left: 30%; bottom: -220px; background: rgba(255,46,46,.12); }

.shell { position: relative; z-index: 2; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pageSpin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,91,84,.8); }
  70% { box-shadow: 0 0 0 12px rgba(255,91,84,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,91,84,0); }
}

@keyframes spinCover {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes vizIdle {
  0%, 100% { height: 12px; opacity: .5; }
  20% { height: 52px; opacity: 1; }
  40% { height: 22px; opacity: .75; }
  60% { height: 66px; opacity: 1; }
  80% { height: 30px; opacity: .85; }
}

@keyframes livePulse {
  0%, 100% { width: 28%; opacity: .85; }
  50% { width: 74%; opacity: 1; }
}

@keyframes spinVideo {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
