/* --- High Performance CSS Animation Frames (60FPS Target) --- */

@keyframes lineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Element Smooth Upwards Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Elements Mouse Parallax Framework */
.layer {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 117, 151, 0.1), transparent);
    pointer-events: none;
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    left: -20px;
    animation: floatVertical 6s ease-in-out infinite alternate;
}

.shape-2 {
    width: 40px;
    height: 40px;
    bottom: 15%;
    right: -10px;
    animation: floatVertical 4s ease-in-out infinite alternate-reverse;
}

@keyframes floatVertical {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(10deg); }
}

/* Accessibility: Respect Reduction Motion Criteria */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .layer, .floating-glow, .custom-cursor {
        animation: none !important;
        display: none !important;
    }
}