/* ============================================
   SHOOTING STAR CURSOR - THE GUIDING LIGHT
   "We saw his star when it rose and have come to worship him" - Matthew 2:2
   A celestial phenomenon, not a cartoon
   ============================================ */

/* Hide default cursor throughout the app - but NOT on the container */
.app-container * {
    cursor: none !important;
}

/* Restore pointer events for interactive elements */
.app-container button,
.app-container a,
.app-container input,
.app-container textarea,
.app-container select,
.app-container [role="button"],
.app-container .plot-point {
    pointer-events: auto !important;
}

/* The shooting star itself - minimal, elegant */
.shooting-star-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    mix-blend-mode: screen;
    will-change: transform;
}

/* The core star - a circular celestial point */
.star-core {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 251, 235, 0.95) 30%,
        rgba(226, 201, 144, 0.8) 70%,
        transparent 100%
    );
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 16px rgba(226, 201, 144, 0.7),
        0 0 24px rgba(201, 169, 97, 0.4);
}

/* Particle trail - stardust left behind */
.star-particle {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    mix-blend-mode: screen;
    animation: particleFade 0.8s ease-out forwards;
}

@keyframes particleFade {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translateY(8px);
    }
}

/* Dreamy residue - longer-lasting glow trail */
.star-residue {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at center,
        rgba(226, 201, 144, 0.7) 0%,
        rgba(201, 169, 97, 0.4) 50%,
        transparent 100%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    animation: residueFade 1.5s ease-out forwards;
}

@keyframes residueFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translateY(15px);
    }
}

/* Path illumination - soft glow that lights the way */
.star-path-glow {
    position: fixed;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at center,
        rgba(226, 201, 144, 0.15) 0%,
        rgba(201, 169, 97, 0.08) 50%,
        transparent 100%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: screen;
    animation: pathGlowFade 2s ease-out forwards;
    transform: translate(-50%, -50%);
}

@keyframes pathGlowFade {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}

/* Enhanced glow on interactive elements */
.app-container button:hover,
.app-container a:hover,
.app-container .plot-point:hover {
    filter: drop-shadow(0 0 6px rgba(226, 201, 144, 0.3));
    transition: filter 0.3s ease;
}
