/* Video Section Enhanced Styles - تم تحميل الملف بنجاح */

.video-section {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(192, 139, 45, 0.02) 0%, rgba(178, 43, 43, 0.02) 50%, rgba(192, 139, 45, 0.01) 100%);
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(192, 139, 45, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(178, 43, 43, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(192, 139, 45, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.video-card {
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(229, 231, 235, 0.3);
    position: relative;
    transform: translateY(0);
    margin-bottom: 2rem;
    height: 480px;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(192, 139, 45, 0.08);
    border-color: rgba(192, 139, 45, 0.2);
}

.video-thumbnail-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    border-radius: 1.5rem 1.5rem 0 0;
    flex: 1;
    min-height: 280px;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    background: linear-gradient(135deg, #C08B2D 0%, #B22B2B 100%);
    filter: brightness(0.95);
}

.video-thumbnail.loaded {
    filter: brightness(1);
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(145deg, #C08B2D 0%, #B22B2B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 30px rgba(192, 139, 45, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: scale(0.9);
    border: none;
    outline: none;
}

.play-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.15);
    box-shadow: 0 16px 40px rgba(192, 139, 45, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.play-button:hover::before {
    transform: scale(1);
}

.play-button i {
    color: white;
    font-size: 1.8rem;
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.video-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: scale(0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.video-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.video-badge.youtube {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

.video-badge.vimeo {
    background: linear-gradient(135deg, #1AB7EA 0%, #0E8BC4 100%);
}

.video-badge.uploaded {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.video-duration {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    transform: scale(0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.video-duration:hover {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.video-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 0 0 1.5rem 1.5rem;
    border-top: 1px solid rgba(229, 231, 235, 0.3);
    flex-shrink: 0;
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    letter-spacing: -0.01em;
    flex: 1;
}

.video-title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-title:hover {
    color: #C08B2D;
}

.video-title:hover a {
    color: #C08B2D;
}

.video-description {
    color: #64748B;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
    letter-spacing: 0.01em;
    flex: 1;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94A3B8;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(229, 231, 235, 0.3);
    margin-top: 0.5rem;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    min-height: 2rem;
}

.video-meta:hover {
    background: rgba(248, 250, 252, 0.8);
}

.video-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.25rem;
    border: 1px solid rgba(229, 231, 235, 0.4);
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.7rem;
}

.video-date:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(192, 139, 45, 0.3);
}

.video-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.25rem;
    border: 1px solid rgba(229, 231, 235, 0.4);
    transition: all 0.3s ease;
    font-size: 0.7rem;
}

.video-stats:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(192, 139, 45, 0.3);
}

.video-views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(192, 139, 45, 0.1);
    border-radius: 0.25rem;
    border: 1px solid rgba(192, 139, 45, 0.2);
    font-weight: 500;
    color: #C08B2D;
    transition: all 0.3s ease;
    font-size: 0.7rem;
}

.video-views:hover {
    background: rgba(192, 139, 45, 0.15);
    border-color: rgba(192, 139, 45, 0.4);
}

.video-type-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid transparent;
    transform: scale(0.95);
    position: relative;
    overflow: hidden;
}

.video-type-badge:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.video-type-badge.youtube {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    color: #DC2626;
    border-color: rgba(239, 68, 68, 0.2);
}

.video-type-badge.vimeo {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    color: #2563EB;
    border-color: rgba(59, 130, 246, 0.2);
}

.video-type-badge.uploaded {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.1) 100%);
    color: #16A34A;
    border-color: rgba(34, 197, 94, 0.2);
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-modal-content {
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.95);
    }
    to {
        transform: translateY(0) scale(1);
    }
}

.video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    padding-right: 1rem;
}

.modal-close {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #DC2626;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    transform: scale(1.1);
}

.video-modal-body {
    padding: 0;
    position: relative;
}

.video-player {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
    overflow: hidden;
}

.video-player iframe,
.video-player video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #64748B;
    text-align: center;
    padding: 2rem;
}

.video-error i {
    font-size: 3rem;
    color: #F59E0B;
    margin-bottom: 1rem;
}

.video-error p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.video-modal-footer {
    padding: 1rem 2rem;
    border-top: 1px solid rgba(229, 231, 235, 0.3);
    background: rgba(248, 250, 252, 0.5);
    text-align: center;
}

