/* ============================================
   PREMIUM TEAM PAGE - CRAZY ANIMATIONS & UI
   ============================================ */
@keyframes floatBadge {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}
.team-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(124, 77, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(93, 169, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(124, 77, 255, 0.08) 0%, transparent 40%);
    animation: particleMove 20s ease-in-out infinite;
    pointer-events: none;
}
@keyframes particleMove {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.1) rotate(5deg); }
}
.team-grid-premium {
    position: relative;
    z-index: 1;
}
.team-card-premium {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 20, 43, 0.9), rgba(10, 15, 31, 0.95));
    border-radius: 24px;
    padding: 2.5rem;
    border: 2px solid rgba(124, 77, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    animation: cardSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.team-card-premium:hover {
    transform: translateY(-20px) scale(1.05);
    border-color: var(--accent-violet);
    box-shadow: 
        0 30px 80px rgba(124, 77, 255, 0.4),
        0 0 0 1px rgba(124, 77, 255, 0.3) inset;
}
.team-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(124, 77, 255, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.team-card-premium:hover .team-card-glow {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}
.team-avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
}
.team-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0), rgba(93, 169, 233, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(124, 77, 255, 0);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.team-avatar::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent, rgba(124, 77, 255, 0), transparent 30%);
    animation: rotate 3s linear infinite;
}
.team-avatar::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(135deg, rgba(15, 20, 43, 0), rgba(10, 15, 31, 0));
    border-radius: 50%;
    z-index: 1;
}
@keyframes rotate {
    to { transform: rotate(360deg); }
}
.team-avatar i {
    font-size: 4rem;
    color: var(--accent-violet);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}
.team-card-premium:hover .team-avatar {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-blue);
}
.team-card-premium:hover .team-avatar i {
    transform: scale(1.15);
    color: var(--accent-blue);
}
.team-role-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: badgeBounce 2s ease-in-out infinite;
    z-index: 3;
}
@keyframes badgeBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-10deg); }
    75% { transform: translateY(-5px) rotate(10deg); }
}
/* 🔱 President */
.team-role-badge.president {
    background: linear-gradient(135deg, #F8D776, #D3A843);
}

/* 👑 Vice President */
.team-role-badge.vp {
    background: linear-gradient(135deg, #F6C667, #E1A34A);
}

/* ✨ Assistant Vice President */
/* .team-role-badge.avp {
    background: linear-gradient(135deg, #F4A15C, #D67A35);
} */

/* 💻 Tech Leads + Tech Team */
.team-role-badge.tech {
    background: linear-gradient(135deg, #4A7CF0, #2E4CBF);
}

/* 🛠️ Operations & Organising Team */
.team-role-badge.operations {
    background: linear-gradient(135deg, #4CD38A, #1F9962);
}

/* 💰 Fundraising & Finance */
.team-role-badge.finance {
    background: linear-gradient(135deg, #6FA7CF, #3D6A98);
}

/* 📣 Marketing Team */
.team-role-badge.marketing {
    background: linear-gradient(135deg, #FF5F9E, #D0376F);
}

/* 🎨 Design Team (Lead & Co-lead) */
.team-role-badge.design {
    background: linear-gradient(135deg, #B064FF, #7A2FE0);
}

/* 🌐 Community / Engagement */
.team-role-badge.community {
    background: linear-gradient(135deg, #5BDACF, #279F96);
}

/* 👥 Default Members (Neutral aesthetic) */
.team-role-badge.member {
    background: linear-gradient(135deg, #D9D9D9, #B8B8B8);
}

/* ⭐ Misc Roles (fallback) */
.team-role-badge.other {
    background: linear-gradient(135deg, #6B6F82, #3C4153);
}

.team-status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    background: #00ff88;
    border-radius: 50%;
    border: 3px solid rgba(10, 15, 31, 0.95);
    animation: statusPulse 2s ease-in-out infinite;
    z-index: 3;
}
@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
}
.team-info {
    text-align: center;
}
.team-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, white, var(--accent-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}
.team-card-premium:hover .team-name {
    transform: scale(1.05);
}
.team-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}
.team-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light-gray);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}
.team-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(124, 77, 255, 0.2);
    border-bottom: 1px solid rgba(124, 77, 255, 0.2);
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
}
.stat-item i {
    font-size: 1.5rem;
    color: var(--accent-violet);
}
.stat-item span {
    font-size: 0.85rem;
    color: var(--text-light-gray);
    font-weight: 600;
}
.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.team-social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(124, 77, 255, 0.1);
    border: 2px solid rgba(124, 77, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-violet);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.team-social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.team-social-link i {
    position: relative;
    z-index: 1;
}
.team-social-link:hover {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.5);
}
.team-social-link:hover::before {
    opacity: 1;
}
.team-social-link:hover i {
    color: white;
}
@media (max-width: 768px) {
    .team-card-premium {
        padding: 2rem;
    }
    .team-avatar-wrapper {
        width: 120px;
        height: 120px;
    }
    .team-avatar i {
        font-size: 3rem;
    }
    .team-name {
        font-size: 1.3rem;
    }
    .team-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

