*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0b;
  color: #e4e4e7;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 4px;
  position: relative;
  background: #27272a;
}

.avatar::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  z-index: -1;
  opacity: 0.5;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fafafa;
  line-height: 1.2;
}

.title {
  font-size: 0.875rem;
  color: #a1a1aa;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.bio {
  font-size: 0.875rem;
  color: #a1a1aa;
  line-height: 1.6;
  max-width: 380px;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #1f1f23;
  border: 1px solid #2a2a2e;
  border-radius: 14px;
  text-decoration: none;
  color: #e4e4e7;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  cursor: pointer;
}

.link-btn:hover {
  background: #27272b;
  border-color: #3b3b3f;
  transform: translateY(-1px);
}

.link-btn:active {
  transform: translateY(0);
}

.link-btn:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #818cf8;
}

.link-icon svg {
  width: 100%;
  height: 100%;
}

.link-label {
  flex: 1;
}

.link-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #52525b;
  transition: transform 0.2s ease;
}

.link-btn:hover .link-arrow {
  transform: translateX(3px);
}

.footer {
  text-align: center;
}

.footer p {
  font-size: 0.75rem;
  color: #52525b;
}

@media (max-width: 480px) {
  body { padding: 16px; }
  .card { padding: 32px 20px; border-radius: 20px; gap: 28px; }
  .avatar { width: 88px; height: 88px; }
  h1 { font-size: 1.375rem; }
  .link-btn { padding: 13px 16px; font-size: 0.875rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-color-scheme: light) {
  body { background: #f4f4f5; color: #18181b; }
  .card { background: #fafafa; border-color: #e4e4e7; }
  h1 { color: #09090b; }
  .title, .bio { color: #71717a; }
  .link-btn { background: #f4f4f5; border-color: #e4e4e7; color: #18181b; }
  .link-btn:hover { background: #e4e4e7; border-color: #d4d4d8; }
  .link-icon { color: #6366f1; }
  .link-arrow { color: #a1a1aa; }
  .footer p { color: #a1a1aa; }
}
