/*
========================================
File: genres-page-v2.css
========================================
*/

/* ... (Estilos do .page-header--genres e .pagination permanecem os mesmos) ... */

/* --- Grid de Gêneros (Pode precisar de mais colunas com cards menores) --- */
.genres-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
    /* Espaçamento um pouco menor */
    margin-top: var(--spacing-10);
}

@media (min-width: 640px) {
    .genres-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .genres-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .genres-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1280px) {
    .genres-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}


/* --- Card de Gênero Modernizado --- */
.genre-card-modern {
    position: relative;
    overflow: hidden;
    /* Essencial para o efeito de brilho e borda */
    padding: var(--spacing-6);
    border-radius: var(--border-radius-lg);
    aspect-ratio: 4 / 5;
    /* Proporção retangular, mais elegante */

    /* Efeito Glassmorphism */
    background-color: rgba(22, 22, 22, 0.5);
    /* Cor de fundo com transparência */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.genre-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(29, 185, 84, 0.3);
}

.genre-card-modern__icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-4);
}

/* Brilho sutil atrás do ícone */
.genre-card-modern__icon-wrapper::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.5);
}

.genre-card-modern:hover .genre-card-modern__icon-wrapper::before {
    opacity: 0.2;
    transform: scale(1);
}

.genre-card-modern__icon {
    font-size: 3rem;
    /* Ícone um pouco menor */
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
    position: relative;
    /* Para ficar acima do brilho */
    z-index: 1;
}

.genre-card-modern:hover .genre-card-modern__icon {
    color: var(--color-text-primary);
}

.genre-card-modern__title {
    font-size: var(--fs-base);
    /* Tamanho de fonte base */
    font-weight: 600;
    color: var(--color-text-primary);
    position: relative;
    z-index: 1;
}