.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, opacity 0.3s ease;
    opacity: 0;
}



.custom-cursor.active {
    opacity: 1;
}

.cursor-arrow {
    width: 100%;
    height: 100%;
    stroke: var(--text-dark);
    fill: var(--primary-bg);
    /* Filled with background to look solid like a button */
    stroke-width: 2;
    stroke-linejoin: round;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Hard shadow like the explore button */
    filter: drop-shadow(4px 4px 0px var(--text-dark));
}

/* Hover state: Elevated feel */
.custom-cursor.hovering .cursor-arrow {
    transform: scale(1.15) translate(-2px, -2px);
    filter: drop-shadow(8px 8px 0px var(--rgba-black-40));
}

/* Specific state for active/click */
.custom-cursor.active-click .cursor-arrow {
    transform: scale(0.95) translate(2px, 2px);
    filter: drop-shadow(0px 0px 0px var(--text-dark));
}

/* Hide default cursor globally */
@media (min-width: 1024px) {
    body,
    a,
    button,
    .skill-bubble,
    .skill-icon,
    .island-link,
    .footer-link,
    .polaroid,
    #back-to-top {
        cursor: none !important;
    }
}
