/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #a0d2eb 0%, #e5eaf5 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Заголовок */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.header h1 i {
    margin-right: 15px;
    color: #ffd700;
}

/* Секция авторизации */
.auth-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.username-display {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

/* Панель поиска */
.search-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.search-inputs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
}

.search-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.search-input input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#clearSearchBtn {
    padding: 12px 24px;
    font-size: 16px;
}

/* Кнопки */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Основной контент */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.artists-section,
.songs-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.artists-section h2,
.songs-section h2 {
    margin: 0 0 20px 0;
    color: #495057;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.artists-section h2 i,
.songs-section h2 i {
    color: #667eea;
}

.left-column, .right-column {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.left-column h3, .right-column h3 {
    margin-bottom: 20px;
    color: #667eea;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Списки */
.list-container {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.list-item {
    padding: 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
}

.list-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.list-item.selected {
    border-color: #667eea;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.list-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    pointer-events: none;
}

.list-item p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 10px;
    pointer-events: none;
}

.list-item .item-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    pointer-events: auto;
}

.list-item .item-actions .btn {
    padding: 6px 10px;
    font-size: 12px;
    min-width: auto;
}

.list-item .item-actions .btn i {
    font-size: 12px;
}

/* Панель управления */
.admin-panel {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 20px auto;
    margin-top: 20px;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h2 {
    margin: 0;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Элементы управления песней */
.song-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

.key-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.key-selector label {
    font-weight: 600;
    color: #495057;
}

.key-selector select {
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    background: white;
}

.audio-controls audio {
    width: 300px;
    height: 40px;
}

/* Контент песни */
.song-content {
    margin-bottom: 30px;
}

.song-structure {
    position: relative;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    font-size: 16px;
    line-height: 1.8;
    z-index: 0;
}

/* Блоки структуры песни - компактный стиль с fieldset-подобными заголовками */
.song-block {
    margin-bottom: 20px;
    border: 2px solid #667eea;
    border-radius: 8px;
    overflow: visible;
    background: white;
    position: relative;
}

.song-block-header {
    position: absolute;
    top: -15px;
    left: 15px;
    background: white;
    padding: 0 10px;
    font-weight: bold;
    font-size: 16px;
    color: #667eea;
    z-index: 10;
    border-radius: 4px;
    box-shadow: 0 0px 0px rgba(0,0,0,0.1);
}

.song-block-header .repeat-info {
    color: #6c757d;
    font-size: 14px;
    margin-left: 8px;
}

.song-block-content {
    padding: 20px 15px 15px 15px;
}

.song-line {
    margin-bottom: 8px;
    position: relative;
}

.chord-line {
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 2px;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    background: white;
    padding: 0;
    line-height: 1.2;
    white-space: pre;
}

.lyrics-line {
    color: #2c3e50;
    font-size: 15px;
    line-height: 1.4;
    padding: 0;
}

/* Редактор структуры */
.structure-editor {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
}

.structure-elements {
    margin-bottom: 20px;
}

.structure-element {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.structure-element:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.structure-element.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.structure-element.drag-over {
    border-color: #28a745;
    background: #f8fff9;
}

.structure-element-header {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: move;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.structure-element-handle {
    cursor: move;
    color: #6c757d;
    font-size: 18px;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.structure-element-handle:hover {
    color: #667eea;
}

.structure-element-type {
    min-width: 120px;
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    font-weight: 600;
    color: #495057;
}

.structure-element-type:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.structure-element-repeat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.structure-element-repeat input {
    width: 60px;
    padding: 6px 8px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.structure-element-repeat input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.structure-element-repeat label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
}

.structure-element-text {
    padding-top: 10px;
}

.structure-element-text textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    resize: vertical;
}

.structure-element-text textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.structure-element-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.add-element-section {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

/* Действия с песней */
.song-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Формы */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 20px 30px;
    background: white;
    border-top: 1px solid #e9ecef;
    flex-shrink: 0;
}

/* Помощь по вводу текста */
.text-input-help {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.text-input-help p {
    margin-bottom: 10px;
}

.text-input-help pre {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    overflow-x: auto;
    margin-top: 10px;
}

/* Скроллбар */
.list-container::-webkit-scrollbar {
    width: 8px;
}

.list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.list-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.list-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Адаптивность */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .search-inputs {
        flex-direction: column;
    }
    
    .search-input {
        min-width: auto;
    }
    
    .song-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .audio-controls audio {
        width: 100%;
    }
    
    .song-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .structure-element-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .structure-element-repeat {
        justify-content: center;
    }
    
    .structure-element-actions {
        justify-content: center;
    }
    
    .admin-panel {
        flex-direction: column;
        align-items: center;
    }
    
    .list-item .item-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .header p {
        font-size: 1rem;
    }
} 

/* Стили для элементов структуры */
.structure-element {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.structure-element-header {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
    cursor: move;
    gap: 10px;
}

.structure-element-handle {
    color: #6c757d;
    cursor: grab;
}

.structure-element-handle:active {
    cursor: grabbing;
}

.structure-element-type {
    padding: 5px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #fff;
    min-width: 120px;
}

.structure-element-repeat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.repeat-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.repeat-btn {
    background: #f8f9fa;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #495057;
    transition: background-color 0.2s;
}

.repeat-btn:hover {
    background: #e9ecef;
}

.repeat-btn:active {
    background: #dee2e6;
}

.repeat-minus {
    border-right: 1px solid #ced4da;
}

.repeat-plus {
    border-left: 1px solid #ced4da;
}

.structure-element-repeat input[type="number"] {
    border: none;
    padding: 5px 8px;
    text-align: center;
    min-width: 50px;
    background: #fff;
}

.structure-element-repeat input[type="number"]::-webkit-inner-spin-button,
.structure-element-repeat input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.structure-element-repeat input[type="number"] {
    -moz-appearance: textfield;
}

.structure-element-repeat label {
    font-size: 12px;
    color: #6c757d;
    white-space: nowrap;
}

.structure-element-actions {
    margin-left: auto;
}

.structure-element-text {
    padding: 15px;
}

.structure-element-text textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
} 

/* Стили для расписания */
.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.schedule-content {
    margin-top: 20px;
}

.view-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.view-btn {
    padding: 10px 16px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
}

.view-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.schedule-view {
    display: none;
}

.schedule-view.active {
    display: block;
}

/* События в списке */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.event-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.event-title {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.event-actions {
    display: flex;
    gap: 8px;
}

.event-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.event-songs {
    margin-top: 12px;
}

.event-songs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.event-song-tag {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: #495057;
}

/* Новые стили для вертикального отображения песен в событиях */
.event-songs-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.event-song-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.event-song-item:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.song-number {
    font-weight: 600;
    color: #007bff;
    min-width: 24px;
    text-align: center;
}

.song-info {
    flex: 1;
}

.song-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.song-artist {
    color: #666;
    font-size: 14px;
}

.song-actions {
    display: flex;
    gap: 6px;
}

.song-actions .btn {
    padding: 6px 10px;
    font-size: 12px;
}

/* Календарь */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day-header {
    background: #f8f9fa;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    color: #495057;
}

.calendar-day {
    background: #fff;
    min-height: 100px;
    padding: 8px;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.calendar-day:hover {
    background: #f8f9fa;
}

.calendar-day.other-month {
    background: #f8f9fa;
    color: #adb5bd;
}

.calendar-day.has-events {
    border-color: #007bff;
}

.calendar-day-number {
    font-weight: 600;
    margin-bottom: 4px;
}

.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calendar-event {
    background: #007bff;
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Формы событий */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.songs-selector {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
}

.selected-songs-list {
    min-height: 60px;
    border: 1px dashed #ccc;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 12px;
}

.selected-song-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 8px 12px;
    margin-bottom: 4px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.selected-song-info {
    flex: 1;
}

.selected-song-title {
    font-weight: 600;
    color: #333;
}

.selected-song-artist {
    color: #666;
    font-size: 14px;
}

.selected-song-actions {
    display: flex;
    gap: 4px;
}

.move-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 4px 6px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.remove-song-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 3px;
    cursor: pointer;
}

/* Список доступных песен */
.available-songs-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.available-song-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.available-song-item:hover {
    background: #f8f9fa;
}

.available-song-info {
    flex: 1;
}

.available-song-title {
    font-weight: 600;
    color: #333;
}

.available-song-artist {
    color: #666;
    font-size: 14px;
}

/* События дня */
.day-events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.day-event-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.day-event-time {
    font-weight: 600;
    color: #007bff;
    margin-bottom: 4px;
}

.day-event-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.day-event-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.day-event-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .calendar-day {
        min-height: 80px;
        padding: 4px;
    }
    
    .calendar-event {
        font-size: 10px;
    }
} 

.video-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb .play-overlay {
    position: absolute;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
} 

/* Градиентные превью */
.video-thumb.sermon { 
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); 
}
.video-thumb.worship { 
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); 
}

/* Hover эффекты */
.video-item .video-link:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
} 