/* Artist Page Styles */
.artist-page-container {
    padding: 19.20px;
    min-height: 100%;
    display: none;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(20.80px) saturate(180%);
    -webkit-backdrop-filter: blur(20.80px) saturate(180%);
    border-radius: 19.20px;
    border: 0.80px solid var(--glass-border);
    box-shadow: 0 19.20px 64px rgba(0, 0, 0, 0.6);
    position: relative;
    transform-origin: center top;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    overflow: hidden; /* Ensure background doesn't spill */
    padding-bottom: 128px;
}

.artist-page-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--artist-bg, none);
    background-size: cover;
    background-position: center;
    filter: blur(48px) brightness(0.4) saturate(1.2);
    z-index: -1;
    opacity: 0.5;
    transition: background-image 0.8s ease;
    pointer-events: none;
}

.artist-page-container.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.artist-header {
    display: flex;
    align-items: center;
    margin-bottom: 25.60px;
    padding: 19.20px 19.20px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(32px) saturate(120%);
    -webkit-backdrop-filter: blur(32px) saturate(120%);
    border: 0.80px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14.40px 36px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Shine effect for header */
.artist-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    animation: shine 6s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.artist-cover-large {
    width: 112px;
    height: 112px;
    border-radius: 19.20px;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
    margin-right: 19.20px;
    border: 1.60px solid var(--glass-highlight);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.5s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.3s ease;
}

.artist-header:hover .artist-cover-large {
    transform: translateY(-4.80px) scale(1.03);
    box-shadow: 0 20.80px 56px rgba(0, 0, 0, 0.7);
    border-color: var(--dynamic-accent);
}

.artist-info {
    flex: 1;
}

.artist-name {
    font-size: 1.92rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 1.60px 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #ffffff, #cfcfcf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.artist-bio {
    font-size: 0.76rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.artist-stats {
    display: flex;
    gap: 9.60px;
    font-size: 0.68rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
    margin-top: 12px;
}

.artist-stat-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 6.40px 12.80px;
    border-radius: 24px;
    border: 0.80px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 6.40px;
    backdrop-filter: blur(9.60px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
    color: rgba(255,255,255,0.9);
}

.artist-stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1.60px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.artist-stat-item i {
    color: var(--dynamic-accent);
    font-size: 0.80rem;
}

.artist-stat-item span {
    font-weight: 600;
}

.artist-songs-section {
    margin-top: 19.20px;
}

.artist-songs-section .song-list-header {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12.80px;
    padding-inline: 9.60px;
    border: 0.80px solid rgba(255, 255, 255, 0.06);
}

.artist-songs-section .song-list {
    margin-top: 6.40px;
}

.back-btn-artist {
    background: rgba(0, 0, 0, 0.25);
    border: 0.80px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 0.96rem;
    cursor: pointer;
    margin-bottom: 16px;
    padding: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.back-btn-artist:hover {
    background: var(--glass-highlight);
    transform: translateX(-1.60px) translateY(-1.60px) scale(1.05);
    box-shadow: 0 12.80px 32px rgba(0, 0, 0, 0.6);
}

.artist-link {
    cursor: pointer;
    transition: color 0.2s;
}

.artist-link:hover {
    color: var(--dynamic-accent);
    text-decoration: underline;
}
