/* Gen Video Gallery Styles */
:root {
    --gen-premium-color: #C11B28;
    --gen-dark-bg: #1a1a1a;
    --gen-card-bg: #2d2d2d;
    --gen-text-light: #e0e0e0;
    --gen-text-muted: #b0b0b0;
}

.gen-body {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: var(--gen-text-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

.gen-hero-section {
    background: linear-gradient(135deg, var(--gen-premium-color) 0%, #8b0000 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.gen-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.gen-hero-content {
    position: relative;
    z-index: 2;
}

.gen-video-card {
    background: var(--gen-card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent;
    position: relative;
    height: 100%;
}

.gen-video-card:hover {
    transform: translateY(-10px);
    border-color: var(--gen-premium-color);
    box-shadow: 0 20px 40px rgba(193, 27, 40, 0.3);
}

.gen-video-thumbnail {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.gen-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gen-video-card:hover .gen-video-thumbnail img {
    transform: scale(1.05);
}

.gen-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gen-play-button {
    width: 80px;
    height: 80px;
    background: var(--gen-premium-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(193, 27, 40, 0.4);
}

.gen-video-card:hover .gen-play-button {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(193, 27, 40, 0.6);
}

.gen-video-info {
    padding: 1.5rem;
}

.gen-student-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gen-premium-color);
    margin-bottom: 0.5rem;
}

.gen-university-info {
    color: var(--gen-text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.gen-video-modal .modal-content {
    background: var(--gen-card-bg);
    border: none;
    border-radius: 15px;
}

.gen-video-modal .modal-header {
    border-bottom: 1px solid #444;
    background: var(--gen-premium-color);
}

.gen-video-modal .btn-close {
    filter: invert(1);
}

.gen-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.gen-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.gen-section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.gen-section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gen-premium-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gen-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gen-premium-color);
    border-radius: 2px;
}

/* Gen Loading Animation */
.gen-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(193, 27, 40, 0.3);
    border-radius: 50%;
    border-top-color: var(--gen-premium-color);
    animation: gen-spin 1s ease-in-out infinite;
}

@keyframes gen-spin {
    to { transform: rotate(360deg); }
}

/* Gen Fade In Animation */
.gen-fade-in {
    animation: gen-fadeIn 0.6s ease-in-out;
}

@keyframes gen-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gen Responsive Design */
@media (max-width: 768px) {
    .gen-hero-section {
        padding: 2rem 0;
    }
    
    .gen-section-title h2 {
        font-size: 2rem;
    }
    
    .gen-play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .gen-video-info {
        padding: 1rem;
    }
    
    .gen-student-name {
        font-size: 1.1rem;
    }
    
    .gen-university-info {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .gen-hero-section {
        padding: 1.5rem 0;
    }
    
    .gen-section-title h2 {
        font-size: 1.75rem;
    }
    
    .gen-play-button {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Gen Accessibility */
.gen-video-card:focus {
    outline: 2px solid var(--gen-premium-color);
    outline-offset: 2px;
}

.gen-play-button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Gen Print Styles */
@media print {
    .gen-hero-section,
    .gen-play-overlay,
    .gen-video-modal {
        display: none !important;
    }
    
    .gen-body {
        background: white !important;
        color: black !important;
    }
    
    .gen-video-card {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}