:root {
  color-scheme: dark;
  --background: #050505;
  --surface: #101010;
  --surface-hover: #171717;
  --text: #ffffff;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.13);
  --line-hover: rgba(255, 255, 255, 0.34);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 17%, rgba(255, 255, 255, 0.055), transparent 28rem),
    linear-gradient(180deg, #090909 0%, var(--background) 58%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  width: min(100% - 32px, 520px);
  min-height: 100vh;
  margin-inline: auto;
  padding: clamp(34px, 7vh, 78px) 0 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile {
  width: 100%;
  text-align: center;
}

.avatar-ring {
  width: clamp(142px, 33vw, 196px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,.21), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
}

.avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  border: 5px solid #080808;
}

.domain {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.tagline {
  margin: 13px auto 27px;
  color: var(--muted);
  font-size: clamp(0.92rem, 3vw, 1rem);
  line-height: 1.5;
}

.link-list {
  display: grid;
  gap: 11px;
  width: 100%;
}

.social-link {
  min-height: 72px;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  align-items: center;
  gap: 13px;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 16, 16, 0.84);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--line-hover);
  background: var(--surface-hover);
}

.social-link:active {
  transform: translateY(0) scale(0.99);
}

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

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: #080808;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon svg.fill-icon {
  fill: currentColor;
  stroke: none;
}

.link-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.link-handle {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.81rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.arrow {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.56;
  transition: transform 180ms ease, opacity 180ms ease;
}

.social-link:hover .arrow {
  transform: translateX(2px);
  opacity: 1;
}

footer {
  margin-top: 28px;
  color: #5f5f5f;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

@media (max-height: 720px) and (min-width: 600px) {
  .page-shell {
    padding-top: 28px;
    justify-content: flex-start;
  }

  .avatar-ring {
    width: 130px;
    margin-bottom: 16px;
  }

  .tagline {
    margin-bottom: 20px;
  }

  .social-link {
    min-height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
