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

body {
    font-family: Arial, sans-serif;
    background: #1a1a1a;
    color: #fff;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

.controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

input, button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

input {
    background: #333;
    color: #fff;
    width: 200px;
}

button {
    background: #4CAF50;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #45a049;
}

button:disabled {
    background: #666;
    cursor: not-allowed;
}

.videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.video-container {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 15px;
    position: relative;
}

video {
    width: 100%;
    border-radius: 5px;
    background: #000;
}

.video-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
}

@media screen and (max-width: 400px) {
    .videos {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}
