/**
 * LLUM RECORDS - Estilos página de artista
 */

/* --- ARTISTA PAGE --- */
.artista-page {
    padding-top: 80px;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
    transition: color 0.3s;
}

.back-link:hover {
    color: white;
}

/* --- HERO DEL ARTISTA --- */
.artista-hero {
    position: relative;
    padding: 60px 0 100px;
    overflow: hidden;
}

.artista-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    filter: blur(60px);
    transform: scale(1.2);
}

.artista-hero-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Imagen del artista */
.artista-imagen-wrapper {
    position: relative;
}

.artista-imagen {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Info del artista */
.artista-info-hero {
    max-width: 600px;
}

.artista-genero-tag {
    display: inline-block;
    background: rgba(168, 85, 247, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-family: monospace;
}

.artista-nombre {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.artista-bio {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Enlaces de plataformas */
.artista-enlaces {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.enlace-plataforma {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.3s;
}

.enlace-plataforma svg {
    width: 16px;
    height: 16px;
}

.enlace-plataforma:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* --- SECCIÓN MÚSICA --- */
.artista-musica {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(168, 85, 247, 0.02));
}

/* Spotify Player */
.spotify-player-container {
    margin-top: 40px;
    margin-bottom: 60px;
}

.spotify-player-wrapper {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Estadísticas del artista */
.artista-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lanzamientos */
.releases-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--surface-border);
}

.releases-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.release-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.release-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.15);
}

.release-cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.release-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8);
    transition: all 0.4s;
}

.release-card:hover .release-cover img {
    filter: saturate(1);
    transform: scale(1.05);
}

.release-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.release-year {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.release-info {
    padding: 20px;
}

.release-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.release-type {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Plataformas */
.platforms-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--surface-border);
    text-align: center;
}

.platforms-title {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.platforms-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.platform-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 50px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.platform-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.platform-icon {
    width: 24px;
    height: 24px;
}

.platform-icon svg {
    width: 100%;
    height: 100%;
}

.platform-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- OTROS ARTISTAS --- */
.otros-artistas {
    padding: 100px 0;
    border-top: 1px solid var(--surface-border);
}

.otros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.otro-artista-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
}

.otro-artista-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.6);
    transition: all 0.5s;
}

.otro-artista-card:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.otro-artista-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.otro-genero {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
}

.otro-artista-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 5px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .artista-hero-content {
        grid-template-columns: 300px 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .artista-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .artista-imagen-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }

    .artista-info-hero {
        max-width: 100%;
    }

    .artista-enlaces {
        justify-content: center;
    }

    .artista-nombre {
        font-size: 2.2rem;
    }

    .artista-bio {
        font-size: 1rem;
    }

    .artista-musica {
        padding: 60px 0;
    }

    .spotify-player-container {
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .spotify-player-wrapper {
        max-width: 100%;
    }

    .spotify-player-wrapper iframe {
        height: 300px;
    }

    .artista-stats {
        gap: 25px;
        padding: 20px 15px;
        max-width: 100%;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .releases-section {
        margin-top: 50px;
        padding-top: 40px;
    }

    .releases-title {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .release-info {
        padding: 15px;
    }

    .release-title {
        font-size: 0.95rem;
    }

    .release-type {
        font-size: 0.7rem;
    }

    .platforms-section {
        margin-top: 50px;
        padding-top: 40px;
    }

    .platforms-title {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .platforms-grid {
        gap: 10px;
    }

    .platform-card {
        padding: 12px 16px;
    }

    .platform-name {
        display: none;
    }

    .platform-icon {
        width: 22px;
        height: 22px;
    }

    .otros-artistas {
        padding: 60px 0;
    }

    .otros-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .otro-artista-card {
        aspect-ratio: 1;
    }

    .otro-artista-info {
        padding: 15px;
    }

    .otro-artista-info h3 {
        font-size: 1.1rem;
    }

    .otro-genero {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .artista-page {
        padding-top: 70px;
    }

    .artista-hero {
        padding: 30px 0 50px;
    }

    .back-link {
        font-size: 0.8rem;
        margin-bottom: 25px;
    }

    .artista-imagen-wrapper {
        max-width: 200px;
    }

    .artista-genero-tag {
        font-size: 0.7rem;
        padding: 6px 12px;
        margin-bottom: 15px;
    }

    .artista-nombre {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .artista-bio {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .enlace-plataforma {
        width: 36px;
        height: 36px;
    }

    .enlace-plataforma svg {
        width: 16px;
        height: 16px;
    }

    .artista-musica {
        padding: 50px 0;
    }

    .artista-musica .section-title {
        font-size: 1.5rem;
    }

    .spotify-player-wrapper iframe {
        height: 280px;
    }

    .artista-stats {
        flex-direction: row;
        gap: 15px;
        padding: 18px 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .releases-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .releases-title {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .release-cover {
        aspect-ratio: 1;
    }

    .release-overlay {
        padding: 10px;
    }

    .release-year {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .release-info {
        padding: 12px;
    }

    .release-title {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }

    .release-type {
        font-size: 0.65rem;
    }

    .platforms-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .platforms-title {
        font-size: 0.9rem;
    }

    .platforms-grid {
        gap: 8px;
    }

    .platform-card {
        padding: 10px 14px;
        border-radius: 30px;
    }

    .platform-icon {
        width: 20px;
        height: 20px;
    }

    .otros-artistas {
        padding: 50px 0;
    }

    .otros-artistas .section-title {
        font-size: 1.5rem;
    }

    .otros-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 25px;
    }

    .otro-artista-info {
        padding: 12px;
    }

    .otro-artista-info h3 {
        font-size: 0.95rem;
    }

    .otro-genero {
        font-size: 0.6rem;
    }
}

/* Extra pequeño - menos de 360px */
@media (max-width: 360px) {
    .artista-imagen-wrapper {
        max-width: 180px;
    }

    .artista-nombre {
        font-size: 1.6rem;
    }

    .artista-stats {
        flex-direction: column;
        gap: 12px;
    }

    .releases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .release-card {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .release-cover {
        width: 80px;
        min-width: 80px;
        aspect-ratio: 1;
    }

    .release-info {
        flex: 1;
    }

    .otros-grid {
        grid-template-columns: 1fr;
    }

    .otro-artista-card {
        aspect-ratio: 16/9;
    }
}
