/* ==========================================
   ARTIST PROFILE
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:#0f0f0f;
    color:#fff;
    font-family:Poppins,sans-serif;

}

.artist-page{

    max-width:1600px;

    margin:auto;

    padding-bottom:80px;

}

/* ==========================================
   BANNER
========================================== */

.artist-banner{

    width:100%;
    height:380px;

    overflow:hidden;

    position:relative;

    border-radius:0 0 30px 30px;

}

.artist-banner::after{

    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:180px;

    background:linear-gradient(
        transparent,
        #0f0f0f
    );

}

.artist-banner img{

    width:100%;
    height:100%;

    object-fit:cover;

}

/* ==========================================
   HEADER
========================================== */

.artist-header{

    margin-top:-120px;

    position:relative;

    z-index:5;

    display:flex;

    gap:40px;

    align-items:flex-end;

    padding:0 60px;

}

.artist-avatar{

    width:220px;

    height:220px;

    border-radius:50%;

    overflow:hidden;

    border:8px solid #0f0f0f;

    background:#222;

    box-shadow:0 20px 50px rgba(0,0,0,.5);

    flex-shrink:0;

}

.artist-avatar img{

    width:100%;
    height:100%;

    object-fit:cover;

}

.artist-info{

    flex:1;

    padding-bottom:20px;

}

.artist-info h1{

    font-size:52px;

    font-weight:700;

    margin-bottom:15px;

}

.verified{

    color:#1db954;

    margin-left:12px;

}

.artist-info p{

    color:#bdbdbd;

    font-size:18px;

    line-height:1.8;

    max-width:900px;

}

/* ==========================================
   SOCIALS
========================================== */

.artist-socials{

    display:flex;

    gap:15px;

    margin-top:30px;

}

.artist-socials a{

    width:55px;

    height:55px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:#fff;

    background:#1e1e1e;

    font-size:22px;

    transition:.25s;

}

.artist-socials a:hover{

    transform:translateY(-4px);

    background:#d4af37;

    color:#111;

}

/* ==========================================
   BUTTONS
========================================== */

.artist-buttons{

    display:flex;

    gap:20px;

    margin:50px 60px;

}

.artist-buttons button{

    border:none;

    cursor:pointer;

    border-radius:40px;

    padding:16px 35px;

    font-size:16px;

    font-weight:600;

    transition:.25s;

}

.play-btn{

    background:#1db954;

    color:#fff;

}

.play-btn:hover{

    transform:scale(1.05);

}

.follow-btn{

    background:#2b2b2b;

    color:#fff;

}

.follow-btn:hover{

    background:#444;

}

/* ==========================================
   CONTENT
========================================== */

.artist-content{

    padding:0 60px;

}

.artist-section{

    margin-top:70px;

}

.artist-section h2{

    font-size:34px;

    margin-bottom:30px;

}

/* ==========================================
   SONG CARD
========================================== */

.song-card{

    display:flex;

    align-items:center;

    gap:20px;

    padding:20px;

    border-radius:18px;

    background:#1a1a1a;

    transition:.25s;

    margin-bottom:15px;

}

.song-card:hover{

    background:#242424;

}

.song-card img{

    width:80px;

    height:80px;

    border-radius:12px;

    object-fit:cover;

}

.song-info{

    flex:1;

}

.song-info h3{

    margin-bottom:8px;

}

.song-meta{

    color:#9c9c9c;

    display:flex;

    gap:20px;

}

.song-play{

    width:60px;

    height:60px;

    border-radius:50%;

    background:#1db954;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    font-size:22px;

}

/* ==========================================
   ALBUM GRID
========================================== */

.album-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));

    gap:25px;

}

.album-card{

    background:#1b1b1b;

    border-radius:18px;

    overflow:hidden;

    transition:.25s;

}

.album-card p{

    padding:0 18px 18px;

    color:#999;

    font-size:14px;

}

.album-card:hover{

    transform:translateY(-8px);

}

.album-card img{

    width:100%;

    aspect-ratio:1;

    object-fit:cover;

}

.album-card h3{

    padding:18px;

}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:900px){

.artist-header{

    flex-direction:column;

    align-items:center;

    text-align:center;

    margin-top:-90px;

    padding:0 25px;

}

.artist-avatar{

    width:180px;

    height:180px;

}

.artist-info h1{

    font-size:36px;

}

.artist-buttons{

    justify-content:center;

    flex-wrap:wrap;

    margin:40px 20px;

}

.artist-content{

    padding:0 20px;

}

.artist-socials{

    justify-content:center;

}

}
/* ==========================================
   PUBLIC ARTIST PROFILE 2.0
========================================== */

