:root {
  --bg: #05080f;
  --panel: rgba(13, 18, 30, 0.84);
  --panel-strong: #101827;
  --line: rgba(162, 180, 209, 0.17);
  --text: #f5f8ff;
  --muted: #9caac1;
  --electric: #62f5d0;
  --blue: #5ba6ff;
  --violet: #9d6cff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

.site-shell {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: start center;
  padding: 44px 18px;
  background:
    radial-gradient(circle at 50% -10%, rgba(91, 166, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #080d18 0%, #04060c 100%);
}

.grid-floor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.ambient {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .17;
  pointer-events: none;
  animation: drift 9s ease-in-out infinite alternate;
}

.ambient-one { background: var(--blue); top: 12%; left: -180px; }
.ambient-two { background: var(--violet); right: -190px; bottom: 7%; animation-delay: -4s; }

.bio-card {
  width: min(100%, 620px);
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(18, 26, 42, .91), rgba(8, 12, 21, .91));
  box-shadow: 0 34px 100px rgba(0, 0, 0, .48);
  backdrop-filter: blur(20px);
}

.profile {
  padding: 4px 14px 28px;
  text-align: center;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--electric);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
  animation: pulse 1.7s infinite;
}

.share-button {
  width: 38px;
  height: 38px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.avatar-wrap {
  position: relative;
  width: 112px;
  margin: 0 auto 20px;
}

.avatar {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background:
    linear-gradient(#101828, #101828) padding-box,
    linear-gradient(135deg, var(--electric), var(--blue), var(--violet)) border-box;
  border: 2px solid transparent;
  transform: rotate(-3deg);
  box-shadow: 0 18px 45px rgba(91, 166, 255, .18);
}

.avatar span {
  font-size: 54px;
  font-weight: 1000;
  font-style: italic;
  background: linear-gradient(135deg, #fff, var(--electric));
  -webkit-background-clip: text;
  color: transparent;
}

.verified {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 5px solid #0e1624;
  border-radius: 50%;
  color: #071411;
  background: var(--electric);
  font-size: 12px;
  font-weight: 1000;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 10vw, 66px);
  line-height: .98;
  letter-spacing: -.06em;
}

.tagline {
  max-width: 440px;
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.quick-stats {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.quick-stats span {
  padding: 7px 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  font-size: 11px;
}

.quick-stats strong { color: var(--text); margin-right: 3px; }

.link-stack { display: grid; gap: 12px; }

.bio-link {
  min-height: 78px;
  display: grid;
  grid-template-columns: 34px 48px 1fr 32px;
  gap: 12px;
  align-items: center;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.bio-link:hover,
.bio-link:focus-visible {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(98, 245, 208, .54);
  background: linear-gradient(90deg, rgba(98,245,208,.09), rgba(91,166,255,.06));
  outline: none;
}

.link-index {
  color: #657289;
  font-family: monospace;
  font-size: 11px;
}

.link-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--electric);
  background: linear-gradient(145deg, rgba(98,245,208,.12), rgba(91,166,255,.08));
  font-size: 21px;
}

.link-copy { min-width: 0; }
.link-copy strong { display: block; font-size: 15px; }
.link-copy small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-arrow { color: #738198; font-size: 18px; transition: transform .2s; }
.bio-link:hover .link-arrow { color: var(--electric); transform: translate(2px, -2px); }

.notice {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 18px 0 0;
  padding: 17px;
  border: 1px solid rgba(91,166,255,.17);
  border-radius: 18px;
  background: rgba(91,166,255,.055);
}

.notice-icon {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07111e;
  background: var(--blue);
  font-weight: 900;
}

.notice p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.notice strong { color: var(--text); }

.social-section { padding: 28px 0 20px; text-align: center; }
.social-section > p {
  margin: 0 0 14px;
  color: #69768c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.social-list { display: flex; justify-content: center; gap: 11px; }
.social-list a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255,255,255,.025);
  font-size: 11px;
  font-weight: 900;
  transition: .2s;
}
.social-list a:hover { color: var(--electric); border-color: rgba(98,245,208,.4); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 3px 2px;
  border-top: 1px solid var(--line);
  color: #5f6c80;
  font-size: 9px;
  letter-spacing: .08em;
}

footer p { margin: 0; }
footer a:hover { color: var(--electric); }

@keyframes pulse {
  50% { opacity: .45; transform: scale(.8); }
}

@keyframes drift {
  to { transform: translateY(60px) translateX(30px); }
}

@media (max-width: 520px) {
  .site-shell { padding: 0; }
  .bio-card {
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    padding: 20px 14px;
  }
  .profile { padding-inline: 7px; }
  .bio-link { grid-template-columns: 27px 44px 1fr 24px; gap: 9px; padding-right: 11px; }
  footer { align-items: center; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
