/* Página Nossos artistas — visual noturno inspirado no Spotify (referência visual, não marca registrada) */

:root {
    --sp-base: #121212;
    --sp-elevated: #181818;
    --sp-elevated-2: #282828;
    --sp-text: #ffffff;
    --sp-sub: #b3b3b3;
    --sp-sub-dark: #6a6a6a;
    --sp-green: #1ed760;
    --sp-green-hover: #1fdf64;
    --sp-cover-radius: 4px;
    --sp-avatar-size: clamp(120px, 28vw, 200px);
    --sp-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.page-spotify-artists {
    font-family: var(--sp-font);
    background: var(--sp-base);
    background-image: linear-gradient(180deg, #1e1e1e 0%, var(--sp-base) 32%);
    color: var(--sp-text);
    letter-spacing: -0.01em;
}

body.page-spotify-artists a {
    color: inherit;
    text-decoration: none;
}

body.page-spotify-artists a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Cabeçalho estilo app (noturno) */
body.page-spotify-artists .site-header {
    background: rgba(0, 0, 0, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}

body.page-spotify-artists .logo {
    color: var(--sp-text);
    letter-spacing: -0.03em;
    font-family: var(--sp-font);
    font-weight: 800;
    font-size: 1.5rem;
}

body.page-spotify-artists .logo:hover {
    color: var(--sp-text);
    text-decoration: none;
}

body.page-spotify-artists .site-nav a {
    color: var(--sp-sub);
    font-weight: 600;
    letter-spacing: -0.02em;
}

body.page-spotify-artists .site-nav a:hover {
    color: var(--sp-text);
    text-decoration: none;
}

body.page-spotify-artists .site-nav .nav-secondary {
    background: var(--sp-text);
    color: #000;
    border-color: transparent;
}

body.page-spotify-artists .site-nav .nav-secondary:hover {
    background: var(--sp-green);
    color: #000;
    border-color: transparent;
}

body.page-spotify-artists .nav-toggle {
    background: var(--sp-elevated-2);
    border-color: rgba(255, 255, 255, 0.1);
}

body.page-spotify-artists .nav-toggle-bar {
    background: var(--sp-text);
}

@media (max-width: 720px) {
    body.page-spotify-artists .site-nav {
        background: #000;
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }
}

body.page-spotify-artists .skip-link {
    background: var(--sp-green);
    color: #000;
}

/* Conteúdo principal */
.spotify-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem 4rem;
}

.spotify-hero {
    padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.artist-hero {
    position: relative;
    min-height: clamp(560px, 76vh, 760px);
    display: grid;
    align-items: center;
    overflow: hidden;
    margin-top: 1.25rem;
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: clamp(18px, 3vw, 32px);
    background: #050505;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
    isolation: isolate;
}

.artist-hero::before,
.artist-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.artist-hero::before {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.78) 42%, rgba(0, 0, 0, 0.26) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.78));
}

.artist-hero::after {
    background:
        radial-gradient(ellipse 62% 52% at 18% 24%, rgba(30, 215, 96, 0.18), transparent 70%),
        radial-gradient(ellipse 42% 38% at 72% 18%, rgba(255, 255, 255, 0.08), transparent 70%);
    mix-blend-mode: screen;
    opacity: 0.9;
}

.artist-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0.8rem;
    transform: scale(1.035);
}

.artist-hero-tile {
    position: relative;
    overflow: hidden;
    min-height: 0;
    border-radius: 18px;
    background: var(--sp-elevated);
    opacity: 0.82;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.artist-hero-tile:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.artist-hero-tile:nth-child(2) {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.artist-hero-tile:nth-child(3) {
    grid-column: 5 / 7;
    grid-row: 1 / 4;
}

.artist-hero-tile:nth-child(4) {
    grid-column: 1 / 4;
    grid-row: 3 / 6;
}

.artist-hero-tile:nth-child(5) {
    grid-column: 4 / 6;
    grid-row: 3 / 6;
}

.artist-hero-tile:nth-child(6) {
    grid-column: 6 / 8;
    grid-row: 4 / 6;
}

.artist-hero-tile:nth-child(7) {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
}

.artist-hero-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(2.2px) saturate(1.18) contrast(1.08);
    transform: scale(1.08);
}

.artist-hero-tile span {
    position: absolute;
    left: 0.85rem;
    bottom: 0.75rem;
    z-index: 1;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.58);
    color: var(--sp-text);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    backdrop-filter: blur(8px);
}

.artist-hero-tile--profile {
    border-radius: 26px;
}

.artist-hero-tile--spotlight {
    box-shadow:
        inset 0 0 0 1px rgba(30, 215, 96, 0.22),
        0 0 50px rgba(30, 215, 96, 0.08);
}

.artist-hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 680px);
    padding: clamp(1.35rem, 4vw, 2.75rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: clamp(18px, 3vw, 28px);
    background: rgba(18, 18, 18, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 76px rgba(0, 0, 0, 0.48);
}

.spotify-hero-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sp-sub);
}

.spotify-hero-title {
    margin: 0;
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.05;
    color: var(--sp-text);
}

.spotify-hero-lead {
    margin: 1rem 0 0;
    max-width: 42rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--sp-sub);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.artist-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: clamp(1.25rem, 3vw, 2rem) 0;
}