.public-artist-body{
    min-height:100vh;
    background:radial-gradient(circle at top,#1c2330 0,#090a0d 42%,#050506 100%);
    color:#fff;
    font-family:Arial,Helvetica,sans-serif;
}

.public-artist-page{
    max-width:1500px;
    margin:0 auto;
    padding-bottom:130px;
}

.public-artist-hero{
    position:relative;
    height:390px;
    overflow:hidden;
    border-radius:0 0 34px 34px;
    background:#15161a;
}

.public-artist-banner{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:saturate(1.06) contrast(1.04);
}

.public-artist-hero-shade{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(5,6,8,.72) 66%,#090a0d 100%);
}

.public-artist-topbar{
    position:absolute;
    top:22px;
    left:22px;
    right:22px;
    z-index:2;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
}

.public-back-link,
.public-share-btn,
.public-primary-btn,
.public-secondary-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:44px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:999px;
    padding:0 18px;
    color:#fff;
    background:rgba(17,19,24,.72);
    backdrop-filter:blur(14px);
    text-decoration:none;
    cursor:pointer;
    transition:.22s ease;
    font-weight:700;
}

.public-share-btn{
    border:none;
}

.public-back-link:hover,
.public-share-btn:hover,
.public-secondary-btn:hover{
    background:rgba(255,255,255,.12);
    transform:translateY(-2px);
}

.public-artist-header{
    position:relative;
    z-index:3;
    margin-top:-110px;
    padding:0 46px 34px;
    display:flex;
    align-items:flex-end;
    gap:30px;
}

.public-artist-avatar{
    width:210px;
    height:210px;
    border-radius:50%;
    border:7px solid #090a0d;
    object-fit:cover;
    background:#222;
    box-shadow:0 24px 70px rgba(0,0,0,.55);
    flex-shrink:0;
}

.public-artist-info{
    flex:1;
    min-width:0;
}

.public-kicker{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#1db954;
    font-weight:800;
    font-size:13px;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:10px;
}

.public-artist-info h1{
    font-size:clamp(42px,6vw,82px);
    line-height:1;
    margin:0 0 12px;
    letter-spacing:-.05em;
}

.public-verified{
    color:#1db954;
    font-size:.45em;
    vertical-align:middle;
    margin-left:10px;
}

.public-artist-handle{
    color:#b8bec8;
    font-size:16px;
    line-height:1.6;
    margin-bottom:22px;
}

.public-artist-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.public-primary-btn{
    background:#1db954;
    border-color:#1db954;
    color:#071108;
}

.public-primary-btn:hover{
    transform:translateY(-2px) scale(1.02);
    box-shadow:0 12px 30px rgba(29,185,84,.28);
}

.public-secondary-btn{
    background:#1b1e25;
}

.public-socials{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.public-socials a{
    width:44px;
    height:44px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:rgba(255,255,255,.08);
    text-decoration:none;
    transition:.22s ease;
}

.public-socials a:hover{
    background:#1db954;
    color:#071108;
    transform:translateY(-2px);
}

.public-artist-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:24px;
    padding:0 46px;
}

.public-main-column,
.public-side-column{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.public-card{
    background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.035));
    border:1px solid rgba(255,255,255,.08);
    border-radius:26px;
    padding:26px;
    box-shadow:0 18px 50px rgba(0,0,0,.22);
}

.public-section-head{
    margin-bottom:18px;
}

.public-section-head h2,
.public-card h3{
    margin:0;
    font-size:26px;
}

.public-about-card p,
.public-muted{
    color:#c5cad4;
    line-height:1.75;
    font-size:16px;
}

.public-featured-song,
.public-song-row{
    width:100%;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:16px;
    border:none;
    border-radius:18px;
    background:rgba(255,255,255,.055);
    color:#fff;
    padding:12px;
    text-align:left;
    cursor:pointer;
    transition:.2s ease;
}

.public-featured-song:hover,
.public-song-row:hover{
    background:rgba(29,185,84,.14);
    transform:translateY(-2px);
}

.public-featured-song img{
    width:96px;
    height:96px;
    object-fit:cover;
    border-radius:14px;
}

.public-featured-song strong,
.public-song-row strong{
    display:block;
    font-size:17px;
    margin-bottom:5px;
}

.public-featured-song small,
.public-song-row small{
    color:#9ea6b3;
}

