/* Übergangsseite bis zum Go-live (dist/holding.html): nur das Logo im Sternenlicht.
   Eigenes, kleines Stylesheet, damit die Seite nichts von der Website verrät
   (launch.css nennt Bilder und Klassen aller Seiten). Strahl und Leuchten wie in launch.css. */

:root {
  color-scheme: dark;
  --bg-base: #06080F;
  --text-primary: #EEF2FF;
  --text-accent: #7A74FF;
  --primary: #635BFF;
  --ease-default: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body { height: 100%; }
body { margin: 0; background: var(--bg-base); overflow: hidden; }

.intro { position: fixed; inset: 0; display: grid; place-items: center; overflow: hidden; isolation: isolate; margin: 0; }
.intro-sky { position: absolute; inset: 0; z-index: -1; }
.intro-logo { display: block; width: min(480px, 72vw); height: auto; opacity: 0; animation: gate-rise 2s var(--ease-default) .2s forwards; }
@keyframes gate-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.gate-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: -1;
  width: 760px;
  height: 760px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--primary) 20%, transparent) 0%,
    color-mix(in srgb, var(--primary) 6%, transparent) 38%,
    transparent 68%);
  animation: gate-breathe 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gate-breathe {
  0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.06); }
}

/* Transporterstrahl: eine schmale Lichtsäule mit aufsteigendem Funkeln */
.gate-beam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 460px;
  max-width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(90deg,
    transparent 0%,
    color-mix(in srgb, var(--primary) 7%, transparent) 30%,
    color-mix(in srgb, var(--primary) 13%, transparent) 50%,
    color-mix(in srgb, var(--primary) 7%, transparent) 70%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  opacity: 0;
  animation: beam-in 2.4s var(--ease-default) .3s forwards;
  pointer-events: none;
}
@keyframes beam-in { to { opacity: 1; } }
.gate-beam i {
  position: absolute;
  inset: 0 18%;
  top: -340px;
  background-image:
    radial-gradient(circle, color-mix(in srgb, var(--text-primary) 85%, transparent) 0 1px, transparent 1.6px),
    radial-gradient(circle, color-mix(in srgb, var(--text-accent) 90%, transparent) 0 1px, transparent 1.8px);
  background-size: 53px 71px, 89px 113px;
  background-position: 0 0, 27px 41px;
  opacity: .35;
  animation: beam-rise 14s linear infinite;
}
.gate-beam i + i {
  inset: 0 30%;
  top: -340px;
  background-size: 67px 97px, 41px 61px;
  background-position: 13px 7px, 5px 29px;
  opacity: .25;
  animation-duration: 9s;
}
@keyframes beam-rise {
  from { transform: translateY(0); }
  to   { transform: translateY(-340px); }
}

@media (prefers-reduced-motion: reduce) {
  .gate-glow, .gate-beam i { animation: none; }
  .gate-beam, .intro-logo { animation: none; opacity: 1; }
}
