/* Main Styles */
body {
    background-color: #1a1625;
    color: white;
    font-family: 'Prompt', sans-serif;
}

/* Movie Card Styles */
.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
}

.movie-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0.5rem;
}

.movie-card:hover img {
    transform: scale(1.05);
}

.movie-tag {
    position: relative;
    padding: 0.5rem;
    background: rgba(26, 22, 37, 1);
    color: white;
    font-size: 0.875rem;
    text-align: center;
    margin-top: 0;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Featured Movie Styles */
.featured-movie {
    position: relative;
}

.featured-movie-title {
    position: absolute;
    bottom: 2rem;
    left: 1rem;
    color: #8eff8e;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.watch-button {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: #ff4081;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: bold;
}

/* Search Bar Styles */
.search-bar {
    position: relative;
    width: 100%;
}

.search-bar input {
    width: 100%;
    background-color: #3a2f4b;
    border-radius: 9999px;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    color: white;
    border: none;
    outline: none;
}

.search-bar button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Section Titles */
.section-title {
    color: #ff4081;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1625;
    border-top: 1px solid #3a2f4b;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.75rem;
}

.nav-item.active {
    color: #ff4081;
}

.nav-item:hover {
    color: #ff4081;
}

.nav-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: 0.25rem;
}

/* Responsive Adjustments */
@media (min-width: 640px) {
    .container {
        max-width: 640px;
        margin: 0 auto;
    }
    
    .movie-card .movie-tag {
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
    
    body {
        padding-bottom: 5rem; /* Increase padding for footer on larger screens */
    }
    
    .movie-card:hover img {
        transform: scale(1.08);
    }
    
    .movie-card .movie-tag {
        padding: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
    
    .movie-card img {
        transition: transform 0.4s ease, filter 0.3s ease;
    }
    
    .movie-card:hover img {
        filter: brightness(1.1);
    }
    
    /* Improve search bar for desktop */
    .search-bar input {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}