/* Floating Elements Styles */
.floating-element {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    filter: blur(40px);
    opacity: 0.6;
    mix-blend-mode: screen;
}

/* Floating Element 1 */
.floating-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, 
        rgba(99, 102, 241, 0.8) 0%,
        rgba(99, 102, 241, 0.4) 50%,
        transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation: float-orbital-1 20s ease-in-out infinite;
    box-shadow: 
        0 0 100px rgba(99, 102, 241, 0.5),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
}

/* Floating Element 2 */
.floating-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse at center,
        rgba(255, 107, 107, 0.7) 0%,
        rgba(255, 107, 107, 0.3) 50%,
        transparent 70%);
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    bottom: 20%;
    right: 10%;
    animation: float-orbital-2 25s ease-in-out infinite reverse;
    box-shadow: 
        0 0 120px rgba(255, 107, 107, 0.4),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
}

/* Floating Element 3 */
.floating-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at 30% 30%,
        rgba(139, 92, 246, 0.6) 0%,
        rgba(139, 92, 246, 0.2) 50%,
        transparent 70%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    top: 60%;
    left: 15%;
    animation: float-orbital-3 18s ease-in-out infinite 2s;
    box-shadow: 
        0 0 80px rgba(139, 92, 246, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
}

/* Additional Floating Elements for Variety */
.floating-4 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center,
        rgba(16, 185, 129, 0.5) 0%,
        rgba(16, 185, 129, 0.2) 50%,
        transparent 70%);
    border-radius: 50%;
    top: 20%;
    right: 20%;
    animation: float-orbital-4 22s ease-in-out infinite 1s;
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.2);
}

.floating-5 {
    width: 200px;
    height: 200px;
    background: radial-gradient(ellipse at center,
        rgba(245, 158, 11, 0.4) 0%,
        rgba(245, 158, 11, 0.1) 50%,
        transparent 70%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 40%;
    left: 20%;
    animation: float-orbital-5 30s ease-in-out infinite;
    box-shadow: 0 0 70px rgba(245, 158, 11, 0.2);
}

/* Floating Animations */
@keyframes float-orbital-1 {
    0%, 100% {
        transform: 
            translate(0, 0) 
            rotate(0deg) 
            scale(1);
        border-radius: 50%;
    }
    25% {
        transform: 
            translate(100px, -50px) 
            rotate(90deg) 
            scale(1.1);
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }
    50% {
        transform: 
            translate(50px, -100px) 
            rotate(180deg) 
            scale(0.9);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    75% {
        transform: 
            translate(-50px, -50px) 
            rotate(270deg) 
            scale(1.05);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

@keyframes float-orbital-2 {
    0%, 100% {
        transform: 
            translate(0, 0) 
            rotate(0deg) 
            scale(1);
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }
    33% {
        transform: 
            translate(-150px, 80px) 
            rotate(120deg) 
            scale(1.2);
        border-radius: 50%;
    }
    66% {
        transform: 
            translate(100px, -100px) 
            rotate(240deg) 
            scale(0.8);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

@keyframes float-orbital-3 {
    0%, 100% {
        transform: 
            translate(0, 0) 
            rotate(0deg) 
            scale(1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    20% {
        transform: 
            translate(80px, 60px) 
            rotate(72deg) 
            scale(1.15);
        border-radius: 50%;
    }
    40% {
        transform: 
            translate(120px, -40px) 
            rotate(144deg) 
            scale(0.95);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    60% {
        transform: 
            translate(40px, -80px) 
            rotate(216deg) 
            scale(1.05);
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }
    80% {
        transform: 
            translate(-60px, 40px) 
            rotate(288deg) 
            scale(0.9);
        border-radius: 50%;
    }
}

@keyframes float-orbital-4 {
    0%, 100% {
        transform: 
            translate(0, 0) 
            scale(1);
        opacity: 0.6;
    }
    50% {
        transform: 
            translate(120px, -80px) 
            scale(1.3);
        opacity: 0.3;
    }
}

@keyframes float-orbital-5 {
    0% {
        transform: 
            translate(0, 0) 
            rotate(0deg);
    }
    25% {
        transform: 
            translate(150px, -60px) 
            rotate(90deg);
    }
    50% {
        transform: 
            translate(60px, -150px) 
            rotate(180deg);
    }
    75% {
        transform: 
            translate(-90px, -90px) 
            rotate(270deg);
    }
    100% {
        transform: 
            translate(0, 0) 
            rotate(360deg);
    }
}

/* Pulse Effects */
.floating-pulse {
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Interactive Floating Elements (for future use) */
.floating-interactive {
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-interactive:hover {
    transform: scale(1.2) !important;
    opacity: 0.8 !important;
    filter: blur(20px) !important;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .floating-1, .floating-2, .floating-3 {
        width: 200px;
        height: 200px;
    }
    
    .floating-4, .floating-5 {
        display: none;
    }
}

@media (max-width: 768px) {
    .floating-1, .floating-2, .floating-3 {
        width: 150px;
        height: 150px;
        filter: blur(30px);
    }
    
    .floating-1 {
        top: 15%;
        left: 5%;
    }
    
    .floating-2 {
        bottom: 15%;
        right: 5%;
    }
    
    .floating-3 {
        top: 70%;
        left: 10%;
    }
}

@media (max-width: 480px) {
    .floating-element {
        display: none;
    }
}