        :root {
            --primary: #7ee014;
            --primary-dark: #5cac07;
            --bg-dark: #131313;
            --bg-light: #222222;
            --text: #f0f0f0;
            --text-secondary: #b0b0b0;
            --card-bg: #222222;
            --card-hover: #131313;
            --shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Century Gothic', sans-serif;
            background-image: url("images/bg.jpg");
            color: var(--text);
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
            line-height: 1.5;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
            opacity: 0;
            animation: fadeIn 0.8s ease-out forwards;
        }

        .header {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }

        h1 {
            font-family: 'Century Gothic', sans-serif;
            font-size: 2.8rem;
            font-weight: 700;
            -webkit-background-clip: text;
            background-clip: text;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        /* Изначальный вид (3 видео в ряд) */
        .initial-view .video-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }

        /* Вид после выбора видео */
        .main-content {
            display: none;
            max-width: 900px;
            margin: 0 auto;
        }

        .main-content.active {
            display: block;
        }

        .modal-header {
            padding: 30px 0px;
        }

        .modal-back-btn {
            padding: 15px;
            background-color:#131313;
            color: #73ff00;
            border-radius: 5px;
            border: 1px solid #73ff00;
            font-family: 'Century Gothic', sans-serif;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
        }
        
        .modal-back-btn:hover {
            background-color: #7ee014;
            color: #131313;
            transform: translateY(-2px);
        }

        .video-player {
            width: 100%;
        }

        .main-video {
            width: 100%;
            aspect-ratio: 16/9;
            border-radius: 12px;
            overflow: hidden;
            background: #000;
            box-shadow: var(--shadow);
        }

        .main-video video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* инфоовидео */
        .video-header {
            font-family: 'Century Gothic', sans-serif;
            margin: 2rem 0 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(136, 255, 0, 0.2);
        }

        .video-header h2 {
            font-size: 1.8rem;
            color: var(--text);
            margin-bottom: 0.5rem;
        }

        .video-header .video-date {
            font-size: 1rem;
            color: var(--primary);
            font-weight: 500;
        }

        /* коммон стиль */
        .video-card {
            font-family: 'Century Gothic', sans-serif;
            background: var(--card-bg);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            cursor: pointer;
            border: 1px solid rgba(136, 255, 0, 0.1);
        }

        .video-card:hover {
            transform: translateY(-5px);
            border-color: rgba(136, 255, 0, 0.3);
        }

        .video-card video {
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
            object-fit: cover;
        }

        .video-info {
            padding: 1rem;
        }

        .video-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0.5rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .video-date {
            font-size: 0.85rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        /* комменты */
        .comments-section {
            margin-top: 2rem;
        }

        .comments-title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: var(--primary);
        }

        /* форма для комментов */
        .comment-form {
            background: var(--card-bg);
            padding: 1.5rem;
            border-radius: 12px;
            margin-bottom: 2rem;
        }

        .form-group {
            font-family: 'Century Gothic', sans-serif;
            margin-bottom: 1rem;
        }

        .form-group label {
            font-family: 'Century Gothic', sans-serif;
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-secondary);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            background: var(--bg-light);
            border: 1px solid #131313
            border-radius: 6px;
            color: var(--text);
            font-family: inherit;
        }

        .form-group textarea {
            min-height: 100px;
            resize: vertical;
        }

        .comment-form button {
            background: var(--primary);
            color: #0d0101;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s;
            font-family: inherit;
        }

        .comment-form button:hover {
            background: var(--primary-dark);
        }

        /* комменты список */
        .comment-list {
            margin-top: 1rem;
        }

        .comment {
            font-family: 'Century Gothic', sans-serif;
            background: var(--card-bg);
            padding: 1.5rem;
            border-radius: 12px;
            margin-bottom: 1rem;
        }

        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }

        .comment-author {
            font-weight: 600;
            color: var(--primary);
        }

        .comment-date {
            color: var(--text-secondary);
            font-size: 0.85rem;
        }

        .comment-text {
            line-height: 1.5;
        }

        .no-comments {
            color: var(--text-secondary);
            font-style: italic;
        }
        
        .sort-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .sort-btn {
            padding: 0.5rem 1rem;
            background: var(--bg-light);
            color: var(--text);
            border: 1px solid var(--primary);
            border-radius: 6px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
        }

        .sort-btn:hover {
            background: #131313
        }

        .sort-btn.active {
            background: var(--primary);
            color: white;
        }

        /* анимки */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* адаптация под экраны */
        @media (max-width: 1200px) {
            .initial-view .video-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .initial-view .video-grid {
                grid-template-columns: 1fr;
            }
            h1 {
                font-size: 2rem;
            }
            .video-header h2 {
                font-size: 1.5rem;
            }
            .sort-buttons {
                flex-direction: column;
                align-items: center;
            }
        }
.search-container {
    margin: 20px 0;
}
.search-container input {
    font-family: 'Century Gothic', sans-serif;
    padding: 8px;
    width: 100%;
    max-width: 300px;
    border: 1px solid #7ee114;
    border-radius: 4px;
    background: #131313;
    color: white
}