.team-hero {
    position: relative;
    padding: 10rem 2rem 4rem;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    z-index: -1;
}

.team-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.team-hero .section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.team-hero .section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-hero .section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.team-structure {
    position: relative;
    padding: 2rem 2rem 6rem;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.team-group {
    margin-bottom: 4rem;
}

.team-group:last-child {
    margin-bottom: 0;
}

.group-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.group-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
}

.group-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    letter-spacing: 2px;
}

.group-empty {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 2rem;
    opacity: 0.6;
}

.group-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, 200px);
    gap: 1.5rem;
    justify-content: center;
}

.team-member-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: var(--transition);
}

.team-member-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.08);
}

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

.member-avatar-wrap {
    position: relative;
    margin-bottom: 1.2rem;
}

.member-avatar-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 240, 255, 0.15);
    position: relative;
    z-index: 1;
}

.avatar-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.1);
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.6; }
}

.team-member-card .member-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-member-card .member-position {
    font-size: 0.82rem;
    color: var(--accent-cyan);
    letter-spacing: 0.5px;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.12);
}

.team-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .team-hero {
        padding: 8rem 1.5rem 3rem;
    }

    .group-members {
        grid-template-columns: repeat(auto-fit, 160px);
        gap: 1rem;
        justify-content: center;
    }

    .team-member-card {
        padding: 1.5rem 1rem;
    }

    .member-avatar-img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .group-members {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }
}
