/* Videos Page Specific Styles */
.videos-section {
    padding: 120px 0 6rem;
    background: var(--dark-bg);
    min-height: 100vh;
}

.videos-section .section-header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Video Categories */
.video-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--light-text);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* Search and Filter */
.search-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-text);
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.search-box input::placeholder {
    color: var(--gray-text);
}

.filter-options select {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-options select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-options select option {
    background: var(--dark-bg);
    color: var(--light-text);
}

/* Featured Video */
.featured-video {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.featured-video:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.video-player {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--darker-bg);
    aspect-ratio: 16/9;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
    text-align: center;
    padding: 2rem;
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.video-placeholder h3 {
    font-family: 'Orbitron', monospace;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.video-placeholder p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.video-info h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.video-info p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.video-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.video-meta i {
    color: var(--primary-color);
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--darker-bg);
    overflow: hidden;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
}

.thumbnail-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.video-card .video-info {
    padding: 1.5rem;
}

.video-card .video-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.video-card .video-info p {
    color: var(--gray-text);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.video-card .video-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}

.video-card .video-meta span {
    font-size: 0.8rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--dark-bg);
    margin: 2% auto;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin: 0;
}

.close {
    color: var(--gray-text);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 0;
    max-height: 70vh;
    overflow: hidden;
}

#videoPlayer {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder-large {
    text-align: center;
    color: var(--gray-text);
    padding: 3rem;
}

.video-placeholder-large i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
}

.video-details h3 {
    font-family: 'Orbitron', monospace;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.video-details p {
    color: var(--gray-text);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .videos-section {
        padding: 100px 0 4rem;
    }

    .videos-section .section-header h1 {
        font-size: 2.5rem;
    }

    .video-categories {
        justify-content: center;
    }

    .search-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: none;
    }

    .featured-video {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-card {
        margin-bottom: 1rem;
    }

    .modal-content {
        width: 98%;
        margin: 5% auto;
    }

    .modal-header,
    .modal-footer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .videos-section .section-header h1 {
        font-size: 2rem;
    }

    .category-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .featured-video {
        padding: 1rem;
    }

    .video-info h2 {
        font-size: 1.5rem;
    }

    .video-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .video-card .video-info {
        padding: 1rem;
    }

    .video-card .video-info h3 {
        font-size: 1.1rem;
    }
} 