.artist-hero-stats div {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.artist-hero-stats dt {
    margin: 0 0 0.25rem;
    color: var(--sp-sub);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.artist-hero-stats dd {
    margin: 0;
    color: var(--sp-text);
    font-size: clamp(1rem, 2.5vw, 1.28rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.artist-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.spotify-hero-lead code {
    font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
    font-size: 0.82em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--sp-text);
}

.spotify-hero-lead strong {
    color: var(--sp-text);
    font-weight: 700;
}

@media (max-width: 760px) {
    .artist-hero {
        min-height: 700px;
        align-items: end;
    }

    .artist-hero::before {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.86) 58%, rgba(0, 0, 0, 0.96) 100%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.08));
    }

    .artist-hero-bg {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(7, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .artist-hero-tile:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .artist-hero-tile:nth-child(2) {
        grid-column: 3 / 4;
        grid-row: 1 / 3;
    }

    .artist-hero-tile:nth-child(3) {
        grid-column: 1 / 2;
        grid-row: 3 / 5;
    }

    .artist-hero-tile:nth-child(4) {
        grid-column: 2 / 4;
        grid-row: 3 / 4;
    }

    .artist-hero-tile:nth-child(5) {
        grid-column: 2 / 4;
        grid-row: 4 / 6;
    }

    .artist-hero-tile:nth-child(6) {
        grid-column: 1 / 4;
        grid-row: 6 / 7;
    }

    .artist-hero-tile:nth-child(7) {
        grid-column: 1 / 2;
        grid-row: 5 / 6;
    }

    .artist-hero-content {
        width: 100%;
    }

    .artist-hero-stats {
        grid-template-columns: 1fr;
    }
}

/* Grade de capas (quadrados com cantos levemente arredondados, estilo Spotify) */
.spotify-discography {
    margin-top: 2.5rem;
}

.spotify-section-label {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.spotify-cover-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.spotify-cover-link {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

.spotify-cover-link:hover .spotify-cover-title {
    text-decoration: underline;
}

.spotify-cover-art {
    aspect-ratio: 1;
    border-radius: var(--sp-cover-radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    margin-bottom: 0.65rem;
    background: var(--sp-elevated-2);
}

.spotify-cover-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spotify-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.35);
    background: linear-gradient(145deg, var(--ph-a, #333) 0%, var(--ph-b, #121212) 100%);
}

.spotify-cover-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--sp-text);
}

.spotify-cover-meta {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--sp-sub);
    letter-spacing: -0.01em;
}

/* Cartões de artista — foto circular (perfil) */
.spotify-artists {
    margin-top: 2.75rem;
}

.spotify-artist-card {
    display: grid;
    grid-template-columns: var(--sp-avatar-size) 1fr;
    gap: clamp(1.25rem, 4vw, 2.5rem);
    align-items: start;
    padding: clamp(1.5rem, 3vw, 2rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spotify-artist-card:last-of-type {
    border-bottom: 0;
}

@media (max-width: 640px) {
    .spotify-artist-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .spotify-artist-body {
        width: 100%;
    }

    .spotify-artist-actions {
        justify-content: center;
    }
}

/* Círculo de avatar (formato de foto de perfil no Spotify) */
.spotify-avatar {
    width: var(--sp-avatar-size);
    height: var(--sp-avatar-size);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
    background: linear-gradient(160deg, var(--av-a, #3d3d3d) 0%, var(--av-b, #1a1a1a) 100%);
}

.spotify-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spotify-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: rgba(255, 255, 255, 0.25);
}

.spotify-artist-card[data-artist="henri"] .spotify-avatar {
    --av-a: #3d2914;
    --av-b: #1a1510;
}

.spotify-artist-card[data-artist="gaab"] .spotify-avatar {
    --av-a: #143d2a;
    --av-b: #0f1a14;
}

.spotify-artist-card[data-artist="kt"] .spotify-avatar {
    --av-a: #2a1a3d;
    --av-b: #120f1a;
}

.spotify-artist-type {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sp-sub-dark);
}

.spotify-artist-name {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.1;
    color: var(--sp-text);
}

/* Linha de ouvintes mensais (hierarquia parecida com o perfil no Spotify) */
.spotify-monthly {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sp-sub);
    letter-spacing: -0.01em;
}

.spotify-monthly strong {
    font-weight: 700;
    color: var(--sp-text);
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.spotify-artist-bio {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--sp-sub);
    font-weight: 500;
    max-width: 38rem;
}

.spotify-artist-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.spotify-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.35rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}

.spotify-btn:active {
    transform: scale(0.98);
}

.spotify-btn--primary {
    background: var(--sp-green);
    color: #000;
}

.spotify-btn--primary:hover {
    background: var(--sp-green-hover);
    color: #000;
}

.spotify-btn--outline {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--sp-text);
    background: transparent;
}

.spotify-btn--outline:hover {
    border-color: var(--sp-text);
    background: rgba(255, 255, 255, 0.06);
}

/* Rodapé na página artistas */
body.page-spotify-artists .site-footer {
    background: #000;
    border-top-color: rgba(255, 255, 255, 0.06);
}

body.page-spotify-artists .footer-inner p {
    color: var(--sp-sub);
}
