:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: #17191d;
  --line: rgba(255, 255, 255, 0.13);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.46);
  --accent: #ffb4d2;
  --accent-hot: #ff5fa2;
  --accent-hover: #ffd0e2;
  --green: #84e2b1;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 100%),
    linear-gradient(160deg, #151116 0%, var(--bg) 52%, #050608 100%);
  background-size: 32px 32px, auto;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 180, 210, 0.13), transparent 22%, transparent 78%, rgba(132, 226, 177, 0.08)),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.34) 100%);
  content: "";
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  padding: 0 12px;
}

.link-page {
  width: min(100%, 470px);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 22px 0 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
}

.wordmark {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(132, 226, 177, 0.54);
}

.profile-card {
  position: relative;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.54),
    0 0 0 1px var(--line) inset;
}

.profile-card::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 20%, transparent 74%, rgba(255, 180, 210, 0.14)),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(255, 255, 255, 0.018) 8px 9px);
  content: "";
}

.portrait-wrap {
  position: relative;
  aspect-ratio: 9 / 14;
  background: var(--surface);
}

.portrait-label {
  position: absolute;
  left: 14px;
  top: 16px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  backdrop-filter: blur(12px);
}

.portrait {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.portrait-fade {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 42%;
  background:
    linear-gradient(to top, rgba(8, 9, 11, 0.96), rgba(8, 9, 11, 0.42), transparent),
    linear-gradient(90deg, rgba(255, 95, 162, 0.14), transparent 42%);
  pointer-events: none;
}

.profile-copy {
  position: relative;
  z-index: 3;
  margin-top: -76px;
  padding: 0 20px 22px;
}

.profile-copy p {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-copy h1 {
  margin: 5px 0 0;
  font-size: clamp(42px, 12vw, 66px);
  line-height: 0.94;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}

.profile-copy span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.link-stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.primary-link,
.social-link {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 8px;
  padding: 0 18px 0 20px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 850;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-link {
  border: 1px solid rgba(255, 180, 210, 0.5);
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  color: #16070f;
  box-shadow:
    0 20px 46px rgba(255, 95, 162, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.34) inset;
}

.social-link {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.04));
  color: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(12px);
}

.primary-link small,
.social-link small {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-link small {
  color: rgba(22, 7, 15, 0.58);
}

.social-link small {
  color: var(--accent);
}

.arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  font-size: 17px;
}

.primary-link:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  box-shadow:
    0 24px 52px rgba(255, 95, 162, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.social-link:hover {
  border-color: rgba(255, 180, 210, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 180, 210, 0.14), rgba(255, 255, 255, 0.065));
  box-shadow:
    0 20px 48px rgba(255, 95, 162, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.11) inset;
}

.primary-link:active,
.social-link:active {
  transform: translateY(1px);
}

.primary-link:focus-visible,
.social-link:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 4px;
}
