@keyframes screen-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lock-pop {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes particle-rise {
    0% { opacity: 0; transform: translateY(0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-2rem); }
}

.cloud--1 { animation: cloud-drift 50s linear infinite; }
.cloud--2 { animation: cloud-drift 62s linear infinite reverse; }
.cloud--3 { animation: cloud-drift 75s linear infinite; }

@keyframes cloud-drift {
    from { transform: translateX(0); }
    to { transform: translateX(8vw); }
}

.sun-btn.is-awake {
    animation: sun-pulse 1.2s ease;
}

@keyframes sun-pulse {
    0%, 100% { box-shadow: 0 0 40px rgba(255, 200, 120, 0.45); }
    50% { box-shadow: 0 0 70px rgba(255, 200, 120, 0.7); }
}

.quote-screen.is-revealed {
    animation: quote-glow 0.9s ease;
}

@keyframes quote-glow {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .screen,
    .message-reveal,
    .quote-screen.is-revealed,
    .unlock-anim__lock {
        animation: none;
    }

    .cloud--1,
    .cloud--2,
    .cloud--3 {
        animation: none;
    }

    .sun-btn.is-awake {
        animation: none;
    }

    .btn,
    .choice-btn,
    .sun-btn,
    .progress-stars__star {
        transition: none;
    }
}
