/* artist.css  */

.artist-page {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.artist-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px 30px;
    color: white;
    text-align: center;
}

.artist-header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    word-break: break-word;
}

.artist-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.stat {
    font-size: 0.9rem;
    opacity: 0.8;
    background: rgba(255,255,255,0.15);
    padding: 5px 15px;
    border-radius: 30px;
}

.songs-container {
    padding: 20px;
}

.songs-header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.songs-header .col-number {
    width: 55px;
    flex-shrink: 0;
}

.songs-header .col-song {
    flex: 1;
}

.songs-header .col-album {
    width: 200px;
    flex-shrink: 0;
}

.songs-header div:last-child {
    width: 106px;
    flex-shrink: 0;
}

.song-row {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
    background: white;
}

.song-row:hover {
    background: #fafafa;
}

.song-row .col-number {
    width: 55px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #999;
    flex-shrink: 0;
}

.song-row .col-song {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-row .col-album {
    width: 200px;
    font-size: 0.85rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.song-row .no-album {
    color: #ccc;
}

.song-row .view-btn {
    background: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    margin-left: 16px;
    flex-shrink: 0;
    text-align: center;
    min-width: 90px;
}

.song-row .view-btn:hover {
    background: #e74c3c;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
}

.empty-state p {
    color: #999;
    margin-bottom: 20px;
}

.search-tip {
    font-size: 0.85rem;
    color: #bbb;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
}

.back-link:hover {
    color: #e74c3c;
}

/*  Ad Container Styles */
.ad-container {
    margin: 30px auto 20px;
    text-align: center;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 10px;
}


@media (max-width: 768px) {
    .artist-header {
        padding: 25px 20px;
    }
    
    .artist-header h1 {
        font-size: 1.5rem;
    }
    
    .artist-stats {
        gap: 15px;
    }
    
    .stat {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    .songs-container {
        padding: 15px;
    }
    
    .songs-header {
        font-size: 0.7rem;
        padding: 10px 12px;
    }
    
    .songs-header .col-number {
        width: 45px;
    }
    
    .songs-header .col-album {
        width: 120px;
    }
    
    .song-row {
        padding: 10px 12px;
    }
    
    .song-row .col-number {
        width: 45px;
        font-size: 0.85rem;
    }
    
    .song-row .col-song {
        font-size: 0.9rem;
    }
    
    .song-row .col-album {
        width: 120px;
        font-size: 0.75rem;
    }
    
    .song-row .view-btn {
        min-width: 70px;
        padding: 4px 10px;
        font-size: 0.65rem;
    }
    
    .ad-container {
        margin: 20px auto 15px;
        padding: 8px;
    }
}


@media (max-width: 600px) {
   
    .songs-header .col-album,
    .song-row .col-album {
        display: none;
    }
    
    .songs-header div:last-child,
    .song-row .view-btn {
        display: inline-block;
    }
    
    .song-row .view-btn {
        min-width: 60px;
        padding: 3px 8px;
        font-size: 0.6rem;
    }
    
    .ad-container {
        margin: 15px auto;
        padding: 6px;
    }
}


@media (max-width: 480px) {
    .artist-header h1 {
        font-size: 1.2rem;
    }
    
    .stat {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    
    .song-row .col-number {
        width: 35px;
        font-size: 0.75rem;
    }
    
    .song-row .col-song {
        font-size: 0.8rem;
    }
    
    .song-row .view-btn {
        min-width: 50px;
        padding: 2px 6px;
        font-size: 0.55rem;
    }
}

/* Animation Effects */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.artist-page {
    animation: fadeIn 0.3s ease-out;
}