/* ========================================
   NATAL.CSS - Combined Christmas Effects
   Snowflakes + Stars + Cursor Trail
   ======================================== */

/* Snowflakes Animation */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -50px;
    color: #fff;
    user-select: none;
    cursor: default;
    animation: fall linear infinite;
    opacity: 0;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Twinkling falling stars */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.star {
    position: absolute;
    top: -30px;
    user-select: none;
    cursor: default;
    animation: starFall linear infinite, twinkle ease-in-out infinite;
    opacity: 0;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 1))
            drop-shadow(0 0 8px rgba(255, 215, 0, 0.9))
            drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes starFall {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.7);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
    }
    85% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(100vh) rotate(360deg) scale(1);
        opacity: 0;
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.6;
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8))
                drop-shadow(0 0 6px rgba(255, 215, 0, 0.7))
                drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 1))
                drop-shadow(0 0 12px rgba(255, 215, 0, 1))
                drop-shadow(0 0 18px rgba(255, 215, 0, 0.8));
    }
}

/* Cursor sparkle trail */
.cursor-trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
    overflow: hidden;
}

.cursor-sparkle {
    position: absolute;
    pointer-events: none;
    user-select: none;
    animation: sparkleFloat 1s ease-out forwards;
    filter: drop-shadow(0 0 3px currentColor);
}

@keyframes sparkleFloat {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(0, -30px) scale(0.3) rotate(180deg);
    }
}