.public-song-list{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.public-song-row{
    grid-template-columns:38px 56px minmax(0,1fr) auto 32px;
}

.public-song-row img{
    width:56px;
    height:56px;
    object-fit:cover;
    border-radius:10px;
}

.public-song-number,
.public-song-metric{
    color:#8c93a1;
    font-weight:700;
}

.public-song-text{
    min-width:0;
}

.public-song-text strong,
.public-song-text small{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.public-empty{
    padding:24px;
    border-radius:18px;
    background:rgba(255,255,255,.05);
    color:#aeb5c2;
}

.public-stat-list{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:18px;
}

.public-stat-list div{
    background:rgba(255,255,255,.055);
    border-radius:18px;
    padding:16px 12px;
    text-align:center;
}

.public-stat-list strong{
    display:block;
    font-size:26px;
    color:#1db954;
}

.public-stat-list small{
    color:#aeb5c2;
}

.public-tag-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:16px;
}

.public-tag-list span{
    padding:10px 14px;
    border-radius:999px;
    background:rgba(29,185,84,.13);
    color:#d9ffe4;
    font-weight:700;
}

.public-album-list{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:16px;
}

.public-album-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px;
    border-radius:16px;
    background:rgba(255,255,255,.05);
}

.public-album-item img{
    width:54px;
    height:54px;
    border-radius:10px;
    object-fit:cover;
}

.public-album-item strong,
.public-album-item small{
    display:block;
}

.public-album-item small{
    color:#9ea6b3;
    margin-top:4px;
}

.public-mini-player{
    position:fixed;
    left:22px;
    right:22px;
    bottom:22px;
    z-index:50;
    max-width:540px;
    margin:0 auto;
    display:grid;
    grid-template-columns:58px minmax(0,1fr) 48px;
    align-items:center;
    gap:14px;
    padding:12px;
    border-radius:22px;
    background:rgba(17,19,24,.94);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 20px 70px rgba(0,0,0,.45);
    backdrop-filter:blur(18px);
}

.public-mini-player[hidden]{
    display:none;
}

.public-mini-player img{
    width:58px;
    height:58px;
    border-radius:14px;
    object-fit:cover;
}

.public-mini-player strong,
.public-mini-player small{
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.public-mini-player small{
    color:#9ea6b3;
    margin-top:4px;
}

.public-mini-player button{
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:#1db954;
    color:#061007;
    cursor:pointer;
}

.artist-inline-link{
    display:inline-flex;
    width:max-content;
    max-width:100%;
    border:none;
    background:none;
    padding:0;
    font:inherit;
    color:var(--muted,#9da3ae);
    cursor:pointer;
}

.artist-inline-link:hover{
    color:#1db954;
    text-decoration:underline;
}

.sn-action[href]{
    text-decoration:none;
}

@media(max-width:900px){
    .public-artist-hero{
        height:300px;
        border-radius:0 0 24px 24px;
    }

    .public-artist-topbar{
        top:14px;
        left:14px;
        right:14px;
    }

    .public-share-btn span{
        display:none;
    }

    .public-artist-header{
        margin-top:-78px;
        padding:0 18px 24px;
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
    }

    .public-artist-avatar{
        width:142px;
        height:142px;
        border-width:5px;
    }

    .public-artist-info h1{
        font-size:42px;
    }

    .public-artist-grid{
        grid-template-columns:1fr;
        padding:0 16px;
    }

    .public-card{
        border-radius:22px;
        padding:20px;
    }

    .public-song-row{
        grid-template-columns:42px minmax(0,1fr) 28px;
    }

    .public-song-number,
    .public-song-metric{
        display:none;
    }

    .public-song-row img{
        width:42px;
        height:42px;
    }

    .public-stat-list{
        grid-template-columns:1fr 1fr 1fr;
    }

    .public-primary-btn,
    .public-secondary-btn{
        width:100%;
    }

    .public-artist-actions{
        flex-direction:column;
    }
}


/* Embedded public profile inside SoundNation app overlay */
.public-artist-body.public-artist-embedded{
    background:#0b0b0d;
    overflow-x:hidden;
}

.public-artist-embedded .public-artist-page{
    padding-bottom:20px;
}

.public-artist-embedded .public-artist-topbar{
    display:none;
}

.public-artist-embedded .public-mini-player{
    display:none !important;
}

.public-artist-embedded .public-secondary-btn{
    display:none;
}

.public-artist-embedded .public-artist-hero{
    min-height:220px;
}

@media(max-width:900px){
    .public-artist-embedded .public-artist-grid{
        display:block;
    }

    .public-artist-embedded .public-artist-header{
        padding-left:16px;
        padding-right:16px;
    }
}


/* ==========================================
   PUBLIC FOLLOW BUTTON
========================================== */
.public-secondary-btn.active,
.public-follow-btn.active{
    background:rgba(29,185,84,.18);
    border-color:rgba(29,185,84,.6);
    color:#fff;
}

#publicFollowBtn span{
    pointer-events:none;
}
