:root {
  --bg: #020611;
  --text: #f8fbff;
  --muted: #b8c8df;
  --line: rgba(190, 232, 255, 0.23);
  --panel: rgba(3, 8, 18, 0.62);
  --panel-strong: rgba(4, 10, 22, 0.86);
  --blue: #31c7ff;
  --blue-soft: #9ee9ff;
  --white-glow: rgba(255, 255, 255, 0.72);
  --soft-blue-glow: rgba(49, 199, 255, 0.22);
  --green: #52e58c;
  --yellow: #ffd66e;
  --red: #ff5d6c;
  --offline: #8b99ac;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  cursor: none;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.locked .profile-wrap,
body.locked .audio-control,
body.locked .grain {
  visibility: hidden;
  opacity: 0;
}

body.locked .stage::before,
body.locked .stage::after {
  opacity: 0;
}

button,
a,
input {
  cursor: none !important;
  font: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage {
  position: relative;
  display: grid;
  width: 100vw;
  height: 100vh;
  min-height: 620px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.background-video {
  position: fixed;
  inset: 0;
  z-index: -6;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  filter: saturate(0.9) contrast(1.12) brightness(0.62) hue-rotate(176deg);
  transform: scale(1.5);
  transition: opacity 620ms ease, visibility 620ms ease;
  will-change: transform;
}

.background-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
  .background-video iframe {
    height: 65vw; /* Increased from 56.25vw to crop title */
  }
}

@media (max-aspect-ratio: 16/9) {
  .background-video iframe {
    width: 200vh; /* Increased from 177.78vh to crop title */
  }
}

.stage::before {
  position: fixed;
  inset: 0;
  z-index: -5;
  content: "";
  background: linear-gradient(180deg, rgba(1, 4, 10, 0.34), rgba(1, 4, 10, 0.86));
  transition: opacity 620ms ease;
}

.stage::after {
  position: fixed;
  inset: 0;
  z-index: -4;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.55)),
    radial-gradient(circle at center, transparent 0 36%, rgba(0, 0, 0, 0.78) 100%);
  transition: opacity 620ms ease;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 0 42%, transparent 82%);
  animation: gridFloat 18s linear infinite;
  transition: opacity 620ms ease, visibility 620ms ease;
}

.cursor-dot,
.spotlight {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.78), 0 0 20px rgba(49, 199, 255, 0.18);
  transition: width 160ms ease, height 160ms ease, opacity 160ms ease, background 160ms ease;
}

.spotlight {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 0 12%, rgba(255, 255, 255, 0.07) 30%, transparent 68%);
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.2), 0 0 44px rgba(49, 199, 255, 0.12);
  transition: width 180ms ease, height 180ms ease, opacity 160ms ease, border-color 180ms ease, box-shadow 180ms ease;
  mix-blend-mode: screen;
}

.cursor-dot.is-visible,
.spotlight.is-visible {
  opacity: 1;
}

.cursor-dot.is-hovering {
  width: 12px;
  height: 12px;
  background: #fff;
}

.spotlight.is-hovering {
  width: 64px;
  height: 64px;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.26), 0 0 56px rgba(49, 199, 255, 0.16);
}

.audio-control {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 56px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3, 9, 20, 0.58);
  box-shadow: 0 0 22px rgba(49, 199, 255, 0.18), 0 14px 34px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  transition:
    opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 520ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease,
    gap 420ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pseudo-element to increase hover hit area and stability */
.audio-control::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 999px;
  z-index: -1;
}

.audio-control.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
}

.sound-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(190, 232, 255, 0.24);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 14px rgba(49, 199, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.volume-slider {
  width: 0;
  height: 4px;
  margin: 0;
  opacity: 0;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(to right, #fff var(--volume-percent, 45%), rgba(255, 255, 255, 0.16) var(--volume-percent, 45%));
  cursor: pointer;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.28));
  transition:
    width 420ms cubic-bezier(0.16, 1, 0.3, 1),
    margin 420ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 320ms ease;
  pointer-events: none; /* Disable when collapsed */
}

.audio-control:hover,
.audio-control:focus-within {
  gap: 13px;
  padding-right: 18px;
  background: rgba(3, 9, 20, 0.78);
  border-color: rgba(190, 232, 255, 0.45);
}

