* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1a0b1a 0%, #2d0f2d 50%, #1f0a1f 100%);
    min-height: 100vh;
    padding: 20px;
    position: relative;
    color: #fff;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

@keyframes neonPulse {
    0% { text-shadow: 0 0 5px #ff6ec7, 0 0 10px #ff6ec7, 0 0 20px #ff6ec7; }
    50% { text-shadow: 0 0 10px #ff3b9e, 0 0 20px #ff3b9e, 0 0 30px #ff3b9e; }
    100% { text-shadow: 0 0 5px #ff6ec7, 0 0 10px #ff6ec7, 0 0 20px #ff6ec7; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Контейнер - АДАПТИРОВАНО под вашу структуру */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);

    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(255, 20, 147, 0.3), 0 0 30px rgba(255, 20, 147, 0.2);
    padding: 40px;
    border: 1px solid rgba(255, 110, 199, 0.3);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,110,199,0.1) 0%, transparent 70%);
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

/* Навигация - АДАПТИРОВАНО под ваш navbar */
.navbar {
    background: rgba(0, 0, 0, 0.4);

    border-radius: 50px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 110, 199, 0.3);
    box-shadow: 0 0 30px rgba(255, 110, 199, 0.2);
}

.nav-container {
	

    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container h2 {
	
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    background: linear-gradient(135deg, #ffb3d9, #ff6ec7, #bf4aa8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px 5px 5px;
    border-radius: 30px;
    border: 1px solid rgba(255, 110, 199, 0.3);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ff6ec7;
    box-shadow: 0 0 10px #ff6ec7;
    object-fit: cover;
}

#userName {
    color: #ffb3d9;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}

.logout-btn {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    border: 1px solid transparent;
}

.logout-btn:hover {
    background: rgba(255, 110, 199, 0.2);
    color: #ffb3d9;
    border-color: rgba(255, 110, 199, 0.4);
}

/* Заголовки */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #ffb3d9;
    text-shadow: 0 0 15px #ff6ec7;
}

.dashboard h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Информация о хранилище - АДАПТИРОВАНО */
.storage-info {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 110, 199, 0.3);
    color: white;
}

.storage-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

#usedStorage {
    color: #ffb3d9;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid rgba(255, 110, 199, 0.3);
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #ffb3d9, #ff6ec7, #bf4aa8);
    transition: width 0.3s;
    box-shadow: 0 0 10px #ff6ec7;
}

/* Секция загрузки - АДАПТИРОВАНО */
.upload-section {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 110, 199, 0.3);
}

.upload-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Вкладки - АДАПТИРОВАНО */
.upload-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.tab-btn {
    background: rgba(255, 110, 199, 0.2);
    color: white;
    border: 1px solid rgba(255, 110, 199, 0.4);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;

}

.tab-btn:hover {
    background: rgba(255, 110, 199, 0.4);
    border-color: #ff6ec7;
    box-shadow: 0 0 15px #ff6ec7;
}

