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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #111;
    color: white;
}

/* ── Page layout ─────────────────────────────────────────── */

.artists-page {
    padding: 110px 8% 60px;
}

.artists-hero {
    text-align: center;
    margin-bottom: 50px;
}

.artists-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.artists-hero p {
    color: #aaa;
    font-size: 1.05rem;
}

/* ── Status messages ─────────────────────────────────────── */

.artists-status {
    text-align: center;
    padding: 80px 20px;
    color: #888;
    font-size: 1.1rem;
}

/* ── Artist grid ─────────────────────────────────────────── */

.artists-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* ── Artist card ─────────────────────────────────────────── */

.artist-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

/* ── Profile strip (avatar row + name/bio/tags) ──────────── */

.artist-profile-strip {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 28px 0;
}

.artist-profile-images {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.artist-profile-images img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #333;
    transition: border-color 0.25s;
    cursor: pointer;
}

.artist-profile-images img:hover {
    border-color: #c9a14c;
}

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

.artist-info h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.artist-bio {
    color: #bbb;
    line-height: 1.65;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

/* ── Tags ────────────────────────────────────────────────── */

.artist-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.artist-tags span {
    background-color: #252525;
    color: #e0c97a;
    border: 1px solid #3a3a3a;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ── Portfolio section ───────────────────────────────────── */

.artist-portfolio {
    padding: 24px 28px 28px;
}

.artist-portfolio-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    margin-bottom: 14px;
}

/* Main (featured) portfolio image */
.artist-main-img-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #111;
    max-height: 480px;
}

.artist-main-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.artist-main-img:hover {
    transform: scale(1.02);
}

/* Remaining portfolio images grid */
.artist-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.artist-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.25s, transform 0.25s;
}

.artist-gallery img:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

/* ── Lightbox overlay ────────────────────────────────────── */

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 28px;
    font-size: 2.2rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
    background: none;
    border: none;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
    .artist-profile-strip {
        flex-direction: column;
        gap: 18px;
    }

    .artist-main-img {
        height: 300px;
    }

    .artist-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .artists-page {
        padding: 100px 5% 40px;
    }

    .artists-hero h1 {
        font-size: 2rem;
    }

    .artist-profile-strip {
        padding: 20px 18px 0;
    }

    .artist-portfolio {
        padding: 18px 18px 22px;
    }

    .artist-main-img {
        height: 220px;
    }

    .artist-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .artist-profile-images img {
        width: 58px;
        height: 58px;
    }
}