/* Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #141414;
    color: #ffffff;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo {
    color: #E50914;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}

.menu a {
    color: #e5e5e5;
    text-decoration: none;
    margin-right: 20px;
    font-size: 14px;
    transition: 0.3s;
}

.menu a:hover, .menu a.active {
    color: #ffffff;
    font-weight: bold;
}

.busca input {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px solid #808080;
    padding: 7px 15px;
    border-radius: 4px;
    outline: none;
}

/* Banner Principal */
.banner-principal {
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.2)), 
                url('https://unsplash.com') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    padding: 0 4%;
}

.banner-conteudo {
    max-width: 600px;
}

.banner-conteudo h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.banner-conteudo p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-assistir {
    background-color: #E50914;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-assistir:hover {
    background-color: #b81d24;
}

/* Catálogo de Filmes */
.catalogo {
    padding: 40px 4%;
}

.catalogo h2 {
    margin-bottom: 20px;
    font-size: 22px;
}

.grade-filmes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.filme-card {
    background-color: #181818;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

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

.filme-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.filme-info {
    padding: 12px;
}

.filme-info h3 {
    font-size: 14px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filme-info span {
    font-size: 12px;
    color: #aaa;
}
