body{
    margin:0;
    font-family:Arial,sans-serif;
    background:#f5f5f5;
}

header{
    background:#ff0000;
    color:white;
    padding:15px;
}

.container{
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:250px;
    background:white;
    padding:20px;
    border-right:1px solid #ddd;
}

.sidebar ul{
    list-style:none;
    padding:0;
}

.sidebar li{
    margin-bottom:10px;
}

.sidebar button{
    width:100%;
    padding:10px;
    border:none;
    background:#ff0000;
    color:white;
    cursor:pointer;
}

.sidebar button:hover{
    opacity:.9;
}

main{
    flex:1;
    padding:20px;
}

.video-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fill,minmax(250px,1fr));
    gap:20px;
}

.video-card{
    background:white;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.1);
}

.video-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.video-card h4{
    padding:10px;
    color:#333;
    font-size:14px;
}

.video-card a{
    text-decoration:none;
}

.player-wrapper{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:20px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
}

#youtubePlayer{
    width:100%;
    border:none;
    background:#000;
}

.video-title{
    padding:15px;
    font-size:18px;
    font-weight:600;
}

.empty-message{
    text-align:center;
    padding:40px;
    background:#fff;
    border-radius:10px;
}

.load-more-btn{
    display:block;
    width:100%;
    padding:15px;
    margin:20px 0;
    border:none;
    cursor:pointer;
    border-radius:8px;
    font-size:16px;
}

.loading,
.end-message{
    text-align:center;
    padding:20px;
}

.video-card{
    cursor:pointer;
}