/* ===== Album Page ===== */
.album-hero {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 40px 24px 24px;
    background: linear-gradient(180deg, var(--bg-elevated), var(--bg-secondary));
    margin: 0 -24px;
    margin-bottom: 24px;
}

.album-hero-cover {
    width: 232px;
    height: 232px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
    background: var(--bg-highlight);
}

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

.album-hero-info {
    flex: 1;
}

.album-hero-info .type {
    font-size: .8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.album-hero-info h1 {
    font-size: 3rem;
    font-weight: 900;
    margin: 8px 0;
    line-height: 1.1;
}

.album-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: .9rem;
    flex-wrap: wrap;
}

.album-hero-meta .dot {
    width: 4px;
    height: 4px;
    background: var(--text-secondary);
    border-radius: 50%;
}

.album-hero-meta .artist-link {
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
}

.album-hero-meta .artist-link:hover {
    text-decoration: underline;
}

.album-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 0 16px;
    margin-bottom: 8px;
}

.album-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.album-play-btn:hover {
    transform: scale(1.06);
    background: var(--accent-hover);
}

/* ===== Track List ===== */
.track-table-header {
    display: grid;
    grid-template-columns: 40px 1fr 1fr 80px;
    gap: 16px;
    padding: 0 16px 8px;
    border-bottom: 1px solid #ffffff10;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.track-row {
    display: grid;
    grid-template-columns: 40px 1fr 1fr 80px;
    gap: 16px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-items: center;
    transition: background var(--transition);
}

.track-row:hover {
    background: #ffffff10;
}

.track-row:hover .track-num {
    visibility: hidden;
}

.track-row:hover .track-play-icon {
    display: flex;
}

.track-row.playing {
    background: #ffffff08;
}

.track-row.playing .track-num,
.track-row.playing .track-title-text {
    color: var(--accent);
}

.track-num-cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-num {
    color: var(--text-muted);
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
}

.track-play-icon {
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.track-title-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.track-thumb {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-highlight);
}

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

.track-title-info {
    overflow: hidden;
}

.track-title-text {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist-text {
    font-size: .8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist-text:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.track-album-text {
    color: var(--text-secondary);
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-album-text:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.track-actions-cell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.track-like {
    opacity: 0;
    transition: opacity var(--transition);
}

.track-row:hover .track-like {
    opacity: 1;
}

.track-like.liked {
    opacity: 1;
}

.track-like.liked svg {
    fill: var(--accent);
    stroke: var(--accent);
}

.track-duration {
    color: var(--text-muted);
    font-size: .85rem;
    font-variant-numeric: tabular-nums;
}

.track-more {
    opacity: 0;
    transition: opacity var(--transition);
}

.track-row:hover .track-more {
    opacity: 1;
}

/* ===== Artist Page ===== */
.artist-hero {
    position: relative;
    padding: 60px 24px 24px;
    margin: 0 -24px;
    margin-bottom: 24px;
    background: linear-gradient(180deg, var(--bg-elevated), var(--bg-secondary));
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.artist-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: .3;
    filter: blur(40px);
}

.artist-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.artist-hero .monthly-listeners {
    color: var(--text-secondary);
    font-size: .9rem;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

.artist-content {
    padding: 0;
}

.artist-content h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.artist-content section {
    margin-bottom: 40px;
}

.artist-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 680px;
}

/* ===== Playlist Page ===== */
.playlist-cover-mosaic {
    width: 232px;
    height: 232px;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    flex-shrink: 0;
    background: var(--bg-highlight);
}

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

.playlist-cover-mosaic .mosaic-placeholder {
    background: var(--gradient-4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Equalizer Animation ===== */
.eq-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.eq-bars span {
    width: 3px;
    background: var(--accent);
    border-radius: 1px;
    animation: eqBounce 1s ease-in-out infinite;
}

.eq-bars span:nth-child(1) { animation-delay: 0s; height: 6px; }
.eq-bars span:nth-child(2) { animation-delay: .15s; height: 10px; }
.eq-bars span:nth-child(3) { animation-delay: .3s; height: 4px; }
.eq-bars span:nth-child(4) { animation-delay: .45s; height: 8px; }

@keyframes eqBounce {
    0%, 100% { height: 4px; }
    50% { height: 14px; }
}

/* ===== Notification Badge ===== */
.badge {
    background: var(--accent);
    color: #000;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 500px;
    margin-left: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .album-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .album-hero-cover {
        width: 200px;
        height: 200px;
    }
    .album-hero-info h1 {
        font-size: 1.8rem;
    }
    .album-hero-meta {
        justify-content: center;
    }
    .track-table-header,
    .track-row {
        grid-template-columns: 30px 1fr 60px;
    }
    .track-album-text {
        display: none;
    }
    .artist-hero h1 {
        font-size: 2.5rem;
    }
}
