/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 55% 45% at 10% 20%, rgba(59,130,246,0.22)  0%, transparent 65%),
        radial-gradient(ellipse 45% 55% at 90% 80%, rgba(139,92,246,0.20)  0%, transparent 65%),
        radial-gradient(ellipse 35% 35% at 55%  5%, rgba(236,72,153,0.10)  0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 85% 40%, rgba(16,185,129,0.07)  0%, transparent 60%),
        #050714;
    animation: bgPulse 14s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.85; transform: scale(1.03); }
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}
