*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

body{
    background:#0d1117;
    color:#e6edf3;
}

.sidebar{
    background:#161b22;
    border-right:1px solid #30363d;
}

.card{
    background:#161b22;
    border:1px solid #30363d;
}

.button{
    background:#238636;
    color:white;
}

.layout{
    display:flex;
    min-height:100vh;
}



.logo{
    font-size:1.6rem;
    font-weight:700;
    margin-bottom:30px;
    color:white;
}

.sidebar a{
    display:block;
    color:#94a3b8;
    text-decoration:none;
    padding:12px;
    border-radius:10px;
    margin-bottom:6px;
    transition:.2s;
}

.sidebar a:hover{
    background:#1f2937;
    color:white;
}

.main{
    flex:1;
    padding:32px;
}

h1{
    margin-bottom:24px;
}



.big{
    font-size:3rem;
    font-weight:800;
    margin-top:8px;
}

.video-row{
    display:flex;
    gap:15px;
    align-items:center;
    padding:12px 0;
    border-bottom:1px solid #1f2937;
}

.video-row:last-child{
    border-bottom:none;
}

.video-card{
    display:flex;
    gap:20px;
    align-items:flex-start;
}

.video-info{
    flex:1;
}

.thumb{
    width:180px;
    border-radius:12px;
}

.stats{
    display:flex;
    gap:16px;
    margin:12px 0;
    color:#94a3b8;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:20px;
}



.button:hover{
    opacity:.9;
}

.input{
    width:100%;
    padding:12px;
    margin:12px 0;
    border-radius:10px;
    border:1px solid #334155;
    background:#0f172a;
    color:white;
}

.comment-author{
    font-weight:700;
    margin-bottom:8px;
}

.comment-text{
    color:#cbd5e1;
    line-height:1.6;
}

ul{
    padding-left:20px;
}

li{
    margin-bottom:8px;
}

@media(max-width:900px){

    .layout{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
        border-right:none;
        border-bottom:1px solid #1f2937;
    }

    .video-card{
        flex-direction:column;
    }

    .thumb{
        width:100%;
        max-width:320px;
    }

}
