* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #0d0d0d; }
.bio-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #e8e8e8;
  background: #0d0d0d;
}
.avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: #1e1e1e;
  border: 2px solid #2a2a2a;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #888;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}
.avatar:hover {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: #3a3a3a;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.name {
  font-size: 22px;
  font-weight: 700;
  color: #f0f0f0;
  letter-spacing: -0.3px;
}
.desc {
  font-size: 13px;
  color: #666;
  text-align: center;
}
.stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0.75rem 0 0;
}
.badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #2a2a2a;
  color: #888;
  background: #151515;
}
.actions {
  display: flex;
  gap: 10px;
  margin: 1.5rem 0;
}
.btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #2a2a2a;
  background: #151515;
  color: #ccc;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
}
.btn:hover { 
  border-color: #444; 
  color: #f0f0f0; 
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.btn.primary {
  background: #1a1a2e;
  border-color: #2d2d5a;
  color: #8b8bff;
}
.btn.primary:hover { 
  border-color: #5555cc; 
  color: #aaaaff; 
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 139, 255, 0.15);
}
.section { margin-bottom: 1.75rem; }
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #444;
  margin-bottom: 10px;
  padding-left: 2px;
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #1e1e1e;
  background: #111;
  text-decoration: none;
  color: #bbb;
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
  opacity: 0;
  animation: popIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.link-card:hover { 
  border-color: #333; 
  color: #f0f0f0; 
  background: #161616; 
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.link-card .ic {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
}
.link-card:hover .ic {
  transform: scale(1.1) rotate(5deg);
}
.link-card.featured {
  border-color: #2a2a3e;
  background: #111118;
}
.link-card.featured:hover {
  border-color: #444466;
  box-shadow: 0 6px 16px rgba(139, 139, 255, 0.12);
}
.link-card.featured .ic { background: #1a1a2e; color: #8b8bff; }
.link-card.abandoned {
  border-color: #3a1e1e;
  background: #111010;
}
.link-card.abandoned:hover {
  border-color: #663333;
  color: #e06666;
  background: #1a1111;
  box-shadow: 0 6px 16px rgba(200, 50, 50, 0.12);
}
.link-card.abandoned .ic { background: #1e1111; color: #d44; }
.link-card.abandoned:hover .ic { background: #2a1111; color: #f55; }
.divider {
  height: 1px;
  background: #1a1a1a;
  margin: 1.5rem 0;
}
footer-text {
  display: block;
  text-align: center;
  font-size: 11px;
  color: #333;
  margin-top: 2rem;
}

@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.95) translateY(15px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.bio-wrap > :nth-child(1) { --delay: 0s; }
.bio-wrap > :nth-child(2) { --delay: 0.1s; }
.bio-wrap > :nth-child(3) { --delay: 0.2s; }
.bio-wrap > :nth-child(4) { --delay: 0.3s; }
.bio-wrap > :nth-child(5) { --delay: 0.4s; }
.bio-wrap > :nth-child(6) { --delay: 0.5s; }
.bio-wrap > :nth-child(7) { --delay: 0.6s; }

.avatar-wrap,
.actions,
.section-label,
footer-text {
  opacity: 0;
  animation: slideUpFade 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.links-grid > :nth-child(1) { animation-delay: calc(var(--delay, 0s) + 0.1s); }
.links-grid > :nth-child(2) { animation-delay: calc(var(--delay, 0s) + 0.15s); }
.links-grid > :nth-child(3) { animation-delay: calc(var(--delay, 0s) + 0.2s); }
.links-grid > :nth-child(4) { animation-delay: calc(var(--delay, 0s) + 0.25s); }
.links-grid > :nth-child(5) { animation-delay: calc(var(--delay, 0s) + 0.3s); }
.links-grid > :nth-child(6) { animation-delay: calc(var(--delay, 0s) + 0.35s); }
.links-grid > :nth-child(7) { animation-delay: calc(var(--delay, 0s) + 0.4s); }
.links-grid > :nth-child(8) { animation-delay: calc(var(--delay, 0s) + 0.45s); }

