* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;
  background: #020111;
  width: 100vw;
  height: 100vh;
  font-family: 'Cormorant Garamond', serif;
  cursor: crosshair;
}

/* ---- Canvas ---- */

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* ---- Nebula overlays ---- */

.nebula {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  z-index: 0;
  animation: nebulaPulse 8s ease-in-out infinite alternate;
}

.nebula-1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(120, 40, 180, 0.25), transparent 70%);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.nebula-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(30, 80, 180, 0.2), transparent 70%);
  top: 30%;
  right: -8%;
  animation-delay: -3s;
}

.nebula-3 {
  width: 450px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(180, 50, 80, 0.15), transparent 70%);
  bottom: 20%;
  left: 30%;
  animation-delay: -5s;
}

.nebula-4 {
  width: 350px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(40, 160, 120, 0.12), transparent 70%);
  top: 60%;
  left: 10%;
  animation-delay: -2s;
}

@keyframes nebulaPulse {
  0%   { opacity: 0.6; transform: scale(1) rotate(0deg); }
  100% { opacity: 1;   transform: scale(1.15) rotate(3deg); }
}

/* ---- Horizon glow ---- */

.horizon-glow {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(
    to top,
    rgba(15, 25, 50, 0.9) 0%,
    rgba(20, 15, 60, 0.4) 40%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* ---- Mountain silhouette ---- */

.mountains {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
}

.mountains svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Vignette ---- */

.vignette {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}

/* ---- Title overlay ---- */

.title-overlay {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  color: rgba(200, 210, 230, 0.5);
  pointer-events: none;
  user-select: none;
}

.title-overlay h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.title-overlay p {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  margin-top: 6px;
  opacity: 0.5;
}
