* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #141414;
    color: #FFFFFF;
    padding-bottom: 40px;
}

/* Header & Barra de Pesquisa Fixa */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(8px);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #E50914;
    text-decoration: none;
    letter-spacing: 1px;
}

.search-box input {
    background: #222;
    border: 1px solid #444;
    padding: 8px 14px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    width: 180px;
    transition: width 0.3s ease;
}

.search-box input:focus {
    width: 220px;
    border-color: #E50914;
}

/* Container de Conteúdo */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

h2 {
    margin: 20px 0 10px 0;
    font-size: 1.2rem;
    color: #E5E5E5;
    border-left: 4px solid #E50914;
    padding-left: 10px;
}

/* Grids de Mídia */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

@media (min-width: 768px) {
    .grid-cards {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

.card {
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    min-height: 100px;
    border: 1px solid #333;
    transition: transform 0.2s, border-color 0.2s;
}

.card:hover, .card:active {
    transform: translateY(-3px);
    border-color: #E50914;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    word-break: break-word;
}

.card-type {
    font-size: 0.75rem;
    color: #8c8c8c;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Estilos do Player */
.player-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
}

/* Seletores de Temporada e Episódio */
.select-box {
    margin: 15px 0;
}

select {
    width: 100%;
    padding: 12px;
    background: #222;
    color: #fff;
    border: 1px solid #444;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    margin-bottom: 10px;
}