/* ============================================
   PERFIL PÚBLICO DO ARTISTA
   Inspirado no SuaMúsica + PalcoMP3
   Criado especialmente para SOMP3TOP
============================================ */

.artist-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-bottom: 40px;
    font-family: 'Inter', sans-serif;
}

/* ===================== CAPA ===================== */

.artist-cover {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid #ff6600;
}

.artist-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

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

.artist-header {
    display: flex;
    gap: 25px;
    margin-top: -70px;
    padding: 0 20px;
    align-items: flex-end;
}

.artist-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    background: #fff;
}

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

.artist-info h1 {
    font-size: 32px;
    margin: 0;
    color: #222;
    font-weight: 700;
}

.artist-username {
    margin-top: 5px;
    color: #ff6600;
    font-weight: 600;
    font-size: 16px;
}

.artist-meta span {
    margin-right: 12px;
    font-size: 14px;
    color: #666;
}

.artist-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
}

.artist-actions .btn-orange,
.artist-actions .btn-outline {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: .2s ease;
}

/* Botão laranja estilo SuaMúsica */
.btn-orange {
    background: #ff6600;
    color: #fff;
    border: none;
    font-weight: 600;
}

.btn-orange:hover {
    background: #e95a00;
}

/* Botão outline */
.btn-outline {
    background: transparent;
    border: 1.8px solid #ff6600;
    color: #ff6600;
    font-weight: 600;
}

.btn-outline:hover {
    background: #ff6600;
    color: #fff;
}

/* ===================== ESTATÍSTICAS ===================== */

.artist-stats {
    margin: 35px 0;
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

.stat-box {
    text-align: center;
}

.stat-box strong {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #222;
}

.stat-box span {
    font-size: 14px;
    color: #666;
}

/* ===================== SEÇÕES ===================== */

.artist-section {
    padding: 0 20px;
    margin-bottom: 35px;
}

.artist-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin-bottom: 18px;
}

/* ===================== ÁLBUNS ===================== */

.album-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.album-card {
    text-align: center;
    transition: .3s ease;
}

.album-card:hover {
    transform: translateY(-4px);
}

.album-cover {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.album-card h3 {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

/* ===================== MENSAGEM DE VAZIO ===================== */

.empty-msg {
    color: #777;
    padding: 15px;
    text-align: center;
}

/* ===================== RESPONSIVIDADE ===================== */

@media (max-width: 768px) {
    .artist-header {
        flex-direction: column;
        align-items: center;
        margin-top: -50px;
        text-align: center;
    }

    .artist-avatar {
        width: 120px;
        height: 120px;
    }

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

    .artist-stats {
        flex-wrap: wrap;
        gap: 25px;
        padding: 15px 10px;
    }

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

    .album-cover {
        height: 150px;
    }
}

@media (max-width: 450px) {
    .artist-info h1 {
        font-size: 22px;
    }

    .artist-section h2 {
        font-size: 20px;
    }
}
/* ===========================
   CAPA DO PERFIL
=========================== */

.artist-cover-wrapper {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-bottom: 4px solid #ff7b00;
    position: relative;
}

.artist-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* impede de invadir o avatar */
    display: block;
}

/* ===========================
   AVATAR
=========================== */

.artist-avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin-top: -75px; /* puxa para cima */
    margin-left: 40px;
    z-index: 10;
}

.artist-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.25);
    background: #fff;
    object-fit: cover;
}

/* Verificado */
.verify-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #0095f6; /* azul */
}
.verify-gold { background: #d4af37; }
.verify-white { background: #fff; color: #000; }
.artist-metrics {
    display: flex;
    justify-content: space-around;
    background: #fff;
    border-radius: 16px;
    padding: 25px 0;
    margin: 20px auto;
    max-width: 1100px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.metric-box h3 {
    font-size: 32px;
    color: #ff7b00;
    margin: 0;
    text-align: center;
}

.metric-box p {
    margin: 0;
    color: #777;
}
/* =========================
   PERFIL PÚBLICO
========================= */

/* CAPA */
.artist-cover-wrapper {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-bottom: 4px solid #ff7b00;
    position: relative;
}

.artist-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* HEADER */
.artist-header {
    display: flex;
    align-items: flex-end;
    padding: 0 40px;
    margin-top: -60px;
}

/* Avatar */
.artist-avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    z-index: 10;
}

.artist-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    background: #fff;
    object-fit: cover;
}

/* Verificado */
.verify-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;
    border-radius: 20px;
    background: #0095f6;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.verify-gold {
    background: #d4af37;
}

