
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}
/* Media cards */
.media-card {
    background: #2d2d2d;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.media-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.media-card iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.media-info {
    padding: 1rem;
    flex-grow: 1;
}

.media-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.media-date {
    color: #aaa;
    font-size: 0.875rem;
}

.media-type {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.7);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: white;
}

/* Search and filter */
#searchInput, #sortSelect, #filterSelect {
    transition: all 0.3s;
}

#searchInput:focus, #sortSelect:focus, #filterSelect:focus {
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .media-card img, .media-card iframe {
        height: 150px;
    }
}
