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

:root {
  --color-bg: #0f172a;
  --color-surface: #1e293b;
  --color-border: rgba(148, 163, 184, 0.12);
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-accent: #38bdf8;
  --color-accent-hover: #7dd3fc;
  --color-heading: #f1f5f9;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  -webkit-font-smoothing: antialiased;
}

/* ─── Card ─────────────────────────────────────────────── */

.card {
  text-align: center;
  max-width: 420px;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  animation: fade-up 0.6s ease both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Avatar ───────────────────────────────────────────── */

.avatar,
.avatar-fallback {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  border: 3px solid var(--color-accent);
}

.avatar-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* ─── Text ─────────────────────────────────────────────── */

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.bio {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: 0.75rem;
}

/* ─── Links ────────────────────────────────────────────── */

.links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 2rem;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.links a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(56, 189, 248, 0.06);
  transform: translateY(-1px);
}

.links svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ─── Responsive ───────────────────────────────────────── */

@media (max-width: 480px) {
  .card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .avatar,
  .avatar-fallback {
    width: 100px;
    height: 100px;
  }
}
