@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Custom scrollbar hiding for carousels */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Movie card styling and zoom animation */
.movie-card {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s, border 0.3s;
    transform-origin: center center;
    will-change: transform;
}

.movie-card:hover {
    transform: scale(1.05); /* Slight pop out */
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.movie-card img {
    transition: opacity 0.3s ease;
}

.movie-card:hover img {
    opacity: 0.7;
}

/* Modal Open state lock scroll */
body.modal-open {
    overflow: hidden;
}

/* Iframe responsiveness */
.iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Text Shadow for better contrast */
.text-shadow-heavy {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

/* Modal Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.animate-modal {
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hover effect on scroll buttons */
.row-container {
    scroll-behavior: smooth;
}
