:root {
  color-scheme: dark;
  --text: #f8f8f8;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.46);
  --panel: rgba(9, 10, 13, 0.38);
  --stroke: rgba(255, 255, 255, 0.14);
  --glow: rgba(255, 255, 255, 0.42);
  --green: #41f09d;
  --yellow: #f3c95f;
  --red: #ff5f76;
  --gray: #9a9ca4;
}

@font-face {
  font-family: "Minecraft Rus";
  src: url("assets/minecraft-rus.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #050609;
  cursor: url("assets/cursor.cur"), auto;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-family:
    "Minecraft Rus", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  cursor: url("assets/cursor.cur"), auto;
  -webkit-user-select: none;
  user-select: none;
}

body.is-entering {
  overflow: hidden;
}

a,
button {
  cursor: url("assets/cursor.cur"), pointer;
}

.entry-screen {
  position: fixed;
  z-index: 30;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  opacity: 1;
  transition:
    opacity 720ms ease,
    visibility 720ms ease;
}

.entry-screen::before,
.entry-screen::after {
  position: absolute;
  inset: -44px;
  content: "";
}

.entry-screen::before {
  display: none;
}

.entry-screen::after {
  background: #000;
}

.entry-screen.is-exiting {
  pointer-events: none;
  animation: entryBlackFade 680ms ease forwards;
}

.entry-screen.is-exiting::before {
  opacity: 0;
}

.entry-screen.is-exiting::after {
  background: #000;
  opacity: 1;
}

.entry-screen.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.entry-screen.is-loading {
  cursor: url("assets/cursor.cur"), wait;
}

.entry-screen.is-font-loading .entry-copy {
  opacity: 0;
}

.entry-copy {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 520;
  letter-spacing: 0;
  text-align: center;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.38),
    0 0 34px rgba(255, 255, 255, 0.22);
  animation: entryPulse 1.8s ease-in-out infinite;
}

.entry-copy span {
  display: inline-block;
  min-width: 210px;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.entry-screen.is-switching .entry-copy span {
  opacity: 0;
  transform: translateY(4px) scale(0.98);
}

.entry-screen.is-exiting .entry-copy {
  animation: entryCopyOut 260ms ease forwards;
}

.background-video,
.scene-overlay,
.scene-overlay::before,
.scene-overlay::after {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.background-video {
  z-index: -3;
  object-fit: cover;
  background: #050609 url("assets/poster.jpg") center / cover no-repeat;
  filter: blur(1.2px) saturate(0.72) contrast(1.05) brightness(0.7);
  transform: scale(1.035);
}

.scene-overlay {
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at center, transparent 31%, rgba(0, 0, 0, 0.68) 78%, rgba(0, 0, 0, 0.9)),
    linear-gradient(180deg, rgba(1, 2, 5, 0.35), rgba(1, 2, 5, 0.58));
}

.scene-overlay::before {
  display: none;
}

.scene-overlay::after {
  content: "";
  background:
    radial-gradient(circle at 50% 50%, transparent 0 20%, rgba(0, 0, 0, 0.36) 65%, rgba(0, 0, 0, 0.76) 100%);
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px 18px;
}

.bio-stack {
  display: grid;
  justify-items: center;
  width: min(640px, calc(100vw - 32px));
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  animation: stackIn 760ms cubic-bezier(0.22, 1, 0.36, 1) 120ms forwards;
}

.hero-copy,
.profile-card,
.bio-panel,
.track-card,
.socials,
.views {
  opacity: 0;
  transform: translateY(-16px) scale(0.985);
}

body:not(.is-entering) .hero-copy,
body:not(.is-entering) .profile-card,
body:not(.is-entering) .bio-panel,
body:not(.is-entering) .track-card,
body:not(.is-entering) .socials,
body:not(.is-entering) .views {
  animation: surfaceDropIn 780ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body:not(.is-entering) .hero-copy {
  animation-delay: 220ms;
}

body:not(.is-entering) .profile-card {
  animation-delay: 340ms;
}

body:not(.is-entering) .bio-panel {
  animation-delay: 460ms;
}

body:not(.is-entering) .track-card {
  animation-delay: 560ms;
}

body:not(.is-entering) .socials {
  animation-delay: 640ms;
}

body:not(.is-entering) .views {
  animation-delay: 720ms;
}

.hero-copy {
  display: grid;
  justify-items: center;
  width: 100%;
  text-align: center;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.34),
    0 2px 18px rgba(0, 0, 0, 0.8);
}

h1,
.name-copy {
  position: relative;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1;
  font-weight: 560;
  letter-spacing: 0;
  text-shadow:
    0 0 7px rgba(255, 255, 255, 0.92),
    0 0 22px rgba(255, 255, 255, 0.52),
    0 0 48px rgba(255, 255, 255, 0.24);
}

.hero-word {
  display: inline-block;
  min-height: 1em;
  transform: translateZ(0);
  transform-origin: center;
  transition:
    color 180ms ease,
    filter 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease;
}

.hero-word:hover {
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.58));
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.96),
    0 0 24px rgba(255, 255, 255, 0.62),
    0 0 48px rgba(255, 255, 255, 0.34);
  transform: scale(1.055);
}

