/* Aurora Background — animated blob system */

.aurora-container {
    position: fixed;
    inset: 0;
    z-index: -20;
    overflow: hidden;
    pointer-events: none;
}

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

/* Orange blob — top-left anchor */
.aurora-blob--orange {
    background: radial-gradient(ellipse, rgba(255, 92, 0, 0.55) 0%, transparent 70%);
    width: 600px;
    height: 500px;
    top: -80px;
    left: -80px;
    animation: driftOrange 45s ease-in-out infinite alternate;
}

/* Purple blob — mid-right anchor */
.aurora-blob--purple {
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.45) 0%, transparent 70%);
    width: 700px;
    height: 600px;
    top: 25%;
    right: -200px;
    animation: driftPurple 55s ease-in-out infinite alternate;
}

/* Blue blob — bottom-center anchor */
.aurora-blob--blue {
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.45) 0%, transparent 70%);
    width: 550px;
    height: 550px;
    bottom: -80px;
    left: 25%;
    animation: driftBlue 50s ease-in-out infinite alternate;
}

/* Amber blob — bottom-left anchor */
.aurora-blob--amber {
    background: radial-gradient(ellipse, rgba(251, 146, 60, 0.40) 0%, transparent 70%);
    width: 500px;
    height: 400px;
    bottom: 15%;
    left: -120px;
    animation: driftAmber 60s ease-in-out infinite alternate;
}

/* ── Keyframe animations ── */

@keyframes driftOrange {
    0%   { transform: translate(0, 0) scale(1); }
    40%  { transform: translate(8%, 12%) scale(1.08); }
    70%  { transform: translate(-4%, 6%) scale(0.94); }
    100% { transform: translate(5%, -8%) scale(1.04); }
}

@keyframes driftPurple {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(-6%, 10%) scale(1.10); }
    66%  { transform: translate(4%, -5%) scale(0.92); }
    100% { transform: translate(-3%, 8%) scale(1.06); }
}

@keyframes driftBlue {
    0%   { transform: translate(0, 0) scale(1); }
    45%  { transform: translate(-8%, -10%) scale(1.07); }
    80%  { transform: translate(5%, 4%) scale(0.96); }
    100% { transform: translate(3%, -6%) scale(1.03); }
}

@keyframes driftAmber {
    0%   { transform: translate(0, 0) scale(1); }
    35%  { transform: translate(6%, -8%) scale(1.09); }
    65%  { transform: translate(-3%, 5%) scale(0.93); }
    100% { transform: translate(4%, 10%) scale(1.05); }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .aurora-blob {
        animation: none;
    }
}
