/* Animated Background Gradient */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f6f6f8 0%, #e8e8f0 100%);
}

.dark .animated-bg {
    background: linear-gradient(135deg, #161022 0%, #0d0816 100%);
}

/* Animated Gradient Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 10s ease-in-out infinite;
}

.dark .blob {
    opacity: 0.2;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #5b13ec 0%, #8b5cf6 100%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    top: 50%;
    right: -5%;
    animation-delay: 5s;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #06b6d4 0%, #5b13ec 100%);
    bottom: -10%;
    left: 20%;
    animation-delay: 10s;
}

.blob-4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    top: 20%;
    right: 30%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 50px) scale(0.9);
    }
    75% {
        transform: translate(70px, 30px) scale(1.05);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blob {
        filter: blur(60px);
    }
    
    .blob-1 {
        width: 300px;
        height: 300px;
    }
    
    .blob-2 {
        width: 250px;
        height: 250px;
    }
    
    .blob-3 {
        width: 280px;
        height: 280px;
    }
    
    .blob-4 {
        width: 220px;
        height: 220px;
    }
}
