/* Custom Cursor Styles */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    animation: cursorGradient 3s ease infinite;
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: cursorPulse 2s ease-in-out infinite;
}

.custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: cursorDot 1.5s ease-in-out infinite;
}

/* Hide default cursor */
* {
    cursor: none !important;
}

/* Cursor hover effects */
.custom-cursor.hover {
    transform: scale(1.5);
    background: linear-gradient(45deg, #ff9a9e, #fecfef, #fecfef);
}

.custom-cursor.click {
    transform: scale(0.8);
    background: linear-gradient(45deg, #667eea, #764ba2);
}

/* Animations */
@keyframes cursorGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes cursorPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes cursorDot {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Responsive cursor for mobile devices */
@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
    
    * {
        cursor: auto !important;
    }
}