.name-glow {
  position: relative;
  display: inline-block;
}

.name-glow::before {
  position: absolute;
  inset: -26px -54px;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.34), transparent 58%),
    repeating-radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 10px);
  filter: blur(10px);
  opacity: 1;
  animation: nameAura 2.4s ease-in-out infinite;
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: sparkleBlink 2.25s ease-in-out infinite;
}

.sparkle::before,
.sparkle::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  background: rgba(255, 255, 255, 0.88);
  transform: translate(-50%, -50%);
}

.sparkle::before {
  width: 18px;
  height: 1px;
}

.sparkle::after {
  width: 1px;
  height: 18px;
}

.sparkle-one {
  top: -5px;
  left: 8%;
  animation-delay: 0.1s;
}

.sparkle-two {
  top: 4px;
  right: 5%;
  transform: scale(0.78);
  animation-delay: 0.9s;
}

.sparkle-three {
  right: 22%;
  bottom: -4px;
  transform: scale(0.62);
  animation-delay: 1.55s;
}

.sparkle-four {
  top: -14px;
  left: 38%;
  transform: scale(0.58);
  animation-delay: 0.45s;
}

.sparkle-five {
  right: 36%;
  bottom: -13px;
  transform: scale(0.72);
  animation-delay: 1.1s;
}

.sparkle-six {
  top: 16px;
  left: -5%;
  transform: scale(0.52);
  animation-delay: 1.82s;
}

.sparkle-seven {
  top: -18px;
  right: 28%;
  transform: scale(0.46);
  animation-delay: 0.24s;
}

.sparkle-eight {
  left: 23%;
  bottom: -18px;
  transform: scale(0.6);
  animation-delay: 0.72s;
}

.sparkle-nine {
  top: 20px;
  right: -8%;
  transform: scale(0.5);
  animation-delay: 1.32s;
}

.sparkle-ten {
  top: -2px;
  left: 54%;
  transform: scale(0.42);
  animation-delay: 1.72s;
}

.sparkle-eleven {
  left: 4%;
  bottom: -10px;
  transform: scale(0.44);
  animation-delay: 2.05s;
}

.sparkle-twelve {
  top: -20px;
  right: 7%;
  transform: scale(0.54);
  animation-delay: 2.28s;
}

.hero-subtitle {
  display: grid;
  grid-template-columns: minmax(104px, 1fr) 18px minmax(74px, 1fr) 18px minmax(104px, 1fr);
  align-items: center;
  justify-items: center;
  column-gap: 2px;
  width: min(430px, 100%);
  margin: 12px 0 13px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 520;
  line-height: 1;
}

.hero-separator {
  display: inline-grid;
  width: 18px;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1;
  transition: opacity 160ms ease;
}

.telegram-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  cursor: url("assets/cursor.cur"), default;
  font-size: 20px;
  font-weight: 520;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
  transition:
    color 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
  translate: -6px 0;
}

