* {
    cursor: none !important;
}

body {
    user-select: none;
}

/* cuursor */
#cursor,
#cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
}

#cursor {
    width: 8px;
    height: 8px;
    background-color: #00ccff;
    mix-blend-mode: difference;
    transition: background-color 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

#cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid #00ccff;
    background-color: rgba(0, 204, 255, 0.08);
    animation: pulse 2s infinite ease-in-out;
    transition: all 0.15s ease;
    z-index: 9998;
}

.ripple {
    position: fixed;
    width: 10px;
    height: 10px;
    background: rgba(255, 0, 127, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    animation: rippleEffect 0.6s ease-out forwards;
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(8);
        opacity: 0;
    }
}

#cursor.active {
    transform: translate(-50%, -50%) scale(2);
    background-color: #00ccff;
}

#cursor-follower.active {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 204, 255, 0.2);
    border-color: #00ccff;
}

#cursor-follower.dragging {
    transform: translate(-50%, -50%) scale(1.7) rotate(20deg);
    border-color: orange;
}

.project figure {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.project figure img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.project figure:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

@media (max-width: 768px) {
    #cursor, #cursor-follower {
        width: 6px;
        height: 6px;
    }

    #cursor-follower {
        width: 30px;
        height: 30px;
    }

    .project figure img {
        transform: scale(1.05);
    }

    .ripple {
        width: 8px;
        height: 8px;
    }
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(6);
        opacity: 0;
    }
}