
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --bg:#0b0b0b;
    --card:#181818;
    --card-hover:#222;
    --text:#fff;
    --text2:#b3b3b3;
    --red:#e50914;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
}

img{
    user-select:none;
    pointer-events:none;
}

.hero{
    position:relative;
    width:100%;
    height:85vh;
    overflow:hidden;
}

.hero::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(to top,#0b0b0b 5%,transparent 45%),
    linear-gradient(to right,#0b0b0bdd 20%,transparent 60%);
}

.hero img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-content{
    position:absolute;
    left:5%;
    bottom:10%;
    z-index:5;
    max-width:650px;
}

.series-logo{
    width:420px;
    max-width:90%;
    margin-bottom:1.5rem;
    object-fit:contain;
}

.hero-content p{
    font-size:1.05rem;
    line-height:1.7;
    color:#f0f0f0;
    margin-bottom:2rem;
}

.hero-buttons{
    display:flex;
    gap:1rem;
    flex-wrap:wrap;
}

.hero-buttons button{
    border:none;
    outline:none;
    cursor:pointer;
    border-radius:8px;
    font-weight:700;
    font-size:1rem;
    padding:1rem 1.8rem;
    transition:.2s;
}

.play-btn{
    background:#fff;
    color:#000;
}

.play-btn:hover{
    background:#dcdcdc;
}

.info-btn{
    background:#444444c4;
    color:#fff;
}

.info-btn:hover{
    background:#5c5c5cc4;
}

.content{
    width:100%;
    padding:2rem 4%;
    margin-top:-120px;
    position:relative;
    z-index:10;
}

.details{
    display:flex;
    align-items:center;
    gap:1rem;
    flex-wrap:wrap;
    margin-bottom:2rem;
}

.match{
    color:#46d369;
    font-weight:700;
}

.age{
    border:1px solid #777;
    padding:.2rem .45rem;
    border-radius:4px;
    color:#ddd;
}

.season-selector{
    margin-bottom:2rem;
}

.season-selector select{
    background:#111;
    color:#fff;
    border:1px solid #444;
    padding:.9rem 1rem;
    border-radius:6px;
    font-size:1rem;
    min-width:220px;
    outline:none;
}

.episodes-grid{
    display:flex;
    flex-direction:column;
    gap:1rem;
}

.episode-card{
    width:100%;
    background:var(--card);
    border-radius:12px;
    overflow:hidden;
    display:flex;
    align-items:center;
    gap:1.3rem;
    padding:1rem;
    cursor:pointer;
    transition:.2s ease;
    border:1px solid transparent;
}

.episode-card:hover{
    background:var(--card-hover);
    border-color:#333;
    transform:scale(1.01);
}

.thumb{
    width:340px;
    aspect-ratio:16/9;
    border-radius:10px;
    overflow:hidden;
    flex-shrink:0;
    position:relative;
}

.thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.play-overlay{
    position:absolute;
    inset:0;
    background:#00000070;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:.2s;
}

.episode-card:hover .play-overlay{
    opacity:1;
}

.play-overlay svg{
    width:65px;
    height:65px;
    fill:#fff;
}

.episode-info{
    width:100%;
}

.episode-top{
    display:flex;
    justify-content:space-between;
    gap:1rem;
    margin-bottom:.7rem;
    align-items:center;
}

.episode-number{
    color:#999;
    font-size:1.05rem;
    min-width:40px;
}

.episode-title{
    font-size:1.1rem;
    font-weight:700;
    width:100%;
}

.duration{
    color:#b3b3b3;
    white-space:nowrap;
}

.synopsis{
    color:var(--text2);
    line-height:1.7;
    font-size:.97rem;
}

@media(max-width:900px){

    .hero{
        height:70vh;
    }

    .hero-content{
        max-width:90%;
    }

    .episode-card{
        flex-direction:column;
        align-items:flex-start;
    }

    .thumb{
        width:100%;
    }

}

@media(max-width:600px){

    .hero-content p{
        font-size:.95rem;
    }

    .hero-buttons button{
        width:100%;
    }

    .content{
        padding:2rem 1rem;
    }

}