﻿:root {
    --bg-color: #1d9455;
    --card-bg: #0ab95c;
    --text-color: #f8fafc;
    --primary: #38bdf8;
    --primary-hover: #0ea5e9;
    --btn-bg: #1d9455;
}

.videoGallery-container {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    margin-bottom: 2rem;
    color: var(--primary);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.video-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.video-title {
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

video {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 1rem;
}

button {
    background-color: var(--btn-bg);
    color: var(--text-color);
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

    button:hover {
        background-color: var(--primary);
    }

.pagination {
    margin-top: 3rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-btn {
    padding: 0.5rem 1rem;
}

    .page-btn.active {
        background-color: var(--primary);
        color: var(--bg-color);
        font-weight: bold;
    }

    .page-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }
