:root {
  --bg: #02060b;
  --card: rgba(3, 12, 19, 0.7);
  --text: #f4f7fb;
  --muted: rgba(244, 247, 251, 0.72);
  --edge: rgba(204, 241, 255, 0.34);
  --edge-hot: rgba(82, 214, 255, 0.38);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Sora", sans-serif;
}

.cursor-sparkles {
  position: fixed;
  inset: 0;
  z-index: 9;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

body:not(.entered) .page {
  filter: blur(8px);
  opacity: 0.28;
  transform: scale(0.985);
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.volume-control {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 11;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  background:
    linear-gradient(rgba(5, 14, 22, 0.62), rgba(3, 10, 17, 0.52)) padding-box,
    linear-gradient(145deg, rgba(202, 239, 255, 0.22), rgba(255, 255, 255, 0.05), rgba(82, 214, 255, 0.2)) border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 36px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(95, 211, 255, 0.08);
  transform: translateY(-8px) scale(0.96);
}

body.entered .volume-control {
  pointer-events: auto;
  animation: volumeEnter 760ms 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.volume-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: rgba(244, 247, 251, 0.82);
  background: rgba(255, 255, 255, 0.035);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.volume-toggle:hover,
.volume-toggle:focus-visible,
.volume-control.open .volume-toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
  box-shadow: 0 0 18px rgba(95, 211, 255, 0.14);
  transform: translateY(-1px);
}

.volume-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.volume-icon-off,
.volume-control.muted .volume-icon-on {
  display: none;
}

.volume-control.muted .volume-icon-off {
  display: block;
}

.volume-panel {
  display: grid;
  width: 0;
  height: 34px;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(4px);
  transform-origin: right center;
  transition:
    width 260ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 260ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.volume-control.open .volume-panel,
.volume-control:hover .volume-panel,
.volume-control:focus-within .volume-panel {
  width: 98px;
  padding: 0 10px 0 6px;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.volume-slider {
  width: 78px;
  height: 4px;
  accent-color: #9be7ff;
  cursor: pointer;
}

.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(244, 247, 251, 0.88);
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), transparent 24%),
    rgba(0, 0, 0, 0.58);
  border: 0;
  font: inherit;
  letter-spacing: 0;
  backdrop-filter: blur(8px);
  transition:
    opacity 650ms ease,
    visibility 650ms ease;
}

.enter-screen span {
  position: relative;
  font-size: 1.05rem;
  font-weight: 500;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.34),
    0 0 24px rgba(90, 206, 255, 0.16);
  animation: enterPulse 1.8s ease-in-out infinite;
}

.enter-screen span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.34);
}

body.entered .enter-screen {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.entered .profile-card {
  animation: cardEnter 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.entered .name-wrap,
body.entered .bio,
body.entered .location,
body.entered .socials,
body.entered .views {
  animation: contentEnter 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.entered .bio {
  animation-delay: 90ms;
}

body.entered .location {
  animation-delay: 150ms;
}

body.entered .socials {
  animation-delay: 220ms;
}

body.entered .views {
  animation-delay: 300ms;
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(rgba(1, 6, 11, 0.74), rgba(1, 6, 11, 0.82)),
    radial-gradient(circle at 48% 38%, rgba(72, 128, 148, 0.12), transparent 25%),
    linear-gradient(180deg, #050c14 0%, #02070d 48%, #010409 100%);
}

.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(210, 230, 242, 0.17) 0.8px, transparent 0.9px);
  background-size: 3px 3px;
  opacity: 0.58;
  mix-blend-mode: screen;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.62)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 34%, rgba(0, 0, 0, 0.5));
}

.starfield,
.starfall-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.starfield {
  background-repeat: repeat;
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
  animation: starDrift 24s linear infinite;
}

.starfield-back {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(114, 215, 255, 0.48) 0 1px, transparent 1.5px);
  background-position:
    18px 26px,
    92px 74px;
  background-size:
    142px 142px,
    218px 218px;
  opacity: 0.34;
}

.starfield-front {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(176, 235, 255, 0.62) 0 1.2px, transparent 1.7px);
  background-position:
    46px 18px,
    12px 116px;
  background-size:
    96px 96px,
    176px 176px;
  opacity: 0.4;
  animation-duration: 15s;
}

