.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: var(--aurora-opacity);
  transition: opacity .5s ease;
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 70%);
  mask-image: linear-gradient(to bottom, black 30%, transparent 70%);
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}

.aurora-blob--1 {
  width: 80vw; height: 60vh;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--aurora-color-1) 40%, white) 0%, transparent 70%);
  top: -20%; left: -10%;
  animation: aurora1 100s ease-in-out infinite;
}

.aurora-blob--2 {
  width: 70vw; height: 55vh;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--aurora-color-2) 35%, white) 0%, transparent 70%);
  top: 10%; right: -20%;
  animation: aurora2 120s ease-in-out infinite;
}

@keyframes aurora1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10vw, 8vh) scale(1.08); }
}

@keyframes aurora2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12vw, 6vh) scale(1.05); }
}

.light-sweep {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.light-sweep::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(115deg,
    transparent 30%, var(--sweep-color) 50%, transparent 70%);
  animation: sweep 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

@keyframes sweep {
  from { left: -100%; }
  to { left: 200%; }
}

.tilt-card { perspective: 1200px; }
.tilt-inner {
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
  position: relative;
}
.tilt-reflection {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0;
  transition: opacity 400ms ease; z-index: 2;
}
.tilt-card:hover .tilt-reflection { opacity: 1; }

.reveal {
  opacity: 0; transform: translateY(8px);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--in { opacity: 1; transform: translateY(0); }
[data-stagger] > .reveal { transition-delay: calc(var(--i, 0) * 120ms); }

.live-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-live);
  box-shadow: 0 0 8px var(--color-live);
  animation: pulse-led 2s ease-in-out infinite;
}
@keyframes pulse-led {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-blob { animation: none !important; }
  .light-sweep::after { animation: none !important; opacity: 0; }
  .live-dot { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
