@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #050505;
  --fg: #f4f4f4;
  --line: rgba(255,255,255,.18);
  --line-strong: rgba(255,255,255,.45);
}

* { box-sizing: border-box; }

html, body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button, a { font: inherit; }

.background {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.93) 0%, rgba(0,0,0,.84) 33%, rgba(0,0,0,.34) 63%, rgba(0,0,0,.10) 100%),
    linear-gradient(0deg, rgba(0,0,0,.44), rgba(0,0,0,.10)),
    url("background.jpg") center center / cover no-repeat;
  filter: contrast(1.02);
  animation: background-in 1.15s cubic-bezier(.2,.7,.2,1) both;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  background-image:
    radial-gradient(circle at 25% 25%, #fff 0 0.65px, transparent .8px),
    radial-gradient(circle at 75% 65%, #fff 0 0.65px, transparent .8px);
  background-size: 7px 7px, 9px 9px;
  mix-blend-mode: screen;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255,255,255,.08) 4px
  );
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card {
  width: min(620px, 100%);
  border-left: 1px solid var(--line-strong);
  padding: 8px 0 8px clamp(22px, 3vw, 38px);
}

h1 {
  margin: 0;
  font-size: clamp(58px, 11vw, 116px);
  line-height: .82;
  letter-spacing: -.075em;
  font-weight: 800;
  text-transform: uppercase;
  animation: reveal .72s .06s cubic-bezier(.2,.7,.2,1) both;
}

.handle {
  margin: 18px 0 22px;
  color: #d5d5d5;
  font: 500 clamp(15px, 2vw, 18px)/1.2 "IBM Plex Mono", monospace;
  letter-spacing: .02em;
  animation: reveal .58s .16s cubic-bezier(.2,.7,.2,1) both;
}

.bio {
  position: relative;
  width: 100%;
  margin: 0 0 28px;
  padding: 13px 16px 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  animation: reveal .58s .25s cubic-bezier(.2,.7,.2,1) both;
}

.bio::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 0;
  width: 2px;
  background: rgba(255,255,255,.72);
}

.bio p {
  margin: 0;
  max-width: 560px;
  color: rgba(244,244,244,.82);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -.005em;
}

.bio p + p {
  margin-top: 2px;
  color: rgba(244,244,244,.64);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .015em;
}

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

.link {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(92px, .72fr) 1fr 28px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 0 13px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--fg);
  background: transparent;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color .24s ease,
    padding-left .24s cubic-bezier(.2,.7,.2,1),
    box-shadow .24s ease,
    color .18s ease;
}

.link:nth-child(1) { animation: reveal .54s .34s cubic-bezier(.2,.7,.2,1) both; }
.link:nth-child(2) { animation: reveal .54s .42s cubic-bezier(.2,.7,.2,1) both; }
.link:nth-child(3) { animation: reveal .54s .50s cubic-bezier(.2,.7,.2,1) both; }

.link:last-child { border-bottom: 1px solid var(--line); }

.link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-102%);
  transition: transform .34s cubic-bezier(.2,.7,.2,1);
  z-index: -1;
}

.link:hover,
.link:focus-visible {
  color: #050505;
  border-color: #fff;
  padding-left: 10px;
  box-shadow: inset 3px 0 0 #050505;
  outline: none;
}

.link:hover::before,
.link:focus-visible::before {
  transform: translateX(0);
}

.label {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.015em;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .72;
  transition: opacity .2s ease, transform .24s cubic-bezier(.2,.7,.2,1);
}

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

.link:hover .icon,
.link:focus-visible .icon {
  opacity: 1;
  transform: translateX(2px);
}

.value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 400 12px/1.2 "IBM Plex Mono", monospace;
  opacity: .72;
}

.arrow {
  justify-self: end;
  font-size: 17px;
  transition: transform .24s cubic-bezier(.2,.7,.2,1);
}

.link:hover .arrow,
.link:focus-visible .arrow {
  transform: translate(2px, -2px);
}

.link.is-copied .value {
  opacity: 1;
  font-weight: 600;
}

.corner {
  position: fixed;
  z-index: 3;
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.corner::before, .corner::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.55);
}
.corner::before { width: 22px; height: 1px; }
.corner::after { width: 1px; height: 22px; }

.corner-tl { top: 16px; left: 16px; }
.corner-tr { top: 16px; right: 16px; transform: rotate(90deg); }
.corner-br { bottom: 16px; right: 16px; transform: rotate(180deg); }
.corner-bl { bottom: 16px; left: 16px; transform: rotate(270deg); }

@keyframes reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes background-in {
  from { opacity: 0; transform: scale(1.012); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 720px) {
  .background {
    background:
      linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.33)),
      linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.13)),
      url("background.jpg") 64% center / cover no-repeat;
  }

  .page {
    justify-content: flex-end;
    padding: 28px 22px 74px;
  }

  .card {
    padding-left: 18px;
    border-left-color: rgba(255,255,255,.5);
    backdrop-filter: blur(2px);
  }

  .bio {
    margin-bottom: 24px;
    padding: 12px 14px 13px;
  }

  .bio p {
    font-size: 13px;
  }

  .bio p + p {
    font-size: 11px;
  }

  h1 {
    font-size: clamp(56px, 19vw, 92px);
  }

  .link {
    grid-template-columns: 28px 95px 1fr 24px;
    min-height: 54px;
  }

  .value { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
