/* =====================================================
   🎭 GENRES LIST PAGE — UAICINE
===================================================== */

.genres-list-page {
    width: 100%;
    min-height: 100vh;
    background: var(--color-background, #0f0f0f);
    color: var(--color-text, #ffffff);
}

/* =====================================================
   🎭 HEADER
===================================================== */

.genres-list-header {
    width: 100%;
    padding: 28px 16px 18px;
}

.genres-list-header__content {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.genres-list-title {
    margin: 0;
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
}

.genres-list-description {
    max-width: 520px;
    margin: 8px 0 0;
    color: var(--color-text-muted, #a7a7a7);
    font-size: 14px;
    line-height: 1.5;
}

/* =====================================================
   📦 SECTION
===================================================== */

.genres-list-section {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 16px 92px;
}

/* =====================================================
   🎭 GRID — 2 COLUNAS
===================================================== */

.genres-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* =====================================================
   🎭 CARD
   Mesmo conceito visual dos cards da busca:
   imagem + overlay + texto centralizado
===================================================== */

.genres-list-card {
    position: relative;
    display: block;
    width: 100%;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: #1c1c1c;
    isolation: isolate;
}

.genres-list-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.25s ease;
}

.genres-list-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.22) 0%,
        rgba(0, 0, 0, 0.78) 100%
    );
}

.genres-list-card__content {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    padding: 10px;
    text-align: center;
}

.genres-list-card__name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.genres-list-card__count {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 600;
}

.genres-list-card:hover .genres-list-card__image {
    transform: scale(1.06);
}

/* =====================================================
   📭 EMPTY
===================================================== */

.genres-list-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 260px;
    padding: 32px 18px;

    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);

    text-align: center;
}

.genres-list-empty__title {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.genres-list-empty__text {
    max-width: 360px;
    margin: 8px 0 0;
    color: var(--color-text-muted, #a7a7a7);
    font-size: 14px;
    line-height: 1.5;
}

/* =====================================================
   📱 RESPONSIVO
===================================================== */

@media (max-width: 420px) {
    .genres-list-header {
        padding: 24px 14px 16px;
    }

    .genres-list-section {
        padding: 6px 14px 0;
    }

    .genres-list-grid {
        gap: 10px;
    }

    .genres-list-card {
        height: 88px;
        border-radius: 10px;
    }

    .genres-list-card__name {
        font-size: 13px;
    }

    .genres-list-card__count {
        font-size: 11px;
    }
}