.location-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  filter:
    drop-shadow(0 0 7px rgba(255, 255, 255, 0.8))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.42));
}

.telegram-cta:hover {
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
  transform: translateY(-2px) scale(1.045);
}

.telegram-cta span {
  font-size: 10px;
}

.telegram-cta .tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  display: block;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(18, 19, 24, 0.88);
  box-shadow:
    0 15px 34px rgba(0, 0, 0, 0.46),
    0 0 24px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 520;
  letter-spacing: 0;
  padding: 9px 13px;
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  transform: translate(-50%, 8px) scale(0.96);
  transition:
    opacity 170ms ease,
    transform 170ms ease;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.telegram-cta:hover .tooltip,
.telegram-cta:focus-visible .tooltip {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.profile-card {
  display: grid;
  grid-template-columns: 78px minmax(0, auto);
  align-items: center;
  gap: 17px;
  width: min(430px, calc(100vw - 42px));
  max-width: calc(100vw - 28px);
  min-height: 92px;
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 38px;
  background:
    radial-gradient(circle at 17% 50%, rgba(255, 255, 255, 0.03), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.126), rgba(18, 19, 24, 0.05));
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  padding: 8px 16px 8px 8px;
  backdrop-filter: blur(8px) saturate(1.02);
  -webkit-backdrop-filter: blur(8px) saturate(1.02);
  transition: none;
}

.avatar-wrap {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  padding: 0;
  background: rgba(0, 0, 0, 0.74);
  box-shadow:
    0 13px 34px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.avatar {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  background: #0c0d12;
}

.status-dot {
  position: absolute;
  z-index: 3;
  right: 3px;
  bottom: 4px;
  width: 15px;
  height: 15px;
  border: 0;
  border-radius: 50%;
  background: var(--gray);
  box-shadow: 0 0 9px currentColor;
  color: var(--gray);
}

.status-dot.online {
  background: var(--green);
  color: var(--green);
}

.status-dot.idle {
  background: var(--yellow);
  color: var(--yellow);
}

.status-dot.dnd {
  background: var(--red);
  color: var(--red);
}

.discord-copy {
  min-width: 0;
  max-width: min(318px, calc(100vw - 148px));
}

.discord-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.username-copy {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.96);
  font: inherit;
  font-size: 26px;
  font-weight: 520;
  line-height: 1.05;
  padding: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  transition: none;
}

.name-copy::before,
.name-copy::after,
.username-copy::before,
.username-copy::after {
  position: absolute;
  inset: 0;
  color: #fff;
  content: attr(data-glitch);
  opacity: 0;
  pointer-events: none;
  text-shadow: inherit;
}

.name-copy.is-glitching::before,
.username-copy.is-glitching::before {
  animation: nameGlitchTop 420ms steps(2, end) both;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
}

.name-copy.is-glitching::after,
.username-copy.is-glitching::after {
  animation: nameGlitchBottom 420ms steps(2, end) both;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.38));
}

.name-copy.is-glitching,
.username-copy.is-glitching {
  animation: nameGlitchCore 420ms steps(2, end) both;
}

.verified-pill {
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 480;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.28);
}

.guild-badge {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(65, 240, 157, 0.62));
}

.developer-badge {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #43e0cf;
  filter: drop-shadow(0 0 10px rgba(67, 224, 207, 0.55));
}

.developer-badge svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.badge-tooltip::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  border-radius: 999px;
  background: rgba(18, 19, 24, 0.9);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 10px;
  font-weight: 480;
  opacity: 0;
  padding: 5px 8px;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.badge-tooltip:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.discord-copy p {
  margin: 5px 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  font-weight: 360;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 22px;
  transform: translateY(0);
  transition:
    margin-top 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.social-link,
.sound-toggle {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: transparent;
  text-decoration: none;
  filter:
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.82))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.34));
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.social-link {
  width: 40px;
  height: 40px;
}

.social-link img,
.sound-toggle svg {
  display: block;
  width: 34px;
  height: 34px;
}

