/* ===================================== */
/*            ARTIST CARDS               */
/* ===================================== */

.artist-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-width: 160px;
    animation: cardAppear 0.5s ease-out;
}

.artist-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--accent-glow);
}

/* Обложка */
.artist-cover {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.artist-card:hover .artist-cover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.artist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Бейдж лайка */
.artist-liked {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255,75,75,0.9);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 2px solid var(--bg-card);
    z-index: 2;
}

/* Имя */
.artist-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Мета-информация */
.artist-meta {
    font-size: 12px;
    color: var(--text-dim);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.artist-plays {
    color: var(--accent);
}

/* Карточка для поиска (уменьшенная) */
.artist-card.search-card {
    min-width: 120px;
    padding: 15px;
}

.artist-card.search-card .artist-cover {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.artist-card.search-card .artist-name {
    font-size: 14px;
}

/* Сетка артистов */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Горизонтальный скролл */
.artists-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 20px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.artists-scroll::-webkit-scrollbar {
    height: 4px;
}

.artists-scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

/* Пустое состояние */
.empty-artists {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-artists h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #fff;
}

.empty-artists p {
    font-size: 14px;
    margin: 0;
    opacity: 0.7;
}

/* Анимации */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Задержки для анимации */
.artist-card:nth-child(1) { animation-delay: 0.05s; }
.artist-card:nth-child(2) { animation-delay: 0.1s; }
.artist-card:nth-child(3) { animation-delay: 0.15s; }
.artist-card:nth-child(4) { animation-delay: 0.2s; }
.artist-card:nth-child(5) { animation-delay: 0.25s; }
.artist-card:nth-child(6) { animation-delay: 0.3s; }
.artist-card:nth-child(7) { animation-delay: 0.35s; }
.artist-card:nth-child(8) { animation-delay: 0.4s; }
.artist-card:nth-child(9) { animation-delay: 0.45s; }
.artist-card:nth-child(10) { animation-delay: 0.5s; }

/* Адаптив */
@media (max-width: 768px) {
    .artist-card {
        min-width: 120px;
        padding: 15px;
    }
    
    .artist-cover {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }
    
    .artist-name {
        font-size: 14px;
    }
    
    .artist-meta {
        font-size: 11px;
    }
    
    .artists-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .artist-card.search-card {
        min-width: 100px;
        padding: 12px;
    }
    
    .artist-card.search-card .artist-cover {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .artist-card {
        min-width: 100px;
        padding: 12px;
    }
    
    .artist-cover {
        width: 70px;
        height: 70px;
    }
    
    .artist-name {
        font-size: 12px;
    }
    
    .artist-meta {
        font-size: 10px;
    }
    
    .artists-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
}