:root {
  --bg: #05060d;
  --text: #f2f5ff;
  --muted: rgba(220, 230, 255, .55);
  --c1: #66e3ff;
  --c2: #b48cff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  overflow: hidden;
}
canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.glow {
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 38%, rgba(102, 227, 255, .10), transparent 70%),
    radial-gradient(40% 35% at 70% 30%, rgba(180, 140, 255, .10), transparent 70%);
}
main {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 16px 22vh;
  text-align: center;
}
h1 {
  font-weight: 200;
  font-size: clamp(1.5rem, 6.4vw, 4.75rem);
  letter-spacing: .38em;
  margin-right: -.38em; /* balance trailing letter-spacing */
  text-transform: uppercase;
  background: linear-gradient(100deg, #fff 20%, var(--c1) 50%, var(--c2) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(102, 227, 255, .25));
  animation: in 1.8s cubic-bezier(.2,.7,.2,1) both, sheen 9s ease-in-out 1.8s infinite alternate;
}
.line {
  margin-top: 1.6rem; height: 1px; width: min(280px, 60vw);
  background: linear-gradient(90deg, transparent, var(--c1), var(--c2), transparent);
  animation: grow 1.6s .5s cubic-bezier(.2,.7,.2,1) both;
}
.tag {
  margin-top: 1.4rem; margin-right: -.5em; /* balance trailing letter-spacing */
  font-size: clamp(.85rem, 2.1vw, 1.2rem); font-weight: 400;
  letter-spacing: .5em; text-transform: uppercase;
  color: rgba(175, 238, 255, .92); /* faint tint of --c1 */
  animation: fade 1.4s 1.2s ease-out both;
}
@keyframes in { from { opacity: 0; letter-spacing: .7em; filter: blur(8px); } }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@media (max-width: 400px) {
  .tag { letter-spacing: .32em; margin-right: -.32em; }
}
@media (prefers-reduced-motion: reduce) {
  h1, .line, .tag { animation: none; }
}
