:root {
  --bg: #0b0d10;
  --bg-elevated: #14181f;
  --bg-hover: #1c222c;
  --border: #2a3340;
  --text: #e8edf4;
  --muted: #9aa7b8;
  --accent: #3dd6c6;
  --accent-dim: #2a9d8f;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --max: 420px;
  font-synthesis: none;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(61, 214, 198, 0.12), transparent 55%),
    radial-gradient(800px 400px at 100% 100%, rgba(80, 120, 255, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-height: 100vh;
}

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

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bg);
  background: linear-gradient(145deg, var(--accent), #5b8cff);
  box-shadow: var(--shadow), 0 0 0 3px rgba(61, 214, 198, 0.25);
  user-select: none;
}

.name {
  margin: 0.25rem 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bio {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36ch;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-btn {
  display: block;
  width: 100%;
  padding: 0.95rem 1.1rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.link-btn:hover,
.link-btn:focus-visible {
  background: var(--bg-hover);
  border-color: #3a4658;
  outline: none;
  transform: translateY(-1px);
}

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

.link-btn.primary {
  background: linear-gradient(135deg, var(--accent-dim), #3a6ee8);
  border-color: transparent;
  color: #041016;
}

.link-btn.primary:hover,
.link-btn.primary:focus-visible {
  filter: brightness(1.06);
  border-color: transparent;
}

.link-btn.todo {
  opacity: 0.72;
  border-style: dashed;
}

.footer {
  margin-top: auto;
  text-align: center;
  font-size: 0.8rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--accent);
  outline: none;
}

@media (min-width: 480px) {
  .page {
    padding-top: 3.5rem;
  }

  .name {
    font-size: 1.65rem;
  }
}
