* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #111;
    color: #fff;
    font-family: Arial, sans-serif;
}

button,
input {
    font: inherit;
}

.catalogo {
    display: grid;
    grid-template-columns: 45% 55%;
    height: 100vh;
}

.lista {
    padding: 20px;
    overflow-y: auto;
    border-right: 1px solid #333;
}

#pesquisa {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #222;
    color: #fff;
    border: 1px solid #444;
    border-radius: 5px;
    outline: none;
}

.anime-item {
    padding: 12px;
    cursor: pointer;
    border-radius: 5px;
}

.anime-item:hover,
.anime-item.ativo {
    background: #333;
}

.selecionado {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

#capa {
    width: 300px;
    max-width: 80%;
    max-height: 65vh;
    object-fit: cover;
    border-radius: 8px;
}

#titulo {
    margin: 20px 0;
}

button {
    background: #333;
    color: #fff;
    border: 0;
    padding: 10px 16px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover,
button.ativo {
    background: #555;
}

#assistir {
    font-size: 16px;
    padding: 12px 30px;
}

.anime-page {
    padding: 20px;
}

.temporadas,
.episodios {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 700px) {
    .catalogo {
        grid-template-columns: 1fr;
        height: auto;
    }

    .lista {
        border-right: 0;
        border-bottom: 1px solid #333;
        max-height: 50vh;
    }

    .selecionado {
        min-height: 50vh;
    }
}