.social-link:hover,
.sound-toggle:hover {
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 1))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.72));
  transform: translateY(-6px) scale(1.16);
}

.bio-panel {
  width: min(430px, calc(100vw - 42px));
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.022)),
    rgba(8, 9, 12, 0.306);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 9px;
  backdrop-filter: blur(12px) saturate(1.04);
  -webkit-backdrop-filter: blur(12px) saturate(1.04);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.bio-panel.is-open + .track-card {
  margin-top: 24px;
  transform: translateY(2px);
}

.bio-panel.is-open {
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.36),
    0 0 26px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bio-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.117), rgba(255, 255, 255, 0.032)),
    rgba(255, 255, 255, 0.032);
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  padding: 0 11px 0 14px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.22);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    filter 180ms ease;
}

.bio-toggle:hover,
.bio-panel.is-open .bio-toggle {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.045);
  color: #fff;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.18));
}

.bio-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bio-panel.is-open .bio-toggle svg {
  transform: rotate(180deg);
}

.bio-drawer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transition:
    grid-template-rows 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bio-panel.is-open .bio-drawer {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.bio-drawer-inner {
  min-height: 0;
  padding-top: 0;
  transition: padding-top 260ms ease;
}

.bio-panel.is-open .bio-drawer-inner {
  padding-top: 9px;
}

.bio-panel-body {
  position: relative;
  min-height: 74px;
}

.bio-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

.bio-facts div {
  min-width: 0;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 10px;
  text-align: center;
}

.bio-fact-wide {
  grid-column: 1 / -1;
  text-align: center;
}

.bio-facts dt {
  margin: 0 0 3px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 520;
  line-height: 1;
  text-transform: uppercase;
}

.bio-facts dd {
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: min(430px, calc(100vw - 42px));
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.11), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(8, 9, 12, 0.48);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 9px 11px;
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  transition:
    margin-top 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.track-cover-wrap {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

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

.track-main {
  min-width: 0;
}

.track-title-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  margin-bottom: 6px;
}

.track-title-row strong,
.track-title-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-title-row strong {
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 620;
}

.track-title-row span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.track-progress-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
}

.track-progress {
  width: 100%;
  height: 12px;
  margin: 0;
  accent-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.track-progress::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff var(--progress, 0%), rgba(255, 255, 255, 0.25) var(--progress, 0%));
}

.track-progress::-webkit-slider-thumb {
  width: 7px;
  height: 7px;
  margin-top: -2px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  appearance: none;
  -webkit-appearance: none;
}

.track-progress::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.track-progress::-moz-range-progress {
  height: 3px;
  border-radius: 999px;
  background: #fff;
}

.track-controls {
  display: grid;
  grid-template-columns: repeat(3, 24px);
  gap: 3px;
}

.track-control {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  padding: 0;
  transition:
    color 160ms ease,
    filter 160ms ease,
    transform 160ms ease;
}

.track-control svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.track-play svg {
  width: 22px;
  height: 22px;
}

.track-control:hover,
.track-control.is-playing {
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.42));
}

.track-control:hover {
  transform: translateY(-1px);
}

.pause-icon {
  display: none;
}

.track-play.is-playing .play-icon {
  display: none;
}

.track-play.is-playing .pause-icon {
  display: block;
}

.views {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  justify-self: center;
  width: 48px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  cursor: url("assets/cursor.cur"), pointer;
  font-size: 13px;
  font-weight: 480;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.34));
  transition: width 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.views.is-wide {
  width: 132px;
}

