:root {
  color-scheme: dark;
  --bg: #080d1d;
  --panel: #111a30;
  --line: rgba(151, 174, 220, .19);
  --text: #f4f7ff;
  --muted: #a7b5d1;
  --cyan: #45dff4;
  --purple: #9b76ff;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; color: var(--text); background: radial-gradient(ellipse at 50% 8%, rgba(75, 95, 177, .22), transparent 36%), var(--bg); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.page-shell { width: min(100% - 40px, 620px); min-height: 100vh; margin-inline: auto; display: flex; flex-direction: column; justify-content: center; padding: 36px 0 22px; }
.back-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px 5px; color: #aab8d4; font-size: 13px; transition: color .2s ease; }
.back-link:hover { color: var(--cyan); }
.profile-card { position: relative; overflow: hidden; padding: 48px clamp(24px, 7vw, 64px) 35px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(150deg, rgba(22, 31, 56, .97), rgba(13, 19, 37, .98)); box-shadow: 0 30px 100px rgba(0, 0, 0, .34); text-align: center; }
.profile-card::before { position: absolute; top: -190px; left: 50%; width: 430px; height: 300px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(69, 223, 244, .10), transparent 68%); content: ""; pointer-events: none; }
.avatar { position: relative; display: grid; width: 128px; aspect-ratio: 1; place-items: center; margin: 0 auto 23px; border: 2px solid rgba(69, 223, 244, .72); border-radius: 50%; color: var(--cyan); background: radial-gradient(circle at 35% 25%, rgba(69, 223, 244, .12), rgba(9, 16, 34, .85) 68%); box-shadow: 0 0 36px rgba(69, 223, 244, .11), inset 0 0 26px rgba(69, 223, 244, .07); }
.avatar span { font-family: var(--font-display); font-size: 57px; font-weight: 600; font-style: italic; }
.avatar i { position: absolute; right: 8px; bottom: 10px; width: 14px; height: 14px; border: 3px solid #111a30; border-radius: 50%; background: #65e6b5; box-shadow: 0 0 14px rgba(101, 230, 181, .65); }
.overline { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0; color: var(--cyan); font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.overline span { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
h1 { position: relative; margin: 13px 0 7px; font-family: var(--font-display); font-size: clamp(34px, 7vw, 46px); font-weight: 600; letter-spacing: -.055em; }
.categories { margin: 0; color: #a7b5d1; font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.categories b { padding-inline: 5px; color: var(--purple); }
.bio { max-width: 440px; margin: 24px auto 28px; color: #c0c9db; font-size: 16px; line-height: 1.8; }
.link-list { display: grid; gap: 11px; }
.profile-link { position: relative; display: flex; min-height: 64px; align-items: center; justify-content: center; gap: 12px; padding: 13px 46px; border: 1px solid rgba(151, 174, 220, .2); border-radius: 999px; background: rgba(5, 10, 23, .72); color: #eef3ff; font-size: 15px; font-weight: 500; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.profile-link:hover { transform: translateY(-2px); border-color: rgba(69, 223, 244, .6); background: rgba(16, 31, 53, .95); }
.primary-link { border-color: rgba(69, 223, 244, .47); background: linear-gradient(100deg, rgba(69, 223, 244, .14), rgba(155, 118, 255, .12)); }
.primary-link:hover { background: linear-gradient(100deg, rgba(69, 223, 244, .21), rgba(155, 118, 255, .19)); }
.link-icon { position: absolute; left: 22px; color: var(--cyan); font-size: 20px; line-height: 1; }
.instagram-icon { color: #b49cff; }
.arrow { position: absolute; right: 21px; color: #8393b2; font-size: 16px; }
.primary-link .arrow { color: var(--cyan); }
.card-note { margin: 26px 0 0; color: #8f9fbe; font-size: 12px; line-height: 1.6; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 21px 4px 0; color: #7182a4; font-size: 10px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: #dce6fa; font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.brand b { color: #8998b7; font-family: var(--font-body); font-size: 8px; letter-spacing: .2em; }
.brand-mark { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 9px; background: linear-gradient(145deg, var(--cyan), #8b91ff 70%, var(--purple)); color: #071121; font-size: 17px; font-style: italic; }

@media (max-width: 520px) {
  .page-shell { width: calc(100% - 28px); padding-top: 20px; }
  .profile-card { padding: 36px 19px 27px; border-radius: 25px; }
  .avatar { width: 112px; margin-bottom: 20px; }
  .avatar span { font-size: 50px; }
  .overline { font-size: 8px; letter-spacing: .13em; }
  h1 { font-size: clamp(32px, 9vw, 40px); }
  .categories { font-size: 10px; letter-spacing: .1em; }
  .bio { margin: 19px auto 24px; font-size: 15px; }
  .profile-link { min-height: 59px; padding-inline: 42px; font-size: 14px; }
  .link-icon { left: 18px; }
  .arrow { right: 17px; }
  footer { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
