/* Professional Animation Styles - Subtle and Performance-Optimized */

/* Remove custom cursor styles */
.custom-cursor,
.cursor-trail {
    display: none !important;
}

/* Restore default cursor */
body {
    cursor: auto !important;
}

/* Simple fade-in animation */
.fade-in-ready {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

/* Movie card animations - subtle */
.movie-card {
    opacity: 1 !important;
    transform: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Image loading states */
.poster img {
    transition: opacity 0.3s ease;
    opacity: 1;
}

.poster-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Remove heavy image effects */
.image-placeholder {
    display: none;
}

/* Button animations - professional */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

/* Simple ripple effect */
.simple-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: simple-ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes simple-ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Remove btn-bg-animation */
.btn-bg-animation {
    display: none !important;
}

/* Genre and rating hover effects - subtle */
.genre {
    transition: all 0.2s ease;
}

.genre:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rating-item {
    transition: transform 0.2s ease;
}

.rating-item:hover {
    transform: scale(1.05);
}

/* Remove heavy glow effects */
.rating-item::before,
.genre::before {
    display: none !important;
}

/* Streaming provider hover - simple */
.provider {
    transition: transform 0.2s ease;
}

.provider:hover {
    transform: scale(1.1);
}

.provider::after {
    display: none !important;
}

/* Title animation - remove heavy effects */
.title-letter {
    animation: none !important;
    transform: none !important;
}

.char {
    display: inline !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Loading animation - keep it simple */
.loading {
    position: relative;
}

.loading::before {
    display: none !important;
}

/* Modal animations - subtle */
.dinner-time-modal,
.search-modal,
.preference-modal {
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

/* Toast notifications - professional */
.toast {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Remove parallax and 3D transforms */
* {
    transform-style: flat !important;
    perspective: none !important;
}

/* Professional focus states */
button:focus,
select:focus,
input:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Smooth transitions for theme switching */
body,
.movie-card,
.btn,
.genre {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Remove heavy gradient animations */
.gradient-background {
    animation: none !important;
    transition: none !important;
}

/* Professional loading states */
.loading-container {
    background: rgba(0, 0, 0, 0.9);
}

/* Remove ambient light effects */
.ambient-light {
    display: none !important;
}

/* Heart particle - keep but simplify */
.heart-particle {
    animation: simple-float 1.5s ease-out;
}

@keyframes simple-float {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

/* Disable heavy scroll effects */
.movie-card,
.fade-in-scroll {
    scroll-behavior: auto !important;
}

/* Professional typography */
.typewriter {
    animation: none !important;
}

.typewriter::after {
    display: none !important;
}

/* Performance optimizations */
* {
    will-change: auto !important;
}

.btn,
.movie-card:hover,
.genre:hover {
    will-change: transform;
}

/* Ensure images load properly */
img[data-src] {
    min-height: 200px;
    background: #333;
}

/* Fix for lazy-loaded images */
.lazy-image {
    display: block;
    width: 100%;
    height: auto;
}