.tab-btn.active {
    background: linear-gradient(135deg, #ff6ec7, #bf4aa8);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px #ff6ec7;
}

/* Секции загрузки */
.upload-section .upload-section {
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
}

/* Загрузка файла */
.file-input-container {
    margin: 25px 0;
    text-align: left;
}

.file-input-container input[type="file"] {
    display: none;
}

.file-label {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff6ec7, #bf4aa8);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px #ff6ec7;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.file-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px #ff6ec7;
    background: linear-gradient(135deg, #ffb3d9, #ff6ec7);
}

#fileName {
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
}

/* Кнопка загрузки */
.upload-btn {
    background: linear-gradient(135deg, #ff6ec7, #bf4aa8);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px #ff6ec7;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.upload-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 0 30px #ff6ec7;
    background: linear-gradient(135deg, #ffb3d9, #ff6ec7);
}

.upload-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Загрузка по ссылке - АДАПТИРОВАНО */
.url-input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 110, 199, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 15px;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.url-input:focus {
    outline: none;
    border-color: #ff6ec7;
    box-shadow: 0 0 20px #ff6ec7;
}

.url-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.url-options {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ff6ec7;
}

/* Прогресс загрузки */
.upload-progress {
    margin-top: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    border: 1px solid rgba(255, 110, 199, 0.3);
}

.upload-progress.hidden {
    display: none;
}

#uploadStatus {
    display: block;
    margin-top: 10px;
    color: #ffb3d9;
    font-family: 'Raleway', sans-serif;
    text-align: center;
}

.upload-details {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 110, 199, 0.2);
}

/* Секция видео - АДАПТИРОВАНО */
.videos-section {
    background: rgba(0, 0, 0, 0.4);

    border-radius: 30px;
    padding: 30px;
    border: 1px solid rgba(255, 110, 199, 0.3);
}

.videos-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.videos-tabs .tab-btn {
    background: rgba(255, 110, 199, 0.2);
}

.videos-tabs .tab-btn.active {
    background: linear-gradient(135deg, #ff6ec7, #bf4aa8);
}

.video-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    margin-left: 8px;
}

.tab-btn.active .video-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Сетка видео - АДАПТИРОВАНО */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Карточка видео - АДАПТИРОВАНО */
.video-card {
    background: rgba(0, 0, 0, 0.4);

    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 110, 199, 0.2);
    border: 1px solid rgba(255, 110, 199, 0.3);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%; /* Растягиваем карточку на всю высоту сетки */
	min-width: 280px; /* Минимальная ширина карточки */
}



.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 110, 199, 0.4);
    border-color: #ff6ec7;
}

.video-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 110, 199, 0.2);
}

.user-info-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ff6ec7;
    box-shadow: 0 0 10px #ff6ec7;
    object-fit: cover;
}

.username {
    font-size: 14px;
    color: #ffb3d9;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}

.owner-badge {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #1a0b1a;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

.video-card video {
    width: 100%;
    height: auto; /* Автоматическая высота для сохранения пропорций */
    max-height: 200px; /* Максимальная высота */
    object-fit: contain; /* Вписываем видео полностью, сохраняя пропорции */
    background: #000;
    display: block;
}
.video-card video.contain {
    object-fit: contain;
    height: 200px;
    background: #000;
}
/* .video-info { */
    /* padding: 15px; */
/* } */
.video-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffb3d9;
    margin-bottom: 8px;
    word-break: break-all;
}

.video-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 5px 0;
    font-family: 'Raleway', sans-serif;
}

/* Ссылки в карточке */
/* .video-links { */
    /* margin: 15px 0; */
    /* padding: 12px; */
    /* background: rgba(0, 0, 0, 0.3); */
    /* border-radius: 20px; */
    /* border: 1px solid rgba(255, 110, 199, 0.2); */
/* } */
.video-links {
	background: rgba(0, 0, 0, 0.3);
	    border-radius: 20px;
    border: 1px solid rgba(255, 110, 199, 0.2);
    margin-top: auto; /* Прижимает ссылки к низу */
    margin-bottom: 10px;
}

.link-item {
    margin-bottom: 8px;
}

.link-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3px;
    font-family: 'Raleway', sans-serif;
}

.link-copy {
    display: flex;
    gap: 5px;
}

.link-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid rgba(255, 110, 199, 0.3);
    border-radius: 25px;
    font-size: 12px;
    color: white;
    background: rgba(0, 0, 0, 0.3);
}

.copy-link-btn {
    padding: 8px 15px;
    background: linear-gradient(135deg, #a854c9, #7a3b8f);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    box-shadow: 0 0 10px #a854c9;
}

.copy-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px #a854c9;
}



