/* ========== VIDEO GRID ========== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.video-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    cursor: pointer;
    transition: transform 0.2s;
}

.video-card:hover {
    transform: scale(1.02);
}

.video-card video,
.video-card img {
    width: 100%;
    display: block;
}

.video-card .vid-duration {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
}

.video-card .vid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.video-card:hover .vid-overlay {
    opacity: 1;
}

.vid-overlay button {
    padding: 4px 10px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 12px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
}

.vid-overlay button:hover {
    background: rgba(255,255,255,0.3);
}

/* Generating video card */
.video-card.generating {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video badge colors */
.vid-badge {
    background: #16a34a;
}

.mo-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.mo-badge.veo { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.mo-badge.veo-fast { background: linear-gradient(135deg, #059669, #34d399); }
.mo-badge.kling { background: linear-gradient(135deg, #dc2626, #f87171); }
.mo-badge.kling-pro { background: linear-gradient(135deg, #ea580c, #fb923c); }
.mo-badge.kling-sd { background: linear-gradient(135deg, #d97706, #fbbf24); }
.mo-badge.sora { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }

.model-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.model-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s;
}

.model-option:hover {
    border-color: var(--text-muted);
}

.model-option.active {
    border-color: var(--accent);
    background: rgba(124, 58, 237, 0.1);
}

.mo-info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.mo-info small {
    font-size: 12px;
    color: var(--text-muted);
}
