/* field-motion.css */
/* Ambient particle system and field canvas styles */

.field-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

.ambient-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 7px;
    height: 7px;
    background: radial-gradient(circle, var(--accent-secondary, #BCD8C1), transparent);
    border-radius: 50%;
    opacity: 0.7;
    animation: particleDrift 25s infinite linear;
}

@keyframes particleDrift {
    0% { 
        transform: translateY(100vh) translateX(0); 
        opacity: 0; 
    }
    10% { 
        opacity: 0.6; 
    }
    90% { 
        opacity: 0.6; 
    }
    100% { 
        transform: translateY(-120px) translateX(80px); 
        opacity: 0; 
    }
}

/* Ensure main content appears above field canvas */
body {
    position: relative;
    z-index: 1;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .field-canvas {
        opacity: 0.3;
    }
    
    .particle {
        animation-duration: 60s;
    }
    
    @keyframes particleDrift {
        0% { 
            transform: translateY(100vh); 
            opacity: 0; 
        }
        50% { 
            opacity: 0.4; 
        }
        100% { 
            transform: translateY(-120px); 
            opacity: 0; 
        }
    }
}