/**
 * Custom Cursor Styles
 * The Heart of Gold
 */

/* Hide default cursor when custom is active */
body.custom-cursor-active,
body.custom-cursor-active * {
    cursor: none !important;
}

/* Custom Cursor Element */
.custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-2px, -2px);
    transition: transform 100ms ease;
    will-change: transform, left, top;
}

.cursor-image {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* Hover state */
.custom-cursor.hovering {
    transform: translate(-2px, -2px) scale(1.15);
}

/* Particle Container */
.particle-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: calc(var(--z-cursor) - 1);
    overflow: hidden;
}

/* Cursor Particles */
.cursor-particle {
    position: fixed;
    background: linear-gradient(135deg, #fff8e7, #ffd6f0);
    pointer-events: none;
    border-radius: 1px;
    box-shadow: 0 0 6px 2px rgba(255, 214, 240, 0.6);
    will-change: transform, opacity;
}

/* Disable custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .particle-container {
        display: none !important;
    }
    
    body.custom-cursor-active,
    body.custom-cursor-active * {
        cursor: auto !important;
    }
}
