/* --- Profile Card --- */
.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--card-bg);
  border: var(--border-width) solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 48px 32px;
  text-decoration: none;
  color: var(--text-main);
  user-select: none;
  -webkit-user-select: none;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  max-width: 360px;
  width: 100%;
  justify-self: center;
}

.profile-card:hover {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0px var(--border-color);
}

.profile-avatar {
  width: 120px;
  height: 120px;
  background-color: var(--bg-color);
  border: var(--border-width) solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-primary);
  overflow: hidden;
  transition: all 0.4s var(--transition-bounce);
}

.profile-card:hover .profile-avatar {
  border-radius: 16px;
}

.profile-avatar svg {
  width: 60px;
  height: 60px;
}

.profile-avatar img {
  filter: grayscale(100%) contrast(120%);
  transform: scale(1);
  transition: filter 0.4s ease, transform 0.4s var(--transition-bounce);
}

.profile-card:hover .profile-avatar img {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.4);
}

.profile-meta {
  text-align: center;
}

.profile-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.profile-role {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.profile-link-text {
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.profile-card:hover .profile-link-text {
  color: var(--accent-primary);
}

/* Responsive Profile Card */
@media (max-width: 768px) {
  .profile-card {
    padding: 32px 24px;
    max-width: 320px;
  }
}
