body {
    margin: 0;
    background-color: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.movies-header, .tvshows-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #333;
    position: relative;
}

.back-button {
    color: #fff;
    font-size: 1.2em;
    margin-right: 15px;
    text-decoration: none;
}

.movies-header h2, .tvshows-header h2 {
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

.movies-content, .tvshows-content {
    padding: 20px;
}

.genre-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.genre-button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.genre-button.active {
    background-color: #e50914;
}

.genre-button:hover {
    background-color: #444;
}

.movie-grid, .tvshow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.movie-card, .tvshow-card {
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.movie-card img, .tvshow-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.movie-details, .tvshow-details {
    padding: 10px;
}

.movie-title, .tvshow-title {
    margin: 0;
    font-size: 0.9em;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-rating, .tvshow-rating {
    margin: 5px 0 0;
    font-size: 0.8em;
    color: #ffd700;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(27, 25, 25, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
}

.bottom-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
}

.bottom-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-nav li.active a,
.bottom-nav li a:hover {
    color: #fff;
}

.bottom-nav li i {
    font-size: 1.5em;
    margin-bottom: 0;
    transition: transform 0.3s ease;
}

.bottom-nav li a:hover i {
    transform: scale(1.2);
}

