@font-face {
  font-family: "Exo 2";
  src: url("fonts/exo2.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

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

html, body {
  height: 100%;
  overflow: hidden;
  background: #020a0a;
}

#space {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

h1 {
  position: fixed;
  top: 50%;
  left: 62%;
  transform: translate(-50%, -50%);
  font-family: "Exo 2", sans-serif;
  font-weight: 200;
  font-size: clamp(4rem, 15vw, 13rem);
  letter-spacing: 0.3em;
  padding-left: 0.3em; /* compenseaza letter-spacing ca sa fie centrat */
  color: #eafff8;
  text-shadow:
    0 0 20px rgba(90, 230, 200, 0.45),
    0 0 60px rgba(40, 190, 160, 0.30);
  user-select: none;
  opacity: 0;
  animation: appear 3s ease-out 0.4s forwards;
}

/* ecran ingust (telefon): totul centrat */
@media (max-aspect-ratio: 6/5) {
  h1 { left: 50%; }
}

@keyframes appear {
  from { opacity: 0; letter-spacing: 0.6em; filter: blur(8px); }
  to   { opacity: 1; letter-spacing: 0.3em; filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  h1 { animation: none; opacity: 1; }
}