.views::before {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 15px);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(17, 18, 23, 0.88);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  color: #fff;
  content: "Profile Views";
  font-size: 18px;
  font-weight: 420;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0;
  padding: 13px 20px;
  pointer-events: none;
  transform: translate(-50%, 6px) scale(0.97);
  transition:
    opacity 170ms ease,
    transform 170ms ease;
  white-space: nowrap;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.views:hover::before {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.status-label {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 520;
}

.views svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.views span {
  display: inline-block;
  min-width: 18px;
  opacity: 1;
  overflow: hidden;
  text-align: center;
  transition:
    color 180ms ease,
    min-width 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease;
  white-space: nowrap;
}

.views span.is-watching {
  min-width: 104px;
  color: #fff;
  font-size: 11px;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.86),
    0 0 24px rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.views span.is-fading {
  opacity: 0;
  transform: translateY(2px) scale(0.96);
}

.views span.is-counting {
  color: #fff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.72),
    0 0 22px rgba(255, 255, 255, 0.32);
  transform: translateY(-1px) scale(1.08);
}

.copy-toast {
  position: fixed;
  z-index: 8;
  left: 50%;
  bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(12, 13, 17, 0.82);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 480;
  opacity: 0;
  padding: 7px 11px;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.copy-particle {
  position: fixed;
  z-index: 20;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.82),
    0 0 18px rgba(255, 255, 255, 0.34);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: copyParticle 620ms ease-out forwards;
}

.devtools-shield {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 520;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transition: opacity 160ms ease;
}

.devtools-shield.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.devtools-shield span {
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.45),
    0 0 36px rgba(255, 255, 255, 0.22);
}

.sound-toggle {
  width: 32px;
  height: 32px;
  padding: 0;
}

.sound-toggle svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.sound-control {
  position: fixed;
  z-index: 4;
  top: 17px;
  left: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}

.volume-popover {
  display: grid;
  place-items: center;
  width: 92px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px) scaleX(0.88);
  transform-origin: left center;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sound-control:hover .volume-popover,
.sound-control.is-volume-open .volume-popover,
.sound-control:focus-within .volume-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scaleX(1);
}

.volume-popover input {
  display: block;
  width: 68px;
  height: 14px;
  accent-color: #fff;
  cursor: url("assets/cursor.cur"), pointer;
}

.volume-popover input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  margin: 0;
}

.volume-popover input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.34);
}

.volume-popover input[type="range"]::-webkit-slider-thumb {
  width: 9px;
  height: 9px;
  margin-top: -2px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 9px rgba(255, 255, 255, 0.7);
  appearance: none;
  -webkit-appearance: none;
}

.volume-popover input[type="range"]::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.34);
}

.volume-popover input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 9px rgba(255, 255, 255, 0.7);
}

.smoke-layer {
  position: fixed;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.smoke-puff {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--size, 42px);
  height: var(--size, 42px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08) 40%, transparent 72%);
  filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%) scale(0.5);
  animation: smokePuff 1120ms ease-out forwards;
  mix-blend-mode: screen;
}

.cursor-dot,
.cursor-ring {
  display: none;
}

@keyframes stackIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes surfaceDropIn {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(0.982);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes smokePuff {
  0% {
    opacity: 0;
    transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%) scale(0.45);
  }

  18% {
    opacity: 0.86;
  }

  100% {
    opacity: 0;
    transform: translate3d(calc(var(--x) + var(--drift-x)), calc(var(--y) + var(--drift-y)), 0) translate(-50%, -50%) scale(1.7);
  }
}

@keyframes entryPulse {
  0%,
  100% {
    opacity: 0.64;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes entryCopyOut {
  to {
    opacity: 0;
    transform: scale(0.96);
  }
}

@keyframes entryBlackFade {
  0%,
  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes nameAura {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes sparkleBlink {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.45) rotate(0deg);
  }

  18% {
    opacity: 1;
    transform: scale(1) rotate(18deg);
  }

  34% {
    opacity: 0;
    transform: scale(0.62) rotate(35deg);
  }
}

@keyframes copyParticle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.15);
  }
}

@keyframes nameGlitchCore {
  0% {
    filter: none;
  }

  35% {
    filter: blur(0.4px) drop-shadow(0 0 18px rgba(255, 255, 255, 0.42));
  }

  100% {
    filter: none;
  }
}