.modal-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #C08B2D 0%, #B22B2B 100%);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(192, 139, 45, 0.3);
}

.modal-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(192, 139, 45, 0.4);
    color: white;
    text-decoration: none;
}

/* Empty State */
.video-empty-state {
    text-align: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: 1.5rem;
    border: 2px dashed #CBD5E1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.98);
}

.video-empty-state:hover {
    border-color: #C08B2D;
    box-shadow: 0 12px 35px rgba(192, 139, 45, 0.12);
    transform: scale(1.01);
}

.video-empty-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(192, 139, 45, 0.05) 0%, rgba(178, 43, 43, 0.05) 100%);
    z-index: 1;
}

.video-empty-icon {
    font-size: 4rem;
    color: #CBD5E1;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    animation: simple-float 3s ease-in-out infinite;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.video-empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.01em;
}

.video-empty-description {
    color: #64748B;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

@keyframes simple-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Loading Animation */
.video-skeleton {
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-section {
        padding: 1.5rem 0;
    }
    
    .video-card {
        border-radius: 1.25rem;
        margin-bottom: 1.5rem;
        height: 420px;
    }
    
    .video-content {
        padding: 1.25rem;
        min-height: 100px;
    }
    
    .video-title {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .video-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        margin-bottom: 0.5rem;
    }
    
    .play-button {
        width: 4rem;
        height: 4rem;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .video-badge {
        top: 0.75rem;
        left: 0.75rem;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .video-duration {
        bottom: 0.75rem;
        right: 0.75rem;
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
    
    .video-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        padding: 0.4rem 0.6rem;
        margin-top: 0.4rem;
        min-height: 1.5rem;
    }
    
    .video-stats {
        gap: 0.4rem;
    }
    
    .video-type-badge {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
    }
    
    .video-empty-state {
        padding: 3rem 2rem;
    }
    
    .video-empty-icon {
        font-size: 3rem;
    }
    
    .video-empty-title {
        font-size: 1.25rem;
    }
    
    .video-empty-description {
        font-size: 0.9rem;
    }
    
    /* Modal Responsive */
    .video-modal-content {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .video-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-close {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .video-modal-footer {
        padding: 0.75rem 1.5rem;
    }
    
    .modal-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .video-section {
        padding: 1rem 0;
    }
    
    .video-card {
        border-radius: 1rem;
        margin-bottom: 1rem;
        height: 380px;
    }
    
    .video-content {
        padding: 1rem;
        min-height: 80px;
    }
    
    .video-title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
    
    .video-description {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        line-height: 1.4;
    }
    
    .play-button {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .play-button i {
        font-size: 1.3rem;
    }
    
    .video-badge {
        top: 0.5rem;
        left: 0.5rem;
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    
    .video-duration {
        bottom: 0.5rem;
        right: 0.5rem;
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }
    
    .video-type-badge {
        padding: 0.15rem 0.3rem;
        font-size: 0.6rem;
    }
    
    .video-meta {
        padding: 0.3rem 0.5rem;
        gap: 0.3rem;
        margin-top: 0.3rem;
        min-height: 1.25rem;
    }
    
    .video-empty-state {
        padding: 2.5rem 1.5rem;
        border-radius: 1rem;
    }
    
    .video-empty-icon {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .video-empty-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .video-empty-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Modal Mobile */
    .video-modal {
        padding: 0.5rem;
    }
    
    .video-modal-content {
        max-width: 100vw;
        max-height: 90vh;
        border-radius: 1rem;
    }
    
    .video-modal-header {
        padding: 0.75rem 1rem;
    }
    
    .modal-title {
        font-size: 1rem;
        padding-right: 0.5rem;
    }
    
    .modal-close {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.9rem;
    }
    
    .video-modal-footer {
        padding: 0.5rem 1rem;
    }
    
    .modal-link {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Hover Effects for Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .video-card:hover {
        transform: none;
    }
    
    .video-card:active {
        transform: scale(0.98);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    
    .play-button:hover {
        transform: none;
    }
    
    .play-button:active {
        transform: scale(0.9);
        box-shadow: 0 8px 20px rgba(192, 139, 45, 0.5);
    }
    
    .video-badge:hover {
        transform: none;
    }
    
    .video-badge:active {
        transform: scale(0.95);
    }
    
    .video-duration:hover {
        transform: none;
    }
    
    .video-duration:active {
        transform: scale(0.95);
    }
    
    .video-type-badge:hover {
        transform: none;
    }
    
    .video-type-badge:active {
        transform: translateY(-1px);
    }
    
    .modal-close:hover {
        transform: none;
    }
    
    .modal-close:active {
        transform: scale(0.9);
    }
    
    .modal-link:hover {
        transform: none;
    }
    
    .modal-link:active {
        transform: scale(0.95);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .video-card {
        border: 2px solid #000;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    
    .video-badge {
        border: 1px solid #000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }
    
    .video-duration {
        border: 1px solid #000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }
    
    .play-button {
        border: 2px solid #fff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }
    
    .video-type-badge {
        border: 1px solid currentColor;
    }
    
    .video-modal-content {
        border: 2px solid #000;
    }
    
    .modal-close {
        border: 2px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .video-card,
    .video-thumbnail,
    .play-button,
    .video-empty-icon,
    .video-badge,
    .video-duration,
    .video-type-badge,
    .video-modal,
    .video-modal-content {
        transition: none;
        animation: none;
        transform: none;
    }
    
    .video-card:hover,
    .play-button:hover,
    .video-badge:hover,
    .video-duration:hover,
    .video-type-badge:hover,
    .modal-close:hover,
    .modal-link:hover {
        transform: none;
    }
}

/* Reduced Motion Class */
.reduced-motion .video-card,
.reduced-motion .video-thumbnail,
.reduced-motion .play-button,
.reduced-motion .video-empty-icon,
.reduced-motion .video-badge,
.reduced-motion .video-duration,
.reduced-motion .video-type-badge,
.reduced-motion .video-modal,
.reduced-motion .video-modal-content {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.reduced-motion .video-card:hover,
.reduced-motion .play-button:hover,
.reduced-motion .video-badge:hover,
.reduced-motion .video-duration:hover,
.reduced-motion .video-type-badge:hover,
.reduced-motion .modal-close:hover,
.reduced-motion .modal-link:hover {
    transform: none !important;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .video-card {
        background: #1f2937;
        border-color: #374151;
    }
    
    .video-content {
        background: #1f2937;
    }
    
    .video-title {
        color: #f9fafb;
    }
    
    .video-title:hover {
        color: #C08B2D;
    }
    
    .video-description {
        color: #d1d5db;
    }
    
    .video-meta {
        color: #9ca3af;
        background: rgba(31, 41, 55, 0.5);
    }
    
    .video-empty-state {
        background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
        border-color: #374151;
    }
    
    .video-empty-title {
        color: #f9fafb;
    }
    
    .video-empty-description {
        color: #d1d5db;
    }
    
    .video-modal-content {
        background: #1f2937;
    }
    
    .video-modal-header {
        background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
        border-bottom-color: #374151;
    }
    
    .modal-title {
        color: #f9fafb;
    }
    
    .video-modal-footer {
        background: rgba(31, 41, 55, 0.5);
        border-top-color: #374151;
    }
}

/* Dark Mode Class */
.dark-mode .video-card {
    background: #1f2937;
    border-color: #374151;
}

.dark-mode .video-content {
    background: #1f2937;
}

.dark-mode .video-title {
    color: #f9fafb;
}

.dark-mode .video-title:hover {
    color: #C08B2D;
}

.dark-mode .video-description {
    color: #d1d5db;
}

.dark-mode .video-meta {
    color: #9ca3af;
    background: rgba(31, 41, 55, 0.5);
}

.dark-mode .video-empty-state {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border-color: #374151;
}

.dark-mode .video-empty-title {
    color: #f9fafb;
}

.dark-mode .video-empty-description {
    color: #d1d5db;
}

.dark-mode .video-modal-content {
    background: #1f2937;
}

.dark-mode .video-modal-header {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border-bottom-color: #374151;
}

.dark-mode .modal-title {
    color: #f9fafb;
}

.dark-mode .video-modal-footer {
    background: rgba(31, 41, 55, 0.5);
    border-top-color: #374151;
}