:root {
    --bg: #0f1720;
    --card: #1b2733;
    --muted: #9aa6b2;
    --accent: #FF0000;
    /* vermelho youtube */
    --gap: 18px;
}

.container {
    margin: 0 auto;
}

h1 {
    margin: 0 0 18px 0;
    font-size: 1.6rem;
    letter-spacing: 0.2px;
}

/* Grid responsivo */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--gap);
    align-items: start;
}

/* Card */
.yt-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.05));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.yt-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.75);
}

.thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.meta {
    padding: 12px 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex: 0 0 40px;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info {
    flex: 1;
    min-width: 0;
}

.title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.channel {
    font-size: 0.84rem;
    color: var(--muted);
    margin-bottom: 3px;
}

.stats {
    font-size: 0.8rem;
    color: var(--muted);
}

/* small screens */
@media (max-width:420px) {
    .meta {
        padding: 10px;
    }
}