* {
  box-sizing: border-box;
}

:root {
  --white: rgba(255, 255, 255, 0.96);
  --violet: rgba(154, 92, 255, 0.68);
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #020207;
  color: var(--white);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 44%, rgba(255,255,255,0.035), transparent 18%),
    radial-gradient(circle at 18% 24%, rgba(122, 62, 202, 0.12), transparent 32%),
    radial-gradient(circle at 84% 74%, rgba(157, 90, 255, 0.10), transparent 34%),
    linear-gradient(to bottom, rgba(0,0,0,0.04), rgba(0,0,0,0.36));
}

#universe {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  pointer-events: none;
}

h1 {
  margin: 0;
  max-width: 1120px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(2.2rem, 5.9vw, 5.8rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.045em;
  color: var(--white);
  text-wrap: balance;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.20),
    0 0 28px rgba(177, 133, 255, 0.42),
    0 0 90px rgba(118, 56, 217, 0.44);
  animation: breathe 9s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% {
    opacity: 0.90;
    filter: drop-shadow(0 0 7px rgba(177, 133, 255, 0.26));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(177, 133, 255, 0.48));
  }
}

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