/* ============================
   ARTISTAS.CSS
   Página de Artistas - Disco Cloud
   ============================ */

.artistas-container {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 0 var(--page-gutter);
    animation: fadeIn 0.6s ease;
}

/* === CABE?ALHO === */
.artistas-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: 3rem var(--spacing-lg);
    background: var(--grad-sunset);
    border-radius: var(--radius-lg);
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}


.artistas-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0;
    padding: 0;
    font-family: var(--font-body), Arial, sans-serif;

}

.artistas-header p {
    font-size: 1.1rem;
    margin: 0;
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* === GRID DE ARTISTAS === */
.artistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.8rem;
    animation: fadeIn 0.6s ease;
}

/* === CARD DE ARTISTA === */
.artista-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
}

.artista-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: var(--vinyl-gold);
}

/* === IMAGEM DO ARTISTA === */
.artista-imagem {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: transparent;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
}

.artista-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.artista-card:hover .artista-imagem img {
    transform: scale(1.03);
}

/* === INFO DO ARTISTA === */
.artista-info {
    padding: 1.2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.artista-info h3 {
    color: var(--dark);
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artista-genero {
    display: inline-block;
    background: var(--grad-sunset);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-top: 0.5rem;
}

/* === SEÇÃO VAZIA === */
.vazio {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
}

.vazio i {
    font-size: 4rem;
    display: block;
    margin-bottom: var(--spacing-md);
    color: var(--vinyl-gold);
}

.vazio p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* === RESPONSIVIDADE === */
@media (max-width: 1024px) {
    .artistas-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .artistas-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.2rem;
    }
    
    .artista-imagem {
        height: 180px;
    }

    .artista-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .artistas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .artista-imagem {
        height: 140px;
    }
    
    .artista-info {
        padding: 0.8rem;
    }

    .artista-info h3 {
        font-size: 0.95rem;
    }

    .artista-genero {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-height: 820px) and (min-width: 900px) {
    .artistas-header {
        padding: 2rem var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }

    .artista-imagem {
        height: 200px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.artista-nacionalidade {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 0.3rem;
}
