:root {
  --bg: #1a2238;
  --accent: #ff6a1a;
}

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

html, body { height: 100%; }

body {
  background: var(--bg);
  overflow: hidden;
  font-family: ui-sans-serif, "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

/* Fallback, falls WebGL nicht verfügbar ist */
body.no-webgl {
  background:
    radial-gradient(120% 80% at 50% 68%, rgba(255, 106, 26, 0.16), transparent 62%),
    var(--bg);
}

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

.hero {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.wordmark {
  font-size: clamp(3rem, 11vw, 7.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffeede;
  opacity: 0;
  transform: translateY(30px);
  animation:
    rise 1.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards,
    shimmer 7s ease-in-out 2.4s infinite alternate;
  text-shadow:
    0 0 16px rgba(255, 106, 26, 0.50),
    0 0 55px rgba(255, 106, 26, 0.30),
    0 0 120px rgba(255, 106, 26, 0.18);
}

.wordmark .dot { color: var(--accent); }

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

@keyframes shimmer {
  from {
    text-shadow:
      0 0 16px rgba(255, 106, 26, 0.50),
      0 0 55px rgba(255, 106, 26, 0.30),
      0 0 120px rgba(255, 106, 26, 0.18);
  }
  to {
    text-shadow:
      0 0 20px rgba(255, 106, 26, 0.62),
      0 0 70px rgba(255, 106, 26, 0.38),
      0 0 140px rgba(255, 106, 26, 0.24);
  }
}

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