﻿body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    background: #0f0f0f;
    color: #fff;
}

.video-responsive {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.page {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    gap: 16px;
}

.main-video {
    flex: 2;
}

.sidebar {
    flex: 1;
}

.video-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-title {
    margin-top: 12px;
    font-size: 22px;
}

.video-meta {
    color: #aaa;
    font-size: 13px;
    margin-top: 4px;
}

.video-actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.video-actions button {
    background: #272727;
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 13px;
}

.video-description {
    margin-top: 12px;
    background: #1f1f1f;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}

.comments {
    margin-top: 20px;
}

.sidebar h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.video-card {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    color: white;
}

.video-card img {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.video-card-info .title {
    font-size: 14px;
    font-weight: 600;
}

.video-card-info .channel,
.video-card-info .views {
    font-size: 12px;
    color: #aaa;
}
/* Responsive */

@media (max-width: 900px) {
    .page {
        flex-direction: column;
    }

    .sidebar {
        order: 2;
    }
}
