/* ============================================ */
/* GLOBAL TEXTILE-INSPIRED ELEMENTS */
/* ============================================ */

/* Subtle fabric texture overlay */
.fabric-texture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(201, 184, 150, 0.008) 3px,
            rgba(201, 184, 150, 0.008) 6px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(201, 184, 150, 0.008) 3px,
            rgba(201, 184, 150, 0.008) 6px
        );
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

/* ============================================ */
/* VISIBLE THREAD CURSOR WITH TRAIL */
/* ============================================ */

/* Thick cursor pointer */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="7" fill="%23d4af37" opacity="0.9"/><circle cx="16" cy="16" r="4.5" fill="%23d4af37"/><circle cx="16" cy="16" r="2" fill="%23f4e4c1"/></svg>') 16 16, auto;
}

a, button, .cta-button, .nav-links a {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><circle cx="18" cy="18" r="8" fill="%231976d2" opacity="0.8"/><circle cx="18" cy="18" r="5" fill="%23d4af37"/><circle cx="18" cy="18" r="2.5" fill="%23f4e4c1"/></svg>') 18 18, pointer;
}

/* Thread trail container */
.thread-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.thread-trail-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.8), transparent);
    border-radius: 50%;
    pointer-events: none;
    animation: threadFade 0.6s ease-out forwards;
}

@keyframes threadFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}