/* =========================================
   HEXA ESPORT — staff.css
   ========================================= */

/* ── PAGE ─────────────────────────────────── */
.staff-page {
    padding-top: 110px;
    padding-bottom: 120px;
    min-height: 100vh;
    position: relative;
}

.staff-page::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(161,94,255,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 70%, rgba(0,210,255,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.staff-page .container { position: relative; z-index: 1; }

/* ── EN-TÊTE ──────────────────────────────── */
.staff-page-header {
    text-align: center;
    margin-bottom: 70px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.staff-page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(135deg, var(--hexa-accent), var(--hexa-blue));
    border-radius: 2px;
}

/* ── CATÉGORIES ───────────────────────────── */
.staff-category { margin-bottom: 90px; }
.staff-category:last-child { margin-bottom: 0; }

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 44px;
}

.category-line { flex: 1; height: 1px; }
.category-line.left  { background: linear-gradient(to right, transparent, var(--glass-border)); }
.category-line.right { background: linear-gradient(to left,  transparent, var(--glass-border)); }

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 24px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 3px;
    white-space: nowrap;
}

.category-badge.direction {
    background: linear-gradient(135deg, rgba(161,94,255,0.12), rgba(157,80,187,0.12));
    border: 1px solid rgba(161,94,255,0.35);
    color: var(--hexa-accent);
    box-shadow: 0 0 20px rgba(161,94,255,0.08);
}

.category-badge.audiovisuel {
    background: linear-gradient(135deg, rgba(0,210,255,0.10), rgba(0,150,200,0.10));
    border: 1px solid rgba(0,210,255,0.30);
    color: var(--hexa-blue);
    box-shadow: 0 0 20px rgba(0,210,255,0.08);
}

.category-badge.esport {
    background: linear-gradient(135deg, rgba(46,204,113,0.10), rgba(39,174,96,0.10));
    border: 1px solid rgba(46,204,113,0.35);
    color: #2ecc71;
    box-shadow: 0 0 20px rgba(46,204,113,0.08);
}

.category-badge.discord-cat {
    background: linear-gradient(135deg, rgba(88,101,242,0.12), rgba(71,82,196,0.12));
    border: 1px solid rgba(88,101,242,0.35);
    color: #5865F2;
    box-shadow: 0 0 20px rgba(88,101,242,0.08);
}

.category-badge.webtv {
    background: linear-gradient(135deg, rgba(255,68,68,0.10), rgba(200,40,40,0.10));
    border: 1px solid rgba(255,68,68,0.30);
    color: #ff4444;
    box-shadow: 0 0 20px rgba(255,68,68,0.08);
}

/* ── GRILLE STAFF ─────────────────────────── */
.staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* ── CARTE MEMBRE ─────────────────────────── */
.staff-member-card {
    width: 200px;
    flex-shrink: 0;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.staff-member-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    opacity: 0;
    transition: var(--transition);
}

/* Couleur du trait selon la catégorie */
.staff-category:nth-child(1) .staff-member-card::before {
    background: linear-gradient(135deg, var(--hexa-accent), var(--hexa-purple));
}
.staff-category:nth-child(2) .staff-member-card::before {
    background: linear-gradient(135deg, var(--hexa-blue), #0099cc);
}
.staff-category:nth-child(3) .staff-member-card::before {
    background: linear-gradient(135deg, #ff4444, #cc0000);
}

.staff-member-card:hover {
    transform: translateY(-8px);
    border-color: rgba(161,94,255,0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.staff-category:nth-child(1) .staff-member-card:hover { border-color: rgba(161,94,255,0.3); }
.staff-category:nth-child(2) .staff-member-card:hover { border-color: rgba(0,210,255,0.3); }
.staff-category:nth-child(3) .staff-member-card:hover { border-color: rgba(255,68,68,0.3); }

.staff-member-card:hover::before { opacity: 1; }

/* Avatar */
.staff-avatar-wrap {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--hexa-accent), var(--hexa-blue));
    flex-shrink: 0;
}

.staff-member-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-base);
    display: block;
    transition: var(--transition);
}

.staff-member-card:hover .staff-member-avatar { transform: scale(1.05); }

/* Nom */
.staff-member-name {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Badge de rôle */
.staff-member-role {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.staff-member-role.ceo        { background: var(--hexa-accent); color: #fff; }
.staff-member-role.directeur  { background: #4a40f6; color: #fff; }
.staff-member-role.manager    { background: #826bc2; color: #fff; }
.staff-member-role.coach      { background: #6545bd; color: #fff; }
.staff-member-role.moderateur { background: #4cadd0; color: #fff; }
.staff-member-role.admin { background: #ff0000; color: #fff; }
.staff-member-role.casteur    { background: linear-gradient(135deg, var(--hexa-blue), #0099cc); color: #fff; }
.staff-member-role.regie      { background: linear-gradient(135deg, #00b4d8, #0077b6); color: #fff; }
.staff-member-role.monteur    { background: linear-gradient(135deg, #0096c7, #023e8a); color: #fff; }
.staff-member-role.streameur  { background: linear-gradient(135deg, #ff4444, #cc0000); color: #fff; }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 768px) {
    .staff-page { padding-top: 90px; }
    .staff-member-card { width: 160px; padding: 18px 12px; }
    .staff-avatar-wrap { width: 70px; height: 70px; }
    .staff-member-name { font-size: 0.88rem; }
    .category-badge { font-size: 0.82rem; padding: 9px 16px; letter-spacing: 2px; }
}

@media (max-width: 480px) {
    .staff-member-card { width: 140px; }
}

/* ── AGRANDISSEMENT GLOBAL POLICE ─────────── */
.staff-member-name   { font-size: 1.1rem; }
.staff-member-role   { font-size: 0.8rem; padding: 5px 14px; }
.staff-member-card   { width: 220px; padding: 26px 18px 22px; }
.staff-avatar-wrap   { width: 100px; height: 100px; }
.category-badge      { font-size: 1.2rem; padding: 13px 28px; letter-spacing: 3px; }
.section-title       { font-size: clamp(3rem, 5vw, 4.5rem); }
.section-sub         { font-size: 1.1rem; }

/* ── BOUTONS SOCIAUX STAFF ────────────────── */
.staff-socials {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 4px;
}

.staff-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.82rem;
    transition: all 0.25s;
    border: 1px solid rgba(255,255,255,0.1);
}

.staff-social-btn.twitter { background: rgba(29,161,242,0.1); color: #1da1f2; }
.staff-social-btn.twitter:hover { background: rgba(29,161,242,0.25); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(29,161,242,0.3); }

.staff-social-btn.tiktok { background: rgba(255,0,80,0.1); color: #ff0050; }
.staff-social-btn.tiktok:hover { background: rgba(255,0,80,0.2); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,0,80,0.25); }

.category-badge.investisseur {
    background: linear-gradient(135deg, rgba(249,201,35,0.12), rgba(255,140,0,0.10));
    border: 1px solid rgba(249,201,35,0.35);
    color: #f9c923;
    box-shadow: 0 0 20px rgba(249,201,35,0.08);
}

.staff-member-role.investisseur-role {
    background: linear-gradient(135deg, #f9c923, #ff8c00);
    color: #000;
}