@keyframes nameGlitchTop {
  0%,
  100% {
    opacity: 0;
    transform: translate(0, 0) skewX(0deg);
  }

  18% {
    opacity: 0.7;
    transform: translate(-3px, -1px) skewX(-5deg);
  }

  44% {
    opacity: 0.38;
    transform: translate(2px, 1px) skewX(4deg);
  }

  68% {
    opacity: 0.55;
    transform: translate(-1px, 0) skewX(-2deg);
  }
}

@keyframes nameGlitchBottom {
  0%,
  100% {
    opacity: 0;
    transform: translate(0, 0) skewX(0deg);
  }

  22% {
    opacity: 0.48;
    transform: translate(3px, 1px) skewX(5deg);
  }

  52% {
    opacity: 0.32;
    transform: translate(-2px, -1px) skewX(-4deg);
  }

  74% {
    opacity: 0.44;
    transform: translate(1px, 1px) skewX(2deg);
  }
}

@keyframes tvMatrix {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-7px, 0, 0);
  }
}

@media (max-width: 640px) {
  body {
    overflow: auto;
  }

  .background-video {
    filter: brightness(0.58) saturate(0.7);
    transform: none;
  }

  .scene-overlay {
    background:
      radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.055), transparent 26%),
      radial-gradient(circle at center, transparent 24%, rgba(0, 0, 0, 0.62) 72%, rgba(0, 0, 0, 0.88)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.66));
  }

  .scene-overlay::before {
    display: none;
  }

  .scene-overlay::after {
    background: radial-gradient(circle at 50% 54%, transparent 0 30%, rgba(0, 0, 0, 0.38) 72%, rgba(0, 0, 0, 0.74) 100%);
    animation: none;
  }

  .page-shell {
    min-height: 100svh;
    padding: 72px 18px 48px;
  }

  .bio-stack {
    width: min(100%, 356px);
  }

  .profile-card {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 11px;
    width: min(100%, 346px);
    max-width: 100%;
    min-height: 80px;
    margin-top: 32px;
    border-radius: 26px;
    padding: 7px 10px 7px 7px;
  }

  .avatar-wrap {
    width: 66px;
    height: 66px;
  }

  .status-dot {
    right: 2px;
    bottom: 3px;
    width: 13px;
    height: 13px;
  }

  .discord-heading {
    gap: 6px;
  }

  .username-copy {
    font-size: 22px;
  }

  .guild-badge {
    width: 18px;
    height: 18px;
  }

  .verified-pill {
    font-size: 14px;
  }

  .developer-badge {
    width: 21px;
    height: 21px;
  }

  .discord-copy p {
    margin-top: 4px;
    font-size: 14px;
  }

  .socials {
    gap: 13px;
    margin-top: 20px;
  }

  .bio-panel {
    width: min(100%, 346px);
    margin-top: 18px;
    border-radius: 22px;
  }

  .track-card {
    grid-template-columns: 46px minmax(0, 1fr);
    width: min(100%, 346px);
    gap: 9px;
    border-radius: 18px;
    padding: 8px;
  }

  .track-cover-wrap {
    width: 46px;
    height: 46px;
  }

  .track-controls {
    grid-column: 2;
    grid-row: auto;
    justify-content: end;
    margin-top: 0;
  }

  .track-title-row strong {
    font-size: 11px;
  }

  .track-progress-row {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 5px;
    font-size: 8px;
  }

  .bio-facts {
    gap: 6px;
  }

  .bio-facts div {
    padding: 7px 8px;
  }

  .bio-facts dd {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .hero-subtitle {
    grid-template-columns: minmax(76px, 1fr) 12px minmax(48px, 0.8fr) 12px minmax(76px, 1fr);
    column-gap: 1px;
    font-size: 12px;
  }

  .hero-separator {
    width: 12px;
  }

  .profile-card {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 9px;
  }

  .avatar-wrap {
    width: 60px;
    height: 60px;
  }

  .username-copy {
    font-size: 18px;
  }

  .guild-badge {
    width: 16px;
    height: 16px;
  }

  .verified-pill {
    font-size: 12px;
  }

  .developer-badge {
    width: 18px;
    height: 18px;
  }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  body,
  a,
  button {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring,
  .cursor-light {
    display: none;
  }
}

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