:root {
  color-scheme: dark;
  --ink: #fafafa;
  --muted: #a9a9b2;
  --subtle: #696973;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(21, 21, 28, 0.57);
  --glass-strong: rgba(40, 40, 50, 0.48);
  --violet: #a995ff;
  --blue: #94bbff;
  --radius: 34px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: #0a0a0d;
  display: grid;
  place-items: center;
}

button { font: inherit; }

.page-loader {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  color: #f7f6ff;
  background:
    radial-gradient(circle at 50% 50%, rgba(139, 111, 239, .13), transparent 23%),
    rgba(8, 8, 12, .94);
  transition: opacity 460ms ease, visibility 460ms ease;
}

.page-loader.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader > span {
  color: #f7f6ff;
  font-size: clamp(36px, 7vw, 58px);
  font-weight: 760;
  letter-spacing: -.085em;
  text-shadow: 0 0 32px rgba(180, 157, 255, .28);
  animation: loader-word 760ms cubic-bezier(.2,.8,.2,1) both;
}

.ambient {
  position: fixed;
  z-index: -3;
  width: min(58vw, 780px);
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(75px);
  opacity: 0.42;
  pointer-events: none;
}

.ambient-one {
  top: -25vw;
  left: -12vw;
  background: radial-gradient(circle, #5b48b4, transparent 67%);
  animation: drift-one 18s ease-in-out infinite alternate;
}

.ambient-two {
  right: -18vw;
  bottom: -31vw;
  background: radial-gradient(circle, #245c91, transparent 65%);
  animation: drift-two 20s ease-in-out infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.13;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
}

.profile-shell {
  width: 100%;
  min-height: 100vh;
  padding: 36px 20px;
  display: grid;
  place-items: center;
}

.profile-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 466px);
  overflow: hidden;
  padding: 20px 19px 15px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), transparent 27%),
    linear-gradient(160deg, rgba(255,255,255,0.055), rgba(13,13,18,0.54) 49%, rgba(21,21,29,0.68)),
    var(--glass);
  box-shadow: 0 28px 76px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(30px) saturate(145%);
  -webkit-backdrop-filter: blur(30px) saturate(145%);
  transform: perspective(1200px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
  animation: card-fade 900ms cubic-bezier(.2,.8,.2,1) both;
}

.card-highlight {
  position: absolute;
  z-index: -1;
  top: var(--highlight-y, -120px);
  left: var(--highlight-x, auto);
  right: var(--highlight-right, -100px);
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,171,255,0.2), transparent 67%);
  filter: blur(3px);
}

.profile-header, .profile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.availability, .sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #d7d7de;
  background: rgba(255,255,255,0.045);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.availability span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #70e9ac;
  box-shadow: 0 0 0 4px rgba(112,233,172,0.1), 0 0 12px #70e9ac;
}

.sound-toggle {
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.sound-toggle:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.sound-toggle:active { transform: scale(.96); }

.sound-bars { display: inline-flex; align-items: center; gap: 2px; height: 12px; }
.sound-bars i { width: 2px; min-height: 3px; border-radius: 99px; background: var(--violet); animation: equalize .85s ease-in-out infinite alternate; }
.sound-bars i:nth-child(2) { height: 10px; animation-delay: -.45s; }
.sound-bars i:nth-child(3) { height: 6px; animation-delay: -.15s; }
.is-paused .sound-bars i { animation-play-state: paused; height: 3px; }

.identity { padding: 31px 0 25px; text-align: center; }

.avatar-wrap { position: relative; width: 106px; height: 106px; margin: 0 auto 16px; }

.avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.36);
  box-shadow: 0 10px 28px rgba(0,0,0,.32);
  transform: rotate(-2.4deg);
}

.avatar-ring { position: absolute; inset: -5px; border-radius: 36px; border: 1px solid rgba(169,149,255,.48); transform: rotate(3.4deg); }

h1 { margin: 0; font-size: clamp(35px, 8vw, 44px); letter-spacing: -0.07em; line-height: .98; }

