/* Hide the normal cursor on desktop */
html,
body,
body *,
a,
button,
input,
textarea,
select,
[role="button"] {
    cursor: none !important;
}

/* Mouse-following blurred light */
#mp-mouse-light {
    position: fixed !important;
    top: 0;
    left: 0;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: radial-gradient(
    circle,
    rgba(0, 149, 255, 0.10) 0%,
    rgba(0, 149, 255, 0.08) 30%,
    rgba(0, 149, 255, 0.04) 55%,
    rgba(0, 149, 255, 0) 75%
);

    filter: blur(55px);

    transform: translate(-50%, -50%);
    pointer-events: none !important;

    /* Above website sections, below cursor */
    z-index: 999990 !important;

    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;

    will-change: transform;
}

/* White cursor dot */
#mp-cursor-dot {
    position: fixed !important;
    top: 0;
    left: 0;

    width: 5px;
    height: 5px;

    background: #ffffff;
    border-radius: 50%;

    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);

    transform: translate(-50%, -50%);
    pointer-events: none !important;

    z-index: 999999 !important;

    will-change: transform;
}

/* Blue trailing circle */
#mp-cursor-ring {
    position: fixed !important;
    top: 0;
    left: 0;

    width: 22px;
    height: 22px;

    border: 2px solid #0095ff;
    border-radius: 50%;

    background: rgba(0, 149, 255, 0.08);

    transform: translate(-50%, -50%);
    pointer-events: none !important;

    z-index: 999998 !important;

    transition:
        width 0.25s ease,
        height 0.25s ease,
        background-color 0.25s ease;

    will-change: transform;
}

#mp-cursor-ring.hover {
    width: 48px;
    height: 48px;
    background: rgba(0, 149, 255, 0.18);
}

/*
Only disable the dot and ring on genuine touch-only devices.
Do not include the light here while testing.
*/
@media (hover: none) and (pointer: coarse) {
    html,
    body,
    body *,
    a,
    button,
    input,
    textarea,
    select,
    [role="button"] {
        cursor: auto !important;
    }

    #mp-cursor-dot,
    #mp-cursor-ring {
        display: none !important;
    }
}

#mp-ambient-light {
    position: fixed;

    left: 50%;
    top: 50%;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(0,149,255,.12) 0%,
        rgba(0,149,255,.05) 40%,
        rgba(0,149,255,0) 75%
    );

    filter: blur(140px);

    transform: translate(-50%, -50%);

    pointer-events: none;

    z-index: 1;
}