:root {
  --bg: #11100f;
  --card: rgba(255, 255, 255, .12);
  --card-strong: rgba(255, 255, 255, .18);
  --line: rgba(255, 255, 255, .18);
  --text: #fbf7ef;
  --muted: rgba(251, 247, 239, .68);
  --accent: #ff9f0a;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 159, 10, .28), transparent 28%),
    radial-gradient(circle at 90% 22%, rgba(255, 199, 77, .18), transparent 26%),
    linear-gradient(145deg, #050505, var(--bg) 52%, #251707);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.loader {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity .45s ease, visibility .45s ease;
}
.loader span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.14);
  border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
body.loaded .loader { opacity: 0; visibility: hidden; }
.bio-shell {
  position: relative;
  width: min(620px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  align-content: center;
  gap: 24px;
}
.profile {
  text-align: center;
  padding: 28px 18px 8px;
  animation: rise .7s ease both;
}
.logo {
  margin: 0 auto 18px;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}
.tag {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 900;
  font-size: .82rem;
}
h1 {
  margin: 0 auto;
  max-width: 520px;
  font-size: clamp(1.75rem, 7vw, 3rem);
  line-height: 1.06;
  letter-spacing: 0;
}
.links { display: grid; gap: 12px; }
.link-card {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, .16);
  transform: translateY(18px);
  opacity: 0;
  animation: rise .65s ease forwards;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
  text-decoration: none;
}
.link-card:nth-child(2) { animation-delay: .06s; }
.link-card:nth-child(3) { animation-delay: .12s; }
.link-card:nth-child(4) { animation-delay: .18s; }
.link-card:nth-child(5) { animation-delay: .24s; }
.link-card:nth-child(6) { animation-delay: .30s; }
.link-card:hover { transform: translateY(-3px); background: var(--card-strong); border-color: rgba(255, 159, 10, .55); }
.link-card span { font-weight: 900; font-size: 1.05rem; }
.link-card small { color: var(--muted); font-size: .92rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 520px) {
  .bio-shell { width: min(100% - 24px, 620px); padding: 24px 0; }
  .profile { padding-top: 18px; }
  .link-card { padding: 16px; }
}