.moon {
  position: absolute;
  top: 7%;
  right: 12%;
  width: clamp(92px, 9.5vw, 148px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 23%, rgba(255, 255, 255, 0.96) 0 5.2%, transparent 5.9%),
    radial-gradient(circle at 39% 36%, rgba(94, 124, 138, 0.18) 0 9%, transparent 9.8%),
    radial-gradient(circle at 64% 30%, rgba(65, 94, 111, 0.16) 0 6.5%, transparent 7.2%),
    radial-gradient(circle at 68% 70%, rgba(42, 68, 84, 0.27) 0 12%, transparent 12.8%),
    radial-gradient(circle at 27% 70%, rgba(87, 116, 131, 0.14) 0 7%, transparent 7.8%),
    radial-gradient(circle at 42% 39%, rgba(255, 255, 255, 0.98), rgba(239, 248, 252, 0.96) 28%, rgba(190, 213, 222, 0.91) 56%, rgba(87, 119, 140, 0.78) 100%);
  box-shadow:
    inset -30px -28px 34px rgba(18, 39, 55, 0.52),
    inset -12px -7px 18px rgba(47, 77, 95, 0.3),
    inset 12px 10px 18px rgba(255, 255, 255, 0.38),
    inset 2px 0 6px rgba(255, 255, 255, 0.18),
    0 0 28px rgba(214, 238, 255, 0.3),
    0 0 92px rgba(91, 196, 255, 0.16);
  opacity: 0.9;
  transform: translate3d(0, 0, 0);
}

.moon::before {
  content: "";
  position: absolute;
  inset: 17% 19% 23% 15%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 34%, rgba(48, 78, 96, 0.32) 0 7.4%, rgba(255, 255, 255, 0.08) 7.8% 9%, transparent 9.6%),
    radial-gradient(circle at 66% 28%, rgba(52, 83, 101, 0.23) 0 5.2%, rgba(255, 255, 255, 0.07) 5.6% 6.4%, transparent 7%),
    radial-gradient(circle at 55% 63%, rgba(39, 68, 86, 0.29) 0 9.4%, rgba(255, 255, 255, 0.06) 9.8% 10.8%, transparent 11.6%),
    radial-gradient(circle at 23% 73%, rgba(57, 88, 106, 0.18) 0 4.8%, transparent 5.8%),
    radial-gradient(circle at 79% 52%, rgba(38, 67, 86, 0.2) 0 6.6%, transparent 7.6%),
    radial-gradient(ellipse at 74% 38%, rgba(27, 54, 72, 0.2) 0 16%, transparent 34%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.12), transparent 36%, rgba(10, 30, 46, 0.22) 76%);
  filter: blur(0.15px);
  opacity: 0.88;
}

.moon::after {
  content: "";
  position: absolute;
  inset: -48%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(224, 243, 255, 0.13), rgba(117, 204, 255, 0.08) 38%, transparent 66%);
  filter: blur(6px);
  animation: moonGlowPulse 4.8s ease-in-out infinite;
}

.starfall-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.92;
  mix-blend-mode: screen;
}

.anime-figure {
  position: absolute;
  filter: blur(1px);
  opacity: 0.25;
}

.figure-left {
  left: 0;
  top: 0;
  width: 42vw;
  min-width: 430px;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 18%, rgba(209, 231, 232, 0.38) 0 12%, transparent 12.4%),
    radial-gradient(ellipse at 19% 25%, rgba(210, 232, 232, 0.3) 0 14%, transparent 14.4%),
    radial-gradient(ellipse at 42% 50%, rgba(57, 91, 108, 0.4) 0 15%, transparent 15.4%),
    linear-gradient(102deg, transparent 0 34%, rgba(4, 9, 17, 0.55) 34.5% 36%, transparent 36.5%),
    linear-gradient(82deg, transparent 0 46%, rgba(3, 8, 15, 0.58) 46.5% 48%, transparent 48.5%);
}

.figure-right {
  right: 0;
  top: 0;
  width: 38vw;
  min-width: 390px;
  height: 100%;
  background:
    radial-gradient(ellipse at 64% 10%, rgba(219, 238, 230, 0.34) 0 16%, transparent 16.4%),
    radial-gradient(ellipse at 60% 28%, rgba(64, 98, 113, 0.28) 0 16%, transparent 16.4%),
    linear-gradient(118deg, transparent 0 64%, rgba(5, 10, 18, 0.62) 64.4% 65.6%, transparent 66%),
    linear-gradient(104deg, transparent 0 78%, rgba(5, 10, 18, 0.6) 78.4% 79.5%, transparent 80%);
}

.page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 18px;
  perspective: 1100px;
  transition:
    filter 650ms ease,
    opacity 650ms ease,
    transform 650ms ease;
}

