/* Hero 3D Effects */

/* 3D Float Animation */
@keyframes float-3d {
    0%, 100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    50% {
        transform: translateY(-20px) rotateX(5deg) rotateY(-5deg);
    }
}

.animate-float-3d {
    animation: float-3d 8s ease-in-out infinite;
}

/* Perspective */
.perspective-1000 {
    perspective: 1000px;
}

/* 3D Card Effects */
.card-3d {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: translateY(-15px) scale(1.02) rotateX(2deg) rotateY(2deg);
}

/* Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 10;
}

.card-3d:hover .card-shine {
    opacity: 1;
}

/* Blob Animations */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.8;
    mix-blend-mode: multiply;
    animation: blob-bounce 10s infinite ease-in-out alternate;
}

@keyframes blob-bounce {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(30px, -30px) scale(1.15);
    }
}

.blob-1 {
    top: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background: rgba(212, 0, 246, 0.3);
    animation-delay: 0s;
}

.blob-2 {
    bottom: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: rgba(67, 19, 135, 0.4);
    animation-delay: -2s;
}

.blob-3 {
    top: 40%;
    left: 30%;
    width: 400px;
    height: 400px;
    background: rgba(255, 155, 36, 0.2);
    animation-delay: -4s;
}

/* Floating Banner */
.floating-banner {
    position: absolute;
    top: 15%;
    left: 5%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    z-index: 20;
    animation: float-3d 6s ease-in-out infinite;
}

/* Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float-particle ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

/* Gradient Text Animation */
.animate-gradient {
    background-size: 300% 300%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.bg-300\% {
    background-size: 300% 300%;
}

/* Bounce Slow */
@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 2s infinite;
}
