body {
    background-color: #0f0f1a;
    color: white;
}

.movie-card {
    aspect-ratio: 2/3;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    width: 140px;
    height: 210px;
    flex-shrink: 0;
    cursor: pointer;
}

.movie-card.show {
    opacity: 1;
    transform: translateY(0);
}

.movie-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    font-size: 0.75rem;
    line-height: 1rem;
}

.bottom-nav {
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(10px);
}

.container {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-container {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px;
    margin: -4px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.movie-row {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    padding-bottom: 4px;
}

/* Ensure consistent sizing for grid layout */
.grid .movie-card {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
}