@font-face {
  font-family: "array";
  src: url("/fonts/array-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --text: #d8d8d8;
  --name: #ffffff;
  --theme: #ffffff;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

html { color-scheme: dark; -webkit-text-size-adjust: 100%; }

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: "array", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* cursor trail, above everything, never catches clicks */
.trail { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999; }

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
}

.wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 500px;
  padding: 96px 12px;
  perspective: 1000px;
}
@media (min-width: 768px) { .wrap { padding: 128px 12px; } }

/* card: transparent, tilts toward the mouse, grows 2% on hover */
.card {
  position: relative;
  width: 100%;
  border-radius: 13px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1));
  transition: transform .2s ease-out;
}
.card:hover { --sc: 1.02; }

.views {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  z-index: 2;
}
.views-eye { width: 16px; height: 16px; color: var(--theme); filter: drop-shadow(0 0 .3rem var(--theme)); }

.inner { padding: 24px; }
.inner > * + * { margin-top: 24px; }

.head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 32px;
}

.name-block { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.name {
  position: relative;
  min-height: 4px;
  color: var(--name);
  font: 600 30px/1 Inter, ui-sans-serif, system-ui, sans-serif;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 30px;
  padding-top: 0;
}
.badge { position: relative; display: inline-flex; line-height: 1; }
.badge svg { width: 20px; height: 20px; color: var(--theme); filter: drop-shadow(0 0 3.5px var(--theme)); }

.bio {
  font-size: 18px;
  line-height: 27px;
  color: var(--text);
  text-align: center;
  white-space: pre-wrap;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.social {
  position: relative;
  display: grid;
  place-content: center;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.social:hover, .social:focus-visible { transform: scale(1.1); }
.social:focus-visible { outline: 1px solid rgba(255, 255, 255, .4); outline-offset: 4px; border-radius: 8px; }
.social-icon { width: 40px; height: 40px; color: var(--theme); filter: drop-shadow(0 0 .3rem var(--theme)); }

/* tooltips: small dark pill above the element, pops in */
.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 12px;
  background: rgba(0, 0, 0, .9);
  color: #fff;
  font-family: "array", ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  white-space: nowrap;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) scale(.5);
  transition: opacity .15s, transform .15s;
  z-index: 20;
}
.tip:hover > .tooltip, .tip:focus-visible > .tooltip, .tip.open > .tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.tip-copy { width: 16px; height: 16px; margin-right: 4px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  background: rgba(0, 0, 0, .9);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .3);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity .2s var(--ease), transform .3s var(--ease);
  pointer-events: none;
  z-index: 10000;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
