/* Subtle animated gradient background */

.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        #f5f5f5 0%,
        #eef1f8 25%,
        #f8f6f0 50%,
        #f0eef5 75%,
        #f5f5f5 100%
    );
    background-size: 300% 300%;
    animation: site-bg-gradient 24s ease infinite;
}

@keyframes site-bg-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body {
    position: relative;
    background-color: transparent !important;
}

body > :not(.site-bg) {
    position: relative;
    z-index: 1;
}

.top-navbar {
    z-index: 1000 !important;
}

@media (prefers-reduced-motion: reduce) {
    .site-bg {
        animation: none;
        background: #f5f5f5;
        background-size: auto;
    }
}
