@keyframes fadein { from { opacity: 0; } }

:root {
  color-scheme: dark;
  --bg: #05070a;
  --text: #999;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.8 Lato, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
}

.scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(20%);
}

#stars {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 60%);
}

#aurora {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(1.5px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 60%);
  animation: fadein 4s;
}

.main-title {
  position: absolute;
  top: 50px;
  left: clamp(1rem, 7vw, 100px);
  z-index: 1;
  margin: 10px 0 30px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 10px;
  color: var(--text);
}

@media (max-width: 600px) {
  .main-title { font-size: 1em; letter-spacing: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  #aurora { animation: none; }
}
