.team-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(540px, 1fr)); 
  gap: 32px; 
  width: 100%;
}

.team-card {
  position: relative; 
  display: flex; 
  flex-direction: column;
  background: linear-gradient(165deg, rgba(15, 17, 21, 0.95), rgba(10, 12, 16, 0.98));
  border: 1px solid rgba(79, 124, 255, 0.1); 
  border-radius: var(--radius-md);
  padding: 28px; 
  backdrop-filter: blur(12px);
  box-shadow: 0 0 32px rgba(79, 124, 255, 0.25);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s ease; 
  overflow: hidden;
  will-change: transform, box-shadow;
}

.team-card::before {
  content: ''; 
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0; 
  transition: opacity 0.4s ease;
}

.team-card:hover, 
.team-card:focus-within {
  transform: translateY(-8px) translateZ(0); 
  box-shadow: 0 16px 48px rgba(79, 124, 255, 0.4);
  border-color: rgba(79, 124, 255, 0.5);
}

.team-card:hover::before, 
.team-card:focus-within::before { 
  opacity: 1; 
}

.card-header { 
  display: flex; 
  justify-content: flex-start; 
  margin-bottom: 20px; 
}

.role-symbol {
  width: 48px; 
  height: 48px; 
  padding: 10px;
  background: rgba(79, 124, 255, 0.08); 
  border-radius: var(--radius-sm);
  border: 1px solid rgba(79, 124, 255, 0.2);
  filter: drop-shadow(0 0 10px var(--color-primary-glow));
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.role-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-body { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 24px; 
}

.card-info { 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
}

.role-title { 
  font-size: 0.75rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 0.12em; 
  color: var(--color-primary); 
}

.member-name { 
  font-size: 1.5rem; 
  font-weight: 800; 
  color: var(--color-text); 
  letter-spacing: -0.02em; 
}

.member-desc { 
  font-size: 0.95rem; 
  color: var(--color-text-muted); 
  line-height: 1.6; 
  margin-bottom: 16px; 
}

.tags { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px; 
}

.tag {
  font-size: 0.7rem; 
  font-weight: 700; 
  padding: 5px 14px; 
  text-transform: uppercase; 
  letter-spacing: 0.05em;
  background: rgba(79, 124, 255, 0.08); 
  color: var(--color-primary);
  border-radius: 100px; 
  border: 1px solid rgba(79, 124, 255, 0.15);
}

.card-avatar {
  flex-shrink: 0;
  width: 100px; 
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(79, 124, 255, 0.3);
  box-shadow: 0 0 20px var(--color-primary-glow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover .card-avatar {
  transform: scale(1.05);
  border-color: var(--color-primary);
}

.card-avatar img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--color-surface) 25%, var(--color-surface-hover) 50%, var(--color-surface) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--radius-md);
  height: 220px;
}

@keyframes loading { 
  0% { background-position: 200% 0; } 
  100% { background-position: -200% 0; } 
}