.audio-control:hover .volume-slider,
.audio-control:focus-within .volume-slider {
  width: 120px;
  margin-right: 2px;
  opacity: 1;
  pointer-events: auto; /* Enable when expanded */
}

.volume-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: transparent;
}

.volume-slider::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -6px;
  appearance: none;
  border: 2px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.42);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.55);
}

.volume-slider::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.volume-slider::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: #fff;
}

.volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.42);
}

.socials a:hover,
.cta:hover {
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 0 18px rgba(49, 199, 255, 0.24);
  transform: translateY(-2px);
}

.sound-button:hover {
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 0 18px rgba(49, 199, 255, 0.24);
}

.reveal {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: grid;
  place-items: center;
  background: #000;
  backdrop-filter: none;
  transition: opacity 950ms cubic-bezier(0.16, 1, 0.3, 1), visibility 950ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 48%);
  opacity: 1;
}

.reveal.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.reveal-button {
  position: relative;
  width: auto;
  min-width: min(560px, calc(100vw - 46px));
  min-height: 104px;
  overflow: hidden;
  padding: 26px 78px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05)),
    rgba(16, 16, 18, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 24px rgba(255, 255, 255, 0.1),
    0 26px 90px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(255, 255, 255, 0.1);
  font-size: clamp(2rem, 7vw, 3.7rem);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.3);
  text-transform: lowercase;
  backdrop-filter: blur(30px);
  animation: revealPulse 1.8s ease-in-out infinite;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-button::after {
  position: absolute;
  inset: -40% -20%;
  content: "";
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.42), transparent 58%);
  transform: translateX(-90%);
  animation: shine 3.1s ease-in-out infinite;
}

.reveal-button:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(20, 20, 22, 0.78);
}

.profile-wrap {
  z-index: 2;
  display: grid;
  width: min(100%, 610px);
  min-height: 100vh;
  padding: 44px 18px;
  place-items: center;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 920ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 920ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 920ms cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-wrap.is-hidden {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(32px) scale(0.94);
}

.profile-card {
  position: relative;
  width: min(100%, 520px);
  overflow: hidden;
  padding: 42px 30px 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent 40%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.2), transparent 24%),
    radial-gradient(circle at 50% 28%, rgba(49, 199, 255, 0.15), transparent 38%),
    rgba(3, 8, 18, 0.5);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(255, 255, 255, 0.08),
    0 0 42px rgba(49, 199, 255, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    inset 0 0 30px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(40px) saturate(1.5);
  animation: cardFloat 5.2s ease-in-out infinite, cardGlow 8s ease-in-out infinite;
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(255, 255, 255, 0.015) 1px,
    rgba(255, 255, 255, 0.015) 2px
  );
  z-index: 10;
}

.edge-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(158, 233, 255, 0.45), transparent 28%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  mask-image: linear-gradient(180deg, black, transparent 58%);
}

.avatar-shell {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  animation: avatarPop 800ms cubic-bezier(.2,.8,.2,1) both;
}

.avatar-shell::before {
  position: absolute;
  inset: -7px;
  content: "";
  border-radius: 50%;
  background: conic-gradient(from 220deg, var(--blue), white, rgba(158, 233, 255, 0.45), var(--blue));
  filter: drop-shadow(0 0 18px rgba(49, 199, 255, 0.48));
  animation: spinRing 4.5s linear infinite;
}

.avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  object-fit: cover;
  background: #08101e;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.2), 0 0 34px rgba(49, 199, 255, 0.24);
}

.status-dot,
.mini-status {
  position: absolute;
  border-radius: 999px;
  background: var(--offline);
  box-shadow: 0 0 11px currentColor;
}

.status-dot {
  right: 2px;
  bottom: 7px;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(4, 10, 22, 0.96);
}

.mini-status {
  right: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(4, 10, 22, 0.96);
}

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

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

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

.offline {
  color: var(--offline);
  background: var(--offline);
}

.tag,
.tag-link,
.role,
.presence span {
  color: var(--muted);
}

.tag,
.tag-link {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.28);
}

.tag-link:hover {
  color: #fff;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 12vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  text-shadow: 0 0 20px var(--white-glow), 0 0 40px rgba(49, 199, 255, 0.4);
}

