/* 歌手页面样式 */
.artist-page {
    max-width: 1200px;
    margin: 0 auto;
    /* 增加顶部padding避免被导航栏遮住 */
    padding: 80px 20px 20px 20px;
}

.artist-container h1 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.artist-detail {
    margin-top: 30px;
}

.artist-header {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 30px;
}

.artist-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.artist-info h2 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.artist-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Spotify 统计信息 */
.spotify-stats {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 14px;
}

.stat-item i {
    font-size: 16px;
    color: #1abc9c;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-value {
    color: var(--text-primary);
    font-weight: 600;
}

.popularity-bar {
    width: 100px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.popularity-fill {
    height: 100%;
    background: linear-gradient(90deg, #1DB954 0%, #1ed760 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.artist-songs h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .artist-header {
        flex-direction: column;
        text-align: center;
    }

    .artist-avatar {
        margin: 0 auto;
    }

    .spotify-stats {
        flex-direction: column;
    }
}
/* רбʽ */
.albums-section {
    margin-top: 30px;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.album-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.album-card:hover, .album-card.active {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.album-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

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

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-overlay i {
    font-size: 2rem;
    color: white;
}

.album-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* רб */
.album-songs-section {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 20px;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.section-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.album-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.song-duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-right: 15px;
}