.download-btn {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #ff6ec7, #bf4aa8);
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.watch-btn {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.watch-btn:hover {
    background: linear-gradient(135deg, #68d391, #48bb78);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}
.download-btn:hover {
    background: linear-gradient(135deg, #ffb3d9, #ff6ec7);
}

.cancel-btn {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.cancel-btn:hover {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
}

.delete-btn {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.delete-btn:hover {
    background: linear-gradient(135deg, #fc8181, #f56565);
}

/* Статус конвертации */
.conversion-status {
    margin: 15px 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(255, 110, 199, 0.2);
}

.status.converting {
    color: #ffb3d9;
}

.status.completed {
    color: #9ae6b4;
}

.status.error {
    color: #feb2b2;
    background: rgba(254, 178, 178, 0.1);
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffb3d9, #ff6ec7, #bf4aa8);
    transition: width 0.3s;
}

.status-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-family: 'Raleway', sans-serif;
}

.timer {
    font-family: monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: auto;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.badge.success {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.badge.converting {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    animation: pulse 2s infinite;
}

/* Уведомления */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.8);

    color: white;
    border-radius: 50px;
    box-shadow: 0 0 30px rgba(255, 110, 199, 0.3);
    z-index: 1000;
    animation: slideUp 0.3s ease;
    border: 1px solid #ff6ec7;
    font-family: 'Raleway', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.success { border-color: #48bb78; box-shadow: 0 0 30px rgba(72, 187, 120, 0.3); }
.notification.error { border-color: #f56565; box-shadow: 0 0 30px rgba(245, 101, 101, 0.3); }
.notification.converting { border-color: #ed8936; box-shadow: 0 0 30px rgba(237, 137, 54, 0.3); }
.notification.info { border-color: #4299e1; box-shadow: 0 0 30px rgba(66, 153, 225, 0.3); }

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Адаптивность */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .user-info {
        width: 100%;
        justify-content: center;
    }
    
    .upload-tabs, .videos-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .video-actions {
        flex-direction: column;
    }
    
    .notification {
        left: 20px;
        right: 20px;
        text-align: center;
    }
}

/* Стили для статуса конвертации */
.owner-video {
    border-left: 4px solid #ff6ec7;
}

.other-video {
    border-left: 4px solid #a854c9;
}

.no-videos {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    grid-column: 1 / -1;
}
/* Стили для вкладок видео */
.video-tab-btn {
    background: rgba(255, 110, 199, 0.2);
    color: white;
    border: 1px solid rgba(255, 110, 199, 0.4);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;

}

.video-tab-btn:hover {
    background: rgba(255, 110, 199, 0.4);
    border-color: #ff6ec7;
    box-shadow: 0 0 15px #ff6ec7;
}

.video-tab-btn.active {
    background: linear-gradient(135deg, #ff6ec7, #bf4aa8);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px #ff6ec7;
}

.video-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    margin-left: 8px;
}

.video-tab-btn.active .video-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Стили для вкладок загрузки */
.upload-tab-btn {
    background: rgba(255, 110, 199, 0.2);
    color: white;
    border: 1px solid rgba(255, 110, 199, 0.4);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;

}

.upload-tab-btn:hover {
    background: rgba(255, 110, 199, 0.4);
    border-color: #ff6ec7;
    box-shadow: 0 0 15px #ff6ec7;
}

.upload-tab-btn.active {
    background: linear-gradient(135deg, #ff6ec7, #bf4aa8);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px #ff6ec7;
}
/* Карточка видео - АДАПТИРОВАНО */
.video-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 110, 199, 0.2);
    border: 1px solid rgba(255, 110, 199, 0.3);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 280px;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 110, 199, 0.4);
    border-color: #ff6ec7;
}

.video-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 110, 199, 0.2);
}

.user-info-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ff6ec7;
    box-shadow: 0 0 10px #ff6ec7;
    object-fit: cover;
}

.username {
    font-size: 14px;
    color: #ffb3d9;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}

.owner-badge {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #1a0b1a;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

.video-card video {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    background: #000;
    display: block;
}

.video-card video.contain {
    object-fit: contain;
    height: 200px;
    background: #000;
}

.video-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffb3d9;
    margin-bottom: 8px;
    word-break: break-all;
}

.video-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 5px 0;
    font-family: 'Raleway', sans-serif;
}

/* Ссылки в карточке */
.video-links {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(255, 110, 199, 0.2);
    margin-top: auto;
    margin-bottom: 10px;
    padding: 12px;
}

.link-item {
    margin-bottom: 8px;
}

.link-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3px;
    font-family: 'Raleway', sans-serif;
}

.link-copy {
    display: flex;
    gap: 5px;
}

.link-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid rgba(255, 110, 199, 0.3);
    border-radius: 25px;
    font-size: 12px;
    color: white;
    background: rgba(0, 0, 0, 0.3);
}

.copy-link-btn {
    padding: 8px 15px;
    background: linear-gradient(135deg, #a854c9, #7a3b8f);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    box-shadow: 0 0 10px #a854c9;
}

.copy-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px #a854c9;
}

/* Действия с видео - ИСПРАВЛЕНО */
.video-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
    margin-top: 8px;
    margin-bottom: -1px;
    border-top: 1px solid rgba(255, 110, 199, 0.2);
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
}

.video-actions button,
.video-actions a {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 4px;
    margin: 0;
    border: none;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    line-height: 1;
}

/* Индивидуальные цвета кнопок */
.watch-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.download-btn {
    background: linear-gradient(135deg, #ff6ec7, #bf4aa8);
}

.cancel-btn {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
}

.delete-btn {
    background: linear-gradient(135deg, #f56565, #e53e3e);
}

/* Убираем transform при наведении */
.watch-btn:hover,
.download-btn:hover,
.cancel-btn:hover,
.delete-btn:hover {
    transform: none;
    filter: brightness(1.1);
}

/* Статус конвертации */
.conversion-status {
    margin: 15px 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(255, 110, 199, 0.2);
}

.status.converting {
    color: #ffb3d9;
}

.status.completed {
    color: #9ae6b4;
}

.status.error {
    color: #feb2b2;
    background: rgba(254, 178, 178, 0.1);
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffb3d9, #ff6ec7, #bf4aa8);
    transition: width 0.3s;
}

.status-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-family: 'Raleway', sans-serif;
}

.timer {
    font-family: monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: auto;
}

/* Стили для статуса конвертации */
.owner-video {
    border-left: 4px solid #ff6ec7;
}

.other-video {
    border-left: 4px solid #a854c9;
}

.no-videos {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    grid-column: 1 / -1;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .video-actions {
        flex-wrap: wrap;
        gap: 1px;
    }
    
    .video-actions button,
    .video-actions a {
        flex: 1 1 calc(50% - 1px);
        padding: 14px 4px;
        font-size: 14px;
    }
    
    .video-actions button:last-child:nth-child(odd),
    .video-actions a:last-child:nth-child(odd) {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .video-actions button,
    .video-actions a {
        flex: 1 1 100%;
        padding: 16px 4px;
    }
}
/* Стили для информации о поддерживаемых форматах */
.supported-formats-info {
    animation: fadeIn 0.5s ease;
}

.supported-formats-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.supported-formats-info h5 {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.supported-formats-info ul li {
    font-family: 'Raleway', sans-serif;
    transition: transform 0.2s;
}

.supported-formats-info ul li:hover {
    transform: translateX(5px);
    color: #ffb3d9;
}

.supported-sources {
    backdrop-filter: blur(10px);
}

.supported-sources h3 {
    font-family: 'Playfair Display', serif;
    text-shadow: 0 0 15px #ff6ec7;
}

.supported-sources h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

.supported-sources ul li {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    transition: all 0.2s;
}

.supported-sources ul li:hover {
    transform: translateX(5px);
    color: #ffb3d9;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .supported-formats-info > div {
        flex-direction: column;
    }
    
    .supported-sources > div {
        grid-template-columns: 1fr;
    }
}