.verify-white {
    background: #fff;
    color: #000;
}

/* Info */
.artist-info {
    margin-left: 25px;
}

.artist-info h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
}

.artist-username {
    margin: 4px 0;
    color: #6e6e6e;
}

.artist-location {
    margin-top: 5px;
    color: #777;
}

/* Botões */
.artist-actions {
    margin-top: 12px;
    display: flex;
    gap: 12px;
}

.btn-follow,
.btn-share {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-follow {
    background: #ff7b00;
    color: #fff;
}

.btn-share {
    background: #f1f1f1;
    color: #333;
}

/* =========================
   MÉTRICAS
========================= */
.artist-metrics {
    display: flex;
    justify-content: space-around;
    background: #fff;
    border-radius: 16px;
    padding: 25px 0;
    margin: 30px auto;
    max-width: 1100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.metric-box h3 {
    font-size: 32px;
    color: #ff7b00;
    text-align: center;
}

.metric-box p {
    margin: 0;
    color: #777;
    text-align: center;
}

/* =========================
   SEÇÕES
========================= */

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 40px 20px;
}

/* Grids */
.music-grid,
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 25px;
    padding: 0 40px 40px;
}

.music-card,
.album-card {
    text-decoration: none;
    color: #000;
}

.music-cover,
.album-cover {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    object-fit: cover;
    background: #eee;
}

.music-title,
.album-title {
    margin: 8px 0 2px;
    font-size: 16px;
    font-weight: 600;
}

.music-plays,
.album-plays {
    color: #777;
    font-size: 12px;
}

/* RESPONSIVIDADE */
@media(max-width: 600px) {
    .artist-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -80px;
    }

    .artist-info {
        margin-left: 0;
    }
}
/* ===========================
   PÁGINA SINGLE - ESTILO SUA MÚSICA
=========================== */

.musicPage {
    max-width: 960px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

/* CABEÇALHO */
.musicHeader {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.coverBox img {
    width: 240px;
    height: 240px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.infoBox {
    flex: 1;
}

.musicTitle {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
}

.artistInfo {
    display: flex;
    gap: 10px;
}

.artistAvatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.artistName {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.meta span {
    display: inline-block;
    color: #777;
    font-size: 13px;
    margin-right: 10px;
}

.stats {
    margin-top: 10px;
}

.stats span {
    background: #f3f3f3;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 8px;
    font-size: 14px;
    font-weight: 700;
}

.stats .plays { color: #ff6600; }
.stats .downloads { color: #0095ff; }

/* BOTÃO SEGUIR */
.btnFollow {
    margin-top: 12px;
    background: #2ecc71;
    padding: 8px 18px;
    color: white;
    font-size: 14px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

/* PLAYER */
.audioBox {
    margin: 35px 0;
}

.audioBox audio {
    width: 100%;
    height: 55px;
}

/* BOTÃO BAIXAR */
.btnDownloadBig {
    display: block;
    width: 100%;
    background: #e60000;
    color: #fff;
    padding: 16px 0;
    text-align: center;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* BOTÃO VER ÁLBUM */
.btnAlbumBig {
    display: block;
    width: 100%;
    background: #008cff;
    color: #fff;
    padding: 16px 0;
    text-align: center;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* COMPARTILHAMENTO */
.shareBox {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

.share {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.share.fb { background: #1877f2; }
.share.whats { background: #25D366; }
.share.x { background: #000; }
.share.sharebtn { background: #ff0080; }

.shareInput {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
}
