.staff-section {
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.staff-card {
    text-align: center;
    padding: 0;
    width: 280px;
    border-radius: 24px;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease;
    position: relative;
    margin-top: 50px;
    overflow: visible; /* Prevents avatar from being clipped */
}

.staff-card::before {
    content: ''; position: absolute; left: 0; top: 20%; height: 60%; width: 3px;
    background: var(--red-base); border-radius: 0 4px 4px 0;
    box-shadow: 0 0 15px var(--glow-base); transition: 0.4s;
}

.staff-card:hover {
    transform: translateY(-10px) translateX(5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(20, 20, 20, 0.95);
}

.staff-card:hover::before { height: 80%; top: 10%; }

.staff-card-content { padding: 30px; padding-top: 60px; }

.staff-img {
    width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
    position: absolute; top: -50px; left: 50%; margin-left: -50px;
    border: 3px solid #1a1a1a; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: 0.4s; z-index: 10;
}

.staff-card:hover .staff-img {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--red-base);
    box-shadow: 0 0 25px var(--glow-base);
}

.staff-img img { width: 100%; height: 100%; object-fit: cover; }

.staff-rank {
    display: inline-block; padding: 4px 12px; background: rgba(220, 38, 38, 0.1);
    color: var(--red-light); border: 1px solid rgba(220, 38, 38, 0.2);
    font-size: 0.6rem; font-weight: 900; border-radius: 4px;
    margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px;
}

.staff-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    color: white;
}

.staff-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.staff-social {
    display: flex; justify-content: center; gap: 15px; margin-top: 15px;
    padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.staff-social a {
    color: var(--text-muted); transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center; opacity: 0.7;
}

.staff-social a svg { width: 20px; height: 20px; fill: currentColor; }
.staff-social a:hover { color: #5865F2; transform: scale(1.2); opacity: 1; }
