:root {
  --bg-base: #0f0a84;
  --bg-top: #2218b3;
  --bg-mid: #130d96;
  --bg-bottom: #08064f;
  --panel: rgba(10, 11, 82, 0.32);
  --panel-edge: rgba(255, 255, 255, 0.14);
  --grid: rgba(255, 255, 255, 0.04);
  --gold-glow: rgba(255, 194, 46, 0.22);
  --blue-glow: rgba(126, 151, 255, 0.24);
  --vignette: rgba(2, 2, 24, 0.58);
  --shadow: rgba(2, 4, 28, 0.58);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  overflow: hidden;
  background-color: var(--bg-base);
  background:
    radial-gradient(circle at 50% 20%, rgba(117, 145, 255, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 194, 46, 0.04), transparent 32%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 50%, var(--bg-bottom) 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 2rem 3.2rem var(--shadow));
  }

  50% {
    transform: scale(1.024);
    filter: drop-shadow(0 2.5rem 4.2rem var(--shadow));
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.88;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem;
  isolation: isolate;
}

.hero__gallery-link {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 4;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hero__aurora,
.hero__glow,
.hero__grid,
.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__aurora {
  filter: blur(80px);
  opacity: 0.9;
  z-index: -4;
  animation: glowPulse 11s ease-in-out infinite;
}

.hero__aurora--left {
  inset: auto auto 12% 6%;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 68%);
}

.hero__aurora--right {
  inset: 10% 8% auto auto;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 68%);
}

.hero__glow {
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 214, 107, 0.08), transparent 18%),
    radial-gradient(circle at 50% 52%, rgba(118, 149, 255, 0.08), transparent 30%);
  z-index: -2;
  animation: glowPulse 8s ease-in-out infinite;
}

.hero__grid {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.44), transparent 82%);
  z-index: -3;
}

.hero__vignette {
  background:
    radial-gradient(circle at center, transparent 38%, var(--vignette) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%);
  z-index: -1;
}

.hero__logo {
  position: relative;
  width: min(44rem, 76vw);
  height: auto;
  filter: drop-shadow(0 2rem 3.2rem var(--shadow));
  user-select: none;
  animation: logoPulse 7s ease-in-out infinite;
  will-change: transform, filter;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero__aurora,
  .hero__glow,
  .hero__logo {
    animation: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 1rem;
  }

  .hero__gallery-link {
    top: 1rem;
    right: 1rem;
  }

  .hero__logo {
    width: min(30rem, 88vw);
  }
}
