/* Custom Cursor Styles */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, width 0.2s ease, height 0.2s ease;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5),
                0 0 40px rgba(102, 126, 234, 0.3),
                0 0 60px rgba(102, 126, 234, 0.1);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.6);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(102, 126, 234, 0.1);
}

/* Cursor hover states for interactive elements */
.cursor.hover .cursor-dot {
    width: 14px;
    height: 14px;
    background: #667eea;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.8),
                0 0 50px rgba(102, 126, 234, 0.5),
                0 0 70px rgba(102, 126, 234, 0.3);
}

.cursor.hover .cursor-outline {
    width: 50px;
    height: 50px;
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.2);
}

.cursor.click .cursor-dot {
    width: 16px;
    height: 16px;
    background: #764ba2;
}

.cursor.click .cursor-outline {
    width: 45px;
    height: 45px;
    border-color: #764ba2;
}

/* Trailing effect - additional circles that follow cursor */
.cursor-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.6);
    pointer-events: none;
    z-index: 9998;
    transition: opacity 0.3s ease;
}

/* Disable cursor on mobile devices */
@media (max-width: 768px), (pointer: coarse) {
    .cursor,
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
    
    body {
        cursor: default !important;
    }
}