.role {
  margin: 12px 0 20px;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.site-link {
  display: inline-grid;
  grid-template-columns: 22px auto 22px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 22px;
  color: #eefaff;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.42);
}

.site-link::after,
.stats a::after,
.cta::after {
  content: "";
}

.site-link svg {
  width: 17px;
  justify-self: center;
  color: var(--blue-soft);
  filter: drop-shadow(0 0 8px rgba(49, 199, 255, 0.48));
}

.site-link span {
  justify-self: center;
}

.presence {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 70px;
  margin: 0 auto 18px;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.02), 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 15px;
}

.presence:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.05), 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 30px rgba(49, 199, 255, 0.15);
  transform: translateY(-2px);
}

.discord-content-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.discord-avatar-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.discord-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.discord-info {
  flex: 1;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.discord-user {
  font-weight: 800;
  font-size: 0.98rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.discord-status-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.activity-name {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.activity-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.stats {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 10px;
  margin-bottom: 24px;
}

.stats a {
  display: inline-grid;
  grid-template-columns: 18px auto 18px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #effbff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.035), 0 0 14px rgba(49, 199, 255, 0.09);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stats a:hover {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.055), 0 0 22px rgba(49, 199, 255, 0.14);
  transform: translateY(-1px);
}

.stats svg {
  width: 16px;
  justify-self: center;
  color: var(--blue-soft);
}

.stats b {
  justify-self: center;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.socials a,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: #f5fcff;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.socials a {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 14px rgba(49, 199, 255, 0.05), 0 0 14px rgba(49, 199, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1), 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 30px rgba(49, 199, 255, 0.2);
  transform: translateY(-4px) scale(1.05);
}

.socials svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.34));
}

.cta {
  display: grid;
  grid-template-columns: 22px auto 22px;
  width: 100%;
  min-height: 56px;
  gap: 10px;
  border-radius: 18px;
  color: #03101b;
  background: linear-gradient(90deg, #ffffff, #bdeeff);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 0 22px rgba(49, 199, 255, 0.22), inset 0 1px 0 white;
}

.cta:hover {
  background: linear-gradient(90deg, #ffffff, #e9fbff);
}

.cta svg {
  width: 20px;
  justify-self: center;
}

.cta {
  justify-items: center;
}


@keyframes gridFloat {
  to {
    background-position: 38px 38px;
  }
}



@keyframes cardGlow {
  0%, 100% { box-shadow: 0 36px 120px rgba(0, 0, 0, 0.64), 0 0 56px rgba(255, 255, 255, 0.065), 0 0 42px rgba(49, 199, 255, 0.12); }
  50% { box-shadow: 0 36px 140px rgba(0, 0, 0, 0.7), 0 0 70px rgba(255, 255, 255, 0.08), 0 0 60px rgba(49, 199, 255, 0.2); }
}

.spotify-progress {
  width: 80%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.spotify-bar {
  height: 100%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  transition: width 1s linear;
}

@keyframes revealPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.78;
  box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 0 22px rgba(255, 255, 255, 0.035),
      0 22px 60px rgba(0, 0, 0, 0.5),
      0 0 18px rgba(255, 255, 255, 0);
  }
  50% {
    transform: scale(1.07);
    opacity: 1;
  box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      inset 0 0 30px rgba(255, 255, 255, 0.075),
      0 28px 80px rgba(0, 0, 0, 0.58),
      0 0 34px rgba(255, 255, 255, 0.12);
  }
}

@keyframes shine {
  0% {
    transform: translateX(-90%);
  }
  45%, 100% {
    transform: translateX(110%);
  }
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes avatarPop {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes spinRing {
  to {
    transform: rotate(360deg);
  }
}

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

  .stage {
    min-height: 100svh;
    height: auto;
  }

  .profile-wrap {
    min-height: 100svh;
    padding: 88px 14px 28px;
  }

  .profile-card {
    padding: 34px 18px 22px;
    border-radius: 24px;
  }

  .presence {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px;
  }

  .audio-control {
    top: 18px;
    bottom: auto;
    left: 18px;
    right: auto;
  }

  .audio-control:hover .volume-slider,
  .audio-control:focus-within .volume-slider {
    width: min(170px, 42vw);
  }

  .socials {
    gap: 10px;
  }

  .socials a {
    width: 47px;
    height: 47px;
  }
}

@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;
  }
}
