.team-hero {
    padding: 5rem 2rem 3rem;
    text-align: center;
    animation: fadeIn 0.8s ease-in;
}

.team-hero h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #FFA000 0%, #FFD04D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.team-hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 500px;
    margin: 0 auto;
}

.team-section {
    padding: 2rem 2rem 5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.member-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease both;
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--role-color, #FFA000);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.member-card:hover {
    transform: translateY(-6px);
    border-color: var(--role-color, #FFA000);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.member-card:hover::before {
    opacity: 1;
}

.member-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--role-color, #FFA000);
    transition: transform 0.3s ease;
    margin-bottom: 0.5rem;
}

.member-card:hover .member-avatar {
    transform: scale(1.06);
}

.member-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.member-role {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: color-mix(in srgb, var(--role-color, #FFA000) 15%, transparent);
    color: var(--role-color, #FFA000);
    border: 1px solid color-mix(in srgb, var(--role-color, #FFA000) 40%, transparent);
    letter-spacing: 0.5px;
}

.member-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 0.25rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .team-hero h1 {
        font-size: 2.2rem;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