.profile-card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  --sx: 0px;
  --sy: 0px;
  --glare: 0;
  position: relative;
  width: min(640px, calc(100vw - 36px));
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 42px 24px 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(145deg, var(--edge), rgba(255, 255, 255, 0.05) 38%, var(--edge-hot)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -32px 70px rgba(2, 8, 14, 0.56),
    calc(var(--sx) * -0.8) calc(34px - var(--sy) * 0.45) 80px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(102, 216, 255, 0.08),
    0 0 calc(42px + var(--glare) * 28px) rgba(70, 190, 230, 0.12);
  transform:
    rotateX(var(--rx))
    rotateY(var(--ry))
    translate3d(0, 0, 0)
    scale(1.015);
  transform-style: preserve-3d;
  transition:
    transform 70ms linear,
    box-shadow 120ms ease;
  backdrop-filter: blur(6px) saturate(120%);
  will-change: transform;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.14), transparent 26%),
    radial-gradient(rgba(210, 230, 242, 0.1) 0.8px, transparent 0.9px);
  background-size: auto, 3px 3px;
  opacity: 0.78;
  pointer-events: none;
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(209, 242, 255, 0.12);
  border-radius: 18px;
  box-shadow:
    inset 0 0 28px rgba(96, 209, 255, 0.07),
    inset calc(var(--sx) * 0.25) calc(var(--sy) * 0.25) 30px rgba(255, 255, 255, 0.035),
    0 0 18px rgba(96, 209, 255, 0.04);
  pointer-events: none;
}

.card-shine {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08) 14%, transparent 34%),
    linear-gradient(118deg, transparent 0 31%, rgba(255, 255, 255, 0.08) 39%, transparent 48% 100%);
  opacity: calc(var(--glare) * 0.72);
  mix-blend-mode: screen;
  transform: translateZ(68px);
  transition: opacity 180ms ease;
  pointer-events: none;
}

.profile-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
  transform:
    translate3d(calc(var(--sx) * 0.2), calc(var(--sy) * 0.2), 72px);
}

.name-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  padding: 12px 22px;
}

h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
  text-shadow:
    0 1px 0 rgba(196, 223, 236, 0.5),
    0 2px 0 rgba(31, 48, 60, 0.92),
    0 3px 0 rgba(16, 28, 39, 0.9),
    0 4px 0 rgba(5, 13, 22, 0.86),
    0 7px 8px rgba(0, 0, 0, 0.68),
    0 14px 22px rgba(0, 0, 0, 0.5),
    0 0 10px rgba(255, 255, 255, 0.66),
    0 0 32px rgba(128, 224, 255, 0.26);
  transform: translateZ(26px);
}

h1::after {
  content: "";
  position: absolute;
  inset: -7px -10px;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, 0.16), rgba(116, 217, 255, 0.08) 38%, transparent 70%);
  filter: blur(10px);
  transform: translateZ(-10px);
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.8),
    0 0 18px rgba(128, 224, 255, 0.42);
  opacity: 0;
  transform: scale(0.45);
  animation: sparkleFloat 3.4s ease-in-out infinite;
}

.sparkle::before,
.sparkle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -50%);
}

.sparkle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.sparkle-a {
  top: -2px;
  left: 4px;
}

.sparkle-b {
  top: 8px;
  right: 0;
  width: 4px;
  height: 4px;
  animation-delay: 0.75s;
}

.sparkle-c {
  right: 20px;
  bottom: 0;
  width: 5px;
  height: 5px;
  animation-delay: 1.45s;
}

.sparkle-d {
  bottom: 8px;
  left: 0;
  width: 4px;
  height: 4px;
  animation-delay: 2.15s;
}

.bio {
  margin: 26px 0 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 400;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.78),
    0 2px 0 rgba(0, 0, 0, 0.34),
    0 9px 15px rgba(0, 0, 0, 0.36),
    0 0 12px rgba(255, 255, 255, 0.12);
  transform: translateZ(15px);
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 25px 0 0;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 400;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.78),
    0 2px 0 rgba(0, 0, 0, 0.3),
    0 8px 13px rgba(0, 0, 0, 0.32);
  transform: translateZ(16px);
}

svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.location svg {
  width: 1em;
  height: 1em;
  color: rgba(255, 255, 255, 0.92);
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.18));
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 14px;
  margin-top: 31px;
  margin-right: auto;
  margin-left: auto;
  width: max-content;
  max-width: 100%;
}

