/* music-artist-profile.css — aviencloudrecords.com */
@import url('/app/fonts.css');
@import url('/app/global.css');

html:has(.map-page),
body:has(.map-page) {
    background: #000;
    min-height: 100%;
}

body:has(.map-page)::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 0;
    pointer-events: none;
}

.map-page {
    position: relative;
    z-index: 1;
    padding-bottom: 6rem;
    color: #fff;
}

/* ─── Hero ───────────────────────────────────────────────── */
.map-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.map-hero__bg {
    position: absolute;
    inset: 0;
    background-image: var(--img);
    background-size: cover;
    background-position: center top;
    filter: blur(32px) brightness(0.35) saturate(1.4);
    transform: scale(1.1);
    z-index: 0;
}

.map-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000 0%, transparent 60%);
    z-index: 1;
}

.map-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 3rem 2.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.map-hero__avatar {
    width: 240px;
    height: 240px;
    border-radius: 1.25rem;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.map-hero__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    padding-bottom: 0.25rem;
}

.map-hero__name {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: 0;
    line-height: 1;
    letter-spacing: -1px;
}

.map-hero__label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0;
}

.map-hero__socials {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.map-hero__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.08);
    transition: background 0.2s;
}
.map-hero__social:hover { background: rgba(255,255,255,0.18); }
.map-hero__social img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.8;
}

/* ─── Shared section title ───────────────────────────────── */
.map-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.25rem;
    text-align: center;
}

/* ─── Releases ───────────────────────────────────────────── */
.map-releases {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 3rem;
}

.map-releases__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.map-release-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
    width: 160px;
    flex-shrink: 0;
}
.map-release-card:hover { opacity: 0.75; }

.map-release-card__cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.75rem;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    margin-bottom: 0.5rem;
}
.map-release-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-release-card__type {
    position: absolute;
    bottom: 0.4rem;
    left: 0.4rem;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    color: rgba(255,255,255,0.75);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 2px 6px;
    border-radius: 4px;
}

.map-release-card__title {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.map-release-card__date {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    margin: 0.15rem 0 0;
}

/* ─── More Artists ───────────────────────────────────────── */
.map-more-artists {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 3rem;
}

.map-more-artists__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.map-artist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
    gap: 0.5rem;
    width: 160px;
    flex-shrink: 0;
}
.map-artist-card:hover { opacity: 0.7; }
.map-artist-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.05);
}
.map-artist-card p {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .map-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.25rem 2rem;
        gap: 1.25rem;
    }
    .map-hero__avatar {
        width: 140px;
        height: 140px;
    }
    .map-releases,
    .map-more-artists {
        padding: 0 1.25rem;
    }
    .map-releases__grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    .map-more-artists__grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

@media (max-width: 480px) {
    .map-hero__name { font-size: 2rem; }
    .map-releases__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .map-more-artists__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}