:root {
  --bg: #0a0a0a;
  --fg: #fafafa;
  --muted: #888;
  --accent: #6366f1;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

/* soft moving gradient glow behind the text */
body::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(
      40% 40% at 30% 30%,
      rgba(99, 102, 241, 0.35),
      transparent 70%
    ),
    radial-gradient(45% 45% at 70% 60%, rgba(236, 72, 153, 0.25), transparent 70%);
  filter: blur(60px);
  animation: drift 14s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes drift {
  from {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.1);
  }
}

main {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

h1 {
  font-size: clamp(3rem, 14vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #b3b3b3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  letter-spacing: 0.02em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }
  main {
    animation: none;
  }
}