.social-link {
  --brand: rgba(238, 247, 252, 0.92);
  --glow-strength: 0;
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: rgba(238, 247, 252, 0.72);
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  filter:
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 calc(var(--glow-strength) * 18px) color-mix(in srgb, var(--brand) 48%, transparent));
  transform:
    translate3d(calc(var(--sx) * 0.05), calc(var(--sy) * 0.05), 82px);
  transition:
    --glow-strength 520ms ease,
    color 320ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 38%, transparent), transparent 62%);
  opacity: var(--glow-strength);
  transform: scale(calc(0.78 + var(--glow-strength) * 0.22));
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover,
.social-link:focus-visible {
  --glow-strength: 1;
  color: color-mix(in srgb, var(--brand) 78%, #fff);
  outline: 0;
  transform:
    translate3d(calc(var(--sx) * 0.08), calc(var(--sy) * 0.08 - 2px), 104px)
    scale(1.14);
}

.social-link::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 2;
  min-width: max-content;
  padding: 5px 9px;
  color: rgba(244, 247, 251, 0.92);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  background: rgba(4, 12, 19, 0.86);
  border: 1px solid rgba(190, 235, 255, 0.2);
  border-radius: 999px;
  opacity: 0;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.34),
    0 0 18px color-mix(in srgb, var(--brand) 18%, transparent);
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.94);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover::after,
.social-link:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.social-link svg {
  position: relative;
  z-index: 1;
}

.social-link.discord {
  --brand: #5865f2;
}

.social-link.instagram {
  --brand: #e4405f;
}

.social-link.tiktok {
  --brand: #25f4ee;
}

.social-link.namemc {
  --brand: #ffffff;
}

.social-link.steam {
  --brand: #66c0f4;
}

.socials svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
  stroke: none;
}

.copy-discord.copied {
  color: #fff;
  animation: copyPing 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.views {
  position: absolute;
  left: 18px;
  bottom: 17px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 400;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.78),
    0 6px 10px rgba(0, 0, 0, 0.34);
  transform:
    translate3d(calc(var(--sx) * 0.14), calc(var(--sy) * 0.14), 58px);
}

.views svg {
  width: 1.05em;
  height: 1.05em;
  fill: none;
}

@keyframes sparkleFloat {
  0% {
    opacity: 0;
    transform: translateY(4px) scale(0.35) rotate(0deg);
  }
  24% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(25deg);
  }
  58% {
    opacity: 0.72;
    transform: translateY(-3px) scale(0.8) rotate(70deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.35) rotate(110deg);
  }
}

@keyframes enterPulse {
  0%,
  100% {
    opacity: 0.62;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

@keyframes starDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-96px, 96px, 0);
  }
}

@keyframes moonGlowPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes copyPing {
  0% {
    transform:
      translate3d(calc(var(--sx) * 0.08), calc(var(--sy) * 0.08 - 2px), 104px)
      scale(1.14);
  }
  46% {
    transform:
      translate3d(calc(var(--sx) * 0.08), calc(var(--sy) * 0.08 - 2px), 104px)
      scale(1.28);
  }
  100% {
    transform:
      translate3d(calc(var(--sx) * 0.08), calc(var(--sy) * 0.08 - 2px), 104px)
      scale(1.14);
  }
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform:
      rotateX(var(--rx))
      rotateY(var(--ry))
      translate3d(0, 18px, 0)
      scale(0.97);
  }
  to {
    opacity: 1;
    transform:
      rotateX(var(--rx))
      rotateY(var(--ry))
      translate3d(0, 0, 0)
      scale(1.015);
  }
}

@keyframes contentEnter {
  from {
    opacity: 0;
    filter: blur(6px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes volumeEnter {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 720px) {
  .page {
    padding: 24px 14px;
  }

  .volume-control {
    top: 12px;
    right: 12px;
  }

  .volume-toggle {
    width: 32px;
    height: 32px;
  }

  .volume-panel {
    height: 32px;
  }

  .volume-slider {
    width: 64px;
  }

  .volume-control.open .volume-panel,
  .volume-control:hover .volume-panel,
  .volume-control:focus-within .volume-panel {
    width: 82px;
  }

  .moon {
    top: 6%;
    right: 8%;
    width: clamp(74px, 18vw, 104px);
  }

  .profile-card {
    min-height: 326px;
    border-radius: 20px;
    padding: 38px 18px 46px;
  }

  h1 {
    font-size: 2.18rem;
  }

  .bio {
    max-width: 280px;
    margin-top: 28px;
    font-size: 1rem;
  }

  .location {
    margin-top: 23px;
    font-size: 1rem;
  }

  .socials {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    margin-top: 28px;
    width: min(220px, 100%);
    max-width: 220px;
  }

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

  .socials svg {
    width: 25px;
    height: 25px;
  }

  .views {
    right: 18px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .starfield,
  .moon::after {
    animation: none;
  }

  .starfall-canvas {
    display: none;
  }

  .cursor-sparkles {
    display: none;
  }
}
