*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:#111;
    color:#fff;
    font-family:Arial,sans-serif;
}

.header{
    background:#181818;
    border-bottom:1px solid #333;
    padding:15px 25px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.logo{
    font-size:28px;
    font-weight:bold;
    color:#f1c40f;
    white-space:nowrap;
}

.search-form{
    flex:1;
    text-align:center;
    position:relative;
}

.search-form input{
    width:350px;
    max-width:100%;
    padding:10px 40px 10px 10px;
    border-radius:20px;
    border:1px solid #333;
    background:#222;
    color:#fff;
}

.menu{
    display:flex;
    gap:15px;
}

.menu a{
    color:#fff;
    text-decoration:none;
}

.menu a:hover{
    color:#f1c40f;
}

.container{
    max-width:1400px;
    margin:auto;
    padding:20px;
}

.layout{
    display:flex;
    gap:20px;
}

.player-column{
    flex:2;
}

.playlist-column{
    flex:1;
}

.video-box{
    background:#000;
    border-radius:12px;
    overflow:hidden;
}

video{
    width:100%;
    display:block;
}

.video-title{
    font-size:22px;
    line-height:1.3;
    margin-top:15px;
    margin-bottom:10px;
    color:#f1c40f;
}

.video-stats{
    color:#999;
    margin-top:10px;
    margin-bottom:15px;
}

.description{
    color:#ccc;
    line-height:1.6;
}

.sidebar-title{
    color:#f1c40f;
    margin-bottom:15px;
}

.playlist-item{
    display:flex;
    gap:10px;
    text-decoration:none;
    color:#fff;
    background:#1a1a1a;
    padding:10px;
    border-radius:8px;
    margin-bottom:10px;
    transition:.2s;
}

.playlist-item:hover{
    background:#252525;
}

.playlist-item.active{
    border:2px solid #f1c40f;
}

.playlist-thumb{
    width:160px;
    flex-shrink:0;
}

.playlist-thumb img{
    width:100%;
    display:block;
    border-radius:6px;
}

.playlist-title{
    font-size:14px;
    line-height:1.4;
}

@media (max-width:900px){

    .logo{
        font-size:16px;
    }

    .header{
        flex-wrap:wrap;
    }

    .search-form{
        width:100%;
        order:2;
    }

    .menu{
        width:100%;
        justify-content:center;
        order:3;
    }

    .layout{
        flex-direction:column;
    }

    .playlist-thumb{
        width:120px;
    }
}
