/* ============================================================
   STUDIO WESTONIA — Custom Cursor
   ============================================================ */

.custom-cursor {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.custom-cursor__dot {
    position: fixed;
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    will-change: transform;
    transition: background 0.3s ease;
}

.custom-cursor__ring {
    position: fixed;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    will-change: transform;
    transition: width 0.3s ease, height 0.3s ease, top 0.3s ease, left 0.3s ease, border-color 0.3s ease;
}

.custom-cursor.is-hovering .custom-cursor__ring {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    border-color: var(--white);
}

.custom-cursor.is-hovering .custom-cursor__dot {
    background: var(--white);
}

/* Blue cursor on white/light backgrounds */
.custom-cursor.is-on-light .custom-cursor__dot {
    background: var(--blue);
}

.custom-cursor.is-on-light .custom-cursor__ring {
    border-color: rgba(0, 0, 255, 0.4);
}

.custom-cursor.is-on-light.is-hovering .custom-cursor__ring {
    border-color: var(--blue);
}

.custom-cursor.is-on-light.is-hovering .custom-cursor__dot {
    background: var(--blue);
}

@media (pointer: coarse) {
    .custom-cursor {
        display: none;
    }
}

@media (hover: none) {
    .custom-cursor {
        display: none;
    }
}
