/* Custom Cursor Animation Styles */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: opacity 0.3s ease;
}

.cursor-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #d9d9d9;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10001;
}

.cursor-outline {
    display: none;
}

/* Hover states - Single circle grows to 100px from center */
.custom-cursor.cursor-hover .cursor-dot {
    width: 100px;
    height: 100px;
    background-color: #d9d9d9;
}

/* Special hover state for project cards and interactive elements */
.custom-cursor.cursor-special .cursor-dot {
    width: 100px;
    height: 100px;
    background-color: #d9d9d9;
}

/* Hide default cursor on interactive elements */
body.custom-cursor-active {
    cursor: none;
}

body.custom-cursor-active *,
body.custom-cursor-active a,
body.custom-cursor-active button,
body.custom-cursor-active [role="button"] {
    cursor: none !important;
}

/* Responsive - Hide on mobile and tablet */
@media (max-width: 768px) {
    .custom-cursor {
        display: none !important;
    }
    
    body.custom-cursor-active,
    body.custom-cursor-active * {
        cursor: auto !important;
    }
}

/* Animation for cursor entrance */
@keyframes cursorFadeIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.custom-cursor {
    animation: cursorFadeIn 0.3s ease-out;
}

/* Smooth cursor trail effect */
.cursor-dot {
    box-shadow: 0 0 10px rgba(217, 217, 217, 0.3);
}
