/* ═══════════════════════════════════════════════════════════════════════════
   Electrobuzz Enhanced Artist Profile
   Dark theme, matches site background #111 and brand orange #e54d2e
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Container ────────────────────────────────────────────────────────────── */
.ebz-ap {
    margin: 0 0 24px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.ebz-ap-header,
.ebz-ap-card {
    background: #161616;
    border-radius: 14px;
    border: 1px solid #252525;
    margin-bottom: 14px;
    overflow: hidden;
}

/* ── Profile Header ───────────────────────────────────────────────────────── */
.ebz-ap-top {
    display: flex;
    gap: 22px;
    padding: 24px 24px 0;
    flex-wrap: wrap;
}

/* Avatar */
.ebz-ap-avatar {
    flex-shrink: 0;
}

.ebz-ap-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2a2a2a;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    display: block;
}

/* Identity block */
.ebz-ap-identity {
    flex: 1;
    min-width: 200px;
}

/* Name + flag */
.ebz-ap-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.ebz-ap-name {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.ebz-ap-flag {
    font-size: 22px;
    line-height: 1;
}

/* Real name */
.ebz-ap-realname {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.ebz-ap-realname span {
    color: #999;
}

/* Meta line: location, type, active since */
.ebz-ap-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

/* Social icons */
.ebz-ap-social {
    display: flex;
    gap: 7px;
}

.ebz-ap-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #888;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ebz-ap-social-icon:hover {
    color: #e54d2e;
    border-color: #e54d2e;
    background: rgba(229, 77, 46, 0.08);
}

.ebz-ap-social-icon svg {
    display: block;
}

/* ── Stats Bar ─────────────────────────────────────────────────────────────── */
.ebz-ap-stats {
    display: flex;
    justify-content: center;
    border-top: 1px solid #222;
    background: #131313;
    margin-top: 20px;
}

.ebz-ap-stat {
    padding: 12px 24px;
    text-align: center;
    border-right: 1px solid #222;
    flex: 1;
    max-width: 140px;
}

.ebz-ap-stat:last-child {
    border-right: none;
}

.ebz-ap-stat-val {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.ebz-ap-stat-lbl {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #555;
    margin-top: 2px;
}

/* ── Bio Card ──────────────────────────────────────────────────────────────── */
.ebz-ap-card {
    padding: 24px;
}

.ebz-ap-section-title {
    margin: 0 0 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
    font-weight: 500;
    border: none;
    padding: 0;
    background: none;
}

.ebz-ap-bio {
    font-size: 15px;
    line-height: 1.75;
    color: #bbb;
}

.ebz-ap-bio p {
    margin: 0 0 14px;
}

.ebz-ap-bio p:last-child {
    margin-bottom: 0;
}

/* Extra info (aliases, runs labels) */
.ebz-ap-extra {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #222;
}

.ebz-ap-extra-line {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.5;
}

.ebz-ap-extra-line:last-child {
    margin-bottom: 0;
}

.ebz-ap-extra-label {
    color: #555;
}

.ebz-ap-alias {
    color: #999;
}

.ebz-ap-runs-label {
    color: #e54d2e;
    font-weight: 600;
}

/* ── Genre + Label Pills Row ───────────────────────────────────────────────── */
.ebz-ap-pills-row {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.ebz-ap-pills-col {
    flex: 1;
    min-width: 0;
}

.ebz-ap-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Pill base */
.ebz-ap-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 18px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ebz-ap-pill:hover {
    text-decoration: none;
}

.ebz-ap-pill-count {
    font-size: 11px;
    font-family: 'Courier New', monospace;
}

/* Genre pill — neutral gray */
.ebz-ap-pill--genre {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #ccc;
}

.ebz-ap-pill--genre .ebz-ap-pill-count {
    color: #555;
}

.ebz-ap-pill--genre:hover {
    border-color: #e54d2e;
    color: #fff;
}

/* Label pill — orange/amber accent */
.ebz-ap-pill--label {
    background: rgba(229, 77, 46, 0.07);
    border: 1px solid rgba(229, 77, 46, 0.22);
    color: #e8a090;
}

.ebz-ap-pill--label .ebz-ap-pill-count {
    color: rgba(229, 77, 46, 0.4);
}

.ebz-ap-pill--label:hover {
    border-color: #e54d2e;
    color: #fff;
    background: rgba(229, 77, 46, 0.14);
}


/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .ebz-ap-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 16px 0;
    }

    .ebz-ap-name-row {
        justify-content: center;
    }

    .ebz-ap-meta-line {
        justify-content: center;
    }

    .ebz-ap-social {
        justify-content: center;
    }

    .ebz-ap-avatar img {
        width: 100px;
        height: 100px;
    }

    .ebz-ap-name {
        font-size: 22px;
    }

    .ebz-ap-stat {
        padding: 10px 12px;
    }

    .ebz-ap-stat-val {
        font-size: 18px;
    }

    .ebz-ap-pills-row {
        flex-direction: column;
    }

    .ebz-ap-card {
        padding: 18px;
    }

    .ebz-ap-bio {
        font-size: 14px;
    }

    .ebz-ap-pill {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .ebz-ap-stats {
        flex-wrap: wrap;
    }

    .ebz-ap-stat {
        flex: 1 1 45%;
        border-bottom: 1px solid #222;
    }

    .ebz-ap-stat:nth-child(2) {
        border-right: none;
    }
}