:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --accent: #3eb6d3;
  --bg: #050911;
  --panel: rgba(12, 18, 28, 0.82);
  --text: #f5f8ff;
  --muted: #a8b4c4;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 36%),
    linear-gradient(180deg, #0a111c 0%, var(--bg) 100%);
  color: var(--text);
}

.page {
  width: min(100%, 430px);
  display: grid;
  gap: 22px;
}

.profile {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.avatar {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
  background: color-mix(in srgb, var(--accent) 42%, rgba(255, 255, 255, 0.08));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  font-size: 2.4rem;
  font-weight: 850;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

.handle,
.bio {
  margin: 0;
  color: var(--muted);
}

.bio {
  max-width: 34rem;
  line-height: 1.55;
}

.links {
  display: grid;
  gap: 12px;
}

.link {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 13px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  font-weight: 760;
  text-align: center;
  overflow-wrap: anywhere;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.link:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 70%, white 8%);
  background: color-mix(in srgb, var(--accent) 16%, var(--panel));
}

.footer {
  color: rgba(168, 180, 196, 0.72);
  text-align: center;
  font-size: 0.82rem;
}
