
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    padding: 16px;
}
.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    position: relative;
}
.video-card:hover {
    transform: translateY(-4px);
}
.video-card img {
    width: 100%;
    height: auto;
    display: block;
}
.video-info {
    padding: 12px;
}
.video-info h3 {
    font-size: 16px;
    margin: 0;
}
.video-info p {
    font-size: 12px;
    color: #555;
}
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
}
.filters select, .filters input {
    padding: 8px;
    font-size: 14px;
}
.ad-block {
    width: 100%;
    padding: 16px;
    margin: 16px 0;
    background: #f9f9f9;
    border: 1px dashed #ccc;
    text-align: center;
    font-size: 14px;
    color: #666;
}
.badge-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
}
.badge {
    background: #ff3333;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
}
.thumb-container {
    position: relative;
}
.hover-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 6px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.thumb-container:hover .hover-overlay {
    opacity: 1;
}
