/*
 * gate-background.css
 * Erstellt am: 2026-05-21 00:00 Europe/Berlin
 * Zweck: Reiner CSS-Hintergrund für public/gate.php im Dark-Design.
 * Hinweis: Kein JavaScript, kein Noise, kein Grid. Nur ein dunkler Verlauf mit subtil animierten Rechtecken.
 */

.gate-page {
  background: #05070b;
}

.gate-page #app,
.gate-page .v-application,
.gate-page .v-application__wrap {
  background: transparent !important;
}

.gate-square-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(18, 42, 82, 0.42), transparent 42%),
    linear-gradient(135deg, #07111f 0%, #070a0f 52%, #050506 100%);
}

.gate-square-background::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 58vh;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.86) 0%, rgba(5, 7, 11, 0.20) 58%, rgba(5, 7, 11, 0) 100%);
}

.gate-square-background::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26vh;
  background: linear-gradient(0deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.30) 62%, rgba(5, 5, 6, 0) 100%);
}

.gate-squares {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gate-square {
  align-self: flex-end;
  width: 1em;
  height: 1em;
  transform: translateY(100%) rotate(-50deg);
  background: rgba(90, 132, 190, 0.16);
  border: 1px solid rgba(150, 190, 255, 0.08);
  box-shadow: 0 0 28px rgba(58, 117, 205, 0.10);
  animation: gate-squares-rise 14s linear infinite;
}

.gate-square:nth-child(2) {
  width: 3em;
  height: 1.5em;
  animation-delay: 1s;
  animation-duration: 22s;
  filter: blur(4px);
  opacity: 0.72;
}

.gate-square:nth-child(3) {
  width: 1em;
  height: 2em;
  animation-delay: 1.5s;
  animation-duration: 12s;
  opacity: 0.62;
}

.gate-square:nth-child(4) {
  width: 1.5em;
  height: 1em;
  animation-delay: 0.5s;
  animation-duration: 18s;
  filter: blur(2px);
  opacity: 0.70;
}

.gate-square:nth-child(5) {
  width: 2em;
  height: 1.25em;
  animation-delay: 4s;
  animation-duration: 16s;
  filter: blur(1.5px);
  opacity: 0.58;
}

.gate-square:nth-child(6) {
  width: 2em;
  height: 2.5em;
  animation-delay: 2s;
  animation-duration: 14s;
  filter: blur(1px);
  opacity: 0.50;
}

.gate-square:nth-child(7) {
  width: 2em;
  height: 5em;
  animation-duration: 20s;
  filter: blur(2.5px);
  opacity: 0.38;
}

.gate-square:nth-child(8) {
  width: 3em;
  height: 1em;
  animation-delay: 5s;
  animation-duration: 24s;
  filter: blur(5px);
  opacity: 0.46;
}

.gate-square:nth-child(9) {
  width: 2em;
  height: 1.5em;
  animation-delay: 3s;
  animation-duration: 15s;
  filter: blur(0.5px);
  opacity: 0.55;
}

.gate-square:nth-child(10) {
  width: 2.4em;
  height: 3em;
  animation-delay: 6s;
  animation-duration: 19s;
  filter: blur(0.5px);
  opacity: 0.42;
}

@keyframes gate-squares-rise {
  from {
    transform: translateY(100%) rotate(-50deg);
  }
  to {
    transform: translateY(calc(-100vh - 120%)) rotate(20deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gate-square {
    animation: none !important;
    opacity: 0.12;
    transform: translateY(12vh) rotate(-12deg);
  }
}