.bio { margin: 10px 0 0; color: #c4c4cd; font-size: 14px; letter-spacing: -.015em; }

.music-card {
  display: grid;
  grid-template-columns: 45px 1fr 39px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: linear-gradient(110deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.075);
}

.floating-music {
  position: fixed;
  z-index: 5;
  right: 20px;
  bottom: 20px;
  width: min(226px, calc(100vw - 40px));
  min-height: 64px;
  grid-template-columns: 40px 1fr 35px;
  gap: 10px;
  padding: 9px;
  border-radius: 19px;
  background: rgba(18, 18, 25, .68);
  box-shadow: 0 18px 40px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
}

.floating-music .music-cover { width: 40px; height: 40px; border-radius: 12px; }
.floating-music .track-play { width: 35px; height: 35px; }
.floating-music .track-copy strong { font-size: 12px; }
.floating-music .track-copy > span:last-child { font-size: 10px; }

.music-cover { position: relative; display: grid; place-items: center; width: 45px; height: 45px; overflow: hidden; border-radius: 14px; background: linear-gradient(140deg, #e0dcff, #8c75e9 42%, #312765); color: #fff; box-shadow: 0 5px 14px rgba(0,0,0,.25); }
.music-cover::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); }
.music-cover span:not(.cover-shine) { position: relative; z-index: 1; font-size: 16px; font-weight: 800; font-family: Georgia, serif; font-style: italic; }
.cover-shine { position: absolute; width: 90%; height: 24%; top: -1px; left: -15px; background: rgba(255,255,255,.45); filter: blur(7px); transform: rotate(-35deg); }

.track-copy { display: grid; min-width: 0; gap: 2px; }
.track-copy .eyebrow { color: #aea0ec; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.track-copy strong { overflow: hidden; color: #f4f4f6; font-size: 13px; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.track-copy > span:last-child { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.track-play { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #201b35; background: #f1edff; cursor: pointer; transition: transform 180ms ease, background 180ms ease; }
.track-play:hover { transform: scale(1.07); background: #fff; }
.track-play:active { transform: scale(.94); }
.pause-symbol { width: 9px; height: 11px; border-right: 3px solid currentColor; border-left: 3px solid currentColor; }
.track-play.is-paused .pause-symbol { width: 0; height: 0; margin-left: 3px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; border-right: 0; }

.social-list { display: grid; gap: 10px; margin-top: 18px; }

.social-link {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 13px;
  min-height: 64px;
  overflow: hidden;
  padding: 9px 12px 9px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  background: rgba(255,255,255,.04);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), background 220ms ease, border-color 220ms ease;
}

button.social-link { cursor: pointer; }
.copy-link.is-copied { border-color: rgba(126, 245, 177, .5); background: rgba(57, 174, 110, .13); }

.social-link::before { content: ""; position: absolute; inset: 0; opacity: 0; background: linear-gradient(110deg, rgba(255,255,255,.17), transparent 47%); transition: opacity 220ms ease; }
.social-link:hover { transform: translateY(-3px) scale(1.012); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.085); }
.social-link:hover::before { opacity: 1; }
.social-link:active { transform: translateY(0) scale(.985); }

.social-icon { position: relative; z-index: 1; display: grid; flex: 0 0 auto; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: var(--icon-bg, #252530); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 5px 12px rgba(0,0,0,.16); }
.social-icon svg { width: 21px; height: 21px; fill: currentColor; }
.social-copy { position: relative; z-index: 1; display: grid; min-width: 0; gap: 3px; }
.social-copy strong { font-size: 14px; letter-spacing: -.025em; }
.social-copy span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.link-arrow { position: relative; z-index: 1; margin-left: auto; color: #d0c8f5; font-size: 21px; font-weight: 300; transition: transform 200ms ease; }
.social-link:hover .link-arrow { transform: translate(2px,-2px); }

.spotify-presence {
  display: grid;
  grid-template-columns: 43px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  margin-top: 10px;
  padding: 9px 12px 9px 10px;
  overflow: hidden;
  border: 1px solid rgba(74, 225, 126, .27);
  border-radius: 20px;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(115deg, rgba(30, 215, 96, .16), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.spotify-presence[hidden] { display: none; }
.spotify-cover { display: grid; place-items: center; width: 43px; height: 43px; overflow: hidden; border-radius: 14px; background: #1ed760; color: #102b18; font-size: 20px; font-weight: 900; font-style: italic; }
.spotify-cover img { width: 100%; height: 100%; object-fit: cover; }
.spotify-copy { display: grid; min-width: 0; gap: 3px; }
.spotify-copy strong, .spotify-copy > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotify-copy strong { font-size: 13px; letter-spacing: -.02em; }
.spotify-copy > span:last-child { color: var(--muted); font-size: 11px; }
.spotify-state { color: #7ff0a9; font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.spotify-live { padding: 4px 7px; border-radius: 99px; background: rgba(35, 215, 105, .16); color: #86f4ae; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.spotify-presence.is-idle { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.spotify-presence.is-idle .spotify-state, .spotify-presence.is-idle .spotify-live { color: var(--muted); }
.spotify-presence.is-idle .spotify-live { background: rgba(255,255,255,.06); }

.about-section {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.04);
}

.about-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 62px;
  gap: 12px;
  padding: 9px 12px 9px 10px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.about-icon { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #e7e0ff; background: linear-gradient(135deg, #9880f3, #55439a); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 5px 13px rgba(0,0,0,.18); font-size: 18px; }
.about-title { display: grid; flex: 1; gap: 3px; }
.about-title strong { font-size: 14px; letter-spacing: -.025em; }
.about-title > span { color: var(--muted); font-size: 10px; }
.about-plus {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #d7d2ef;
  font-size: 19px;
  font-weight: 300;
  line-height: 1;
  transition: transform 220ms ease, color 220ms ease;
}

.about-toggle:hover { background: rgba(255,255,255,.035); }
.about-toggle:hover .about-plus { color: #fff; }
.about-section.is-open .about-plus { transform: rotate(90deg); }
.about-content { display: grid; gap: 12px; padding: 0 14px 15px; border-top: 1px solid rgba(255,255,255,.07); animation: about-open 260ms ease both; }
.about-content[hidden] { display: none; }
.about-meta { margin-top: 13px; color: #ded8ff; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.about-content p { margin: 0; color: #b7b6c0; font-size: 12px; line-height: 1.45; }
.about-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.about-tags span { padding: 5px 8px; border: 1px solid rgba(255,255,255,.11); border-radius: 99px; color: #cbc8d6; background: rgba(255,255,255,.045); font-size: 9px; letter-spacing: .035em; }

.profile-footer { justify-content: center; gap: 10px; margin-top: 15px; padding: 4px 4px 0; color: #85858e; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.visitor-counter { display: inline-flex; align-items: center; gap: 5px; color: #bab7ca; letter-spacing: .07em; }
.visitor-counter i { width: 5px; height: 5px; border-radius: 50%; background: #b69cff; box-shadow: 0 0 10px rgba(182,156,255,.8); }
.visitor-counter strong { color: #e4ddff; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(13px); animation: reveal 680ms cubic-bezier(.2,.8,.2,1) forwards; }
.reveal-1 { animation-delay: 190ms; } .reveal-2 { animation-delay: 285ms; } .reveal-3 { animation-delay: 385ms; } .reveal-4 { animation-delay: 475ms; } .reveal-5 { animation-delay: 565ms; } .reveal-6 { animation-delay: 650ms; }

@keyframes card-fade { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: blur(0); } }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes equalize { from { transform: scaleY(.42); } to { transform: scaleY(1); } }
@keyframes drift-one { to { transform: translate(20vw, 16vh) scale(1.15); } }
@keyframes drift-two { to { transform: translate(-18vw, -13vh) scale(.88); } }
@keyframes loader-word { from { opacity: 0; transform: translateY(9px); letter-spacing: -.03em; } to { opacity: 1; transform: translateY(0); letter-spacing: -.085em; } }
@keyframes about-open { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 460px) {
  .profile-shell { padding: 14px 12px; align-items: stretch; }
  .profile-card { width: 100%; min-height: calc(100vh - 28px); padding: 18px 15px 14px; border-radius: 29px; }
  .identity { padding: 25px 0 23px; }
  .avatar-wrap { width: 98px; height: 98px; }
  .profile-footer { margin-top: 16px; }
  .floating-music { right: 13px; bottom: 13px; width: min(210px, calc(100vw - 26px)); }
}

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

.custom-cursor { display: none; }
html.has-custom-cursor body,
html.has-custom-cursor a,
html.has-custom-cursor button { cursor: none; }
html.has-custom-cursor .custom-cursor { position: fixed; z-index: 60; top: 0; left: 0; display: block; width: 46px; height: 46px; pointer-events: none; opacity: 0; transition: opacity 180ms ease; will-change: transform; }
html.has-custom-cursor .custom-cursor.is-visible { opacity: 1; }
html.has-custom-cursor .cursor-ring { position: absolute; inset: 1px; border: 1px solid rgba(229, 218, 255, .9); border-radius: 50%; box-shadow: 0 0 27px rgba(156, 127, 255, .4), inset 0 0 14px rgba(174, 150, 255, .16); transition: transform 190ms ease, background 190ms ease, border-color 190ms ease; }
html.has-custom-cursor .cursor-dot { position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px #b49cff; transform: translate(-50%, -50%); }
html.has-custom-cursor .custom-cursor.is-hovering .cursor-ring { border-color: #fff; background: rgba(178, 155, 255, .26); transform: scale(.64); }
.background-video,
.video-wash {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.background-video {
  z-index: -5;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(1.08) brightness(.48);
  transform: scale(1.025);
}

.video-wash {
  z-index: -4;
  background:
    radial-gradient(circle at 50% 45%, rgba(15, 15, 22, .13), rgba(5, 5, 8, .43) 75%),
    linear-gradient(135deg, rgba(34, 24, 75, .18), rgba(0, 0, 0, .4));
}
