body {
    margin: 0;
    font-family: Arial;
    background: #0f172a;
    color: white;
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

h1 {
    text-align: center;
}

/* Top controls */
.controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

input,
select {
    padding: 12px;
    border-radius: 8px;
    border: none;
    flex: 1;
}

button {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: #22c55e;
    cursor: pointer;
    color: white;
}

/* show info */
.info {
    display: none;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.info img {
    width: 120px;
    border-radius: 10px;
}

/* episodes */
.episodes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.ep {
    background: #1e293b;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
}

/* player */
.player {
    position: relative;
    height: 400px;
    margin-top: 15px;
    background: black;
    border-radius: 12px;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

.spinner {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
}

/* hidden */
.hidden {
    display: none;
}