@font-face {
  font-family: Orbitron;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/orbitron-900.ttf") format("truetype");
}

:root {
  --dream-accent: #0ea5e9;
  color-scheme: dark;
  background: #000;
  color: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #000;
}

.dream-atlas {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px 16px;
}

.legal-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; padding: 16px 0; font: 12px/1.6 system-ui, sans-serif; }
.legal-nav a { color: #9aabc0; text-decoration: none; }
.legal-nav a:hover { color: #fff; text-decoration: underline; }
.legal-nav a:focus-visible { outline: 2px solid var(--dream-accent); outline-offset: 4px; }
.home-legal-footer { position: relative; margin-top: -72px; min-height: 72px; padding: 8px 24px; }

.dream-atlas h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font: 900 clamp(24px, 7.5vw, 72px) / 1.15 Orbitron, sans-serif;
  letter-spacing: .2em;
  text-indent: .2em;
  text-align: center;
  text-transform: uppercase;
}

.dream-atlas__initial {
  color: color-mix(in srgb, var(--dream-accent) 82%, #000);
}

.sparkles {
  position: relative;
  flex: none;
  width: min(640px, 100%);
  height: 160px;
  pointer-events: none;
}

.sparkles__line {
  position: absolute;
  top: 0;
  background: linear-gradient(90deg, transparent, var(--light), transparent);
}

.sparkles__line::before {
  position: absolute;
  inset: 0;
  content: "";
  background: inherit;
  filter: blur(3px);
  transform: scaleY(3);
}

.sparkles__line--wide {
  --light: #6366f1;
  left: 12.5%;
  width: 75%;
  height: 1px;
}

.sparkles__line--core {
  --light: var(--dream-accent);
  left: 37.5%;
  width: 25%;
  height: 2px;
}

.sparkles__particles {
  display: block;
  width: 100%;
  height: 100%;
  mask-image: radial-gradient(350px 200px at 50% 0, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(350px 200px at 50% 0, #000 20%, transparent 100%);
}
