:root {
  --bg-deep: #050505;
  --bg-mid: #101010;
  --accent: #f2f2f2;
  --accent-soft: rgba(255, 255, 255, 0.72);
  --glass: rgba(10, 10, 10, 0.52);
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --text-dim: rgba(245, 245, 245, 0.74);
  --text-mute: rgba(245, 245, 245, 0.45);
  --mark: #ffffff;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 255, 255, 0.04);
  --radius-card: 32px;
  --radius-pill: 999px;
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  cursor: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.intro-active {
  overflow: hidden;
}

body.intro-active .profile,
body.intro-active .audio-dock,
body.intro-active .asx-btn {
  opacity: 0;
  pointer-events: none;
}

body.is-revealing .profile,
body.is-revealing .audio-dock,
body.is-revealing .asx-btn {
  animation: rise-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.is-revealing .audio-dock {
  animation-delay: 0.05s;
}

body.is-revealing .asx-btn {
  animation-delay: 0.1s;
}

body.is-revealing .card--status {
  animation:
    rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both,
    box-bounce 7.2s ease-in-out 2.4s infinite;
}

body.is-revealing .promo {
  animation:
    rise-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both,
    box-bounce 7.6s ease-in-out 3s infinite;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: #000;
  overflow: hidden;
}

.intro.is-done {
  pointer-events: none;
}

.intro__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000 url("../assets/background.gif?v=2") center center / cover no-repeat;
  filter: brightness(0.35) contrast(1.08);
  transform: scale(1.55);
  animation: intro-zoom-bg 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro__dim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.72) 70%),
    linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 45%);
  animation: intro-zoom-dim 2.4s ease forwards;
}

.intro__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.55);
  opacity: 0;
  filter: blur(8px);
  animation: intro-zoom-in 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.intro__logo {
  width: min(28vw, 120px);
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.2) drop-shadow(0 0 28px rgba(255, 255, 255, 0.35));
  opacity: 0;
  transform: scale(0.7);
  animation: intro-logo 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.intro__brand {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 14vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  display: flex;
  gap: 0.04em;
}

.intro__brand span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) scale(0.85);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.25);
  animation: intro-letter 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro__brand span:nth-child(1) {
  animation-delay: 0.55s;
}
.intro__brand span:nth-child(2) {
  animation-delay: 0.68s;
}
.intro__brand span:nth-child(3) {
  animation-delay: 0.81s;
}

.intro__line {
  margin: 14px 0 0;
  font-size: clamp(0.95rem, 2.8vw, 1.15rem);
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  animation: intro-line 0.8s ease 1.15s forwards;
}

.intro__enter {
  margin: 22px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  animation:
    intro-line 0.6s ease 1.6s forwards,
    intro-enter-pulse 1.6s ease-in-out 2.2s infinite;
}

@keyframes intro-enter-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.intro__flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  animation: intro-flash 2.8s steps(1, end) forwards;
}

.intro__scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04) 0 1px,
    transparent 1px 4px
  );
  mix-blend-mode: soft-light;
  animation: intro-scan 1.2s linear infinite;
  opacity: 0.55;
}

.intro__noise {
  position: absolute;
  inset: -20%;
  z-index: 1;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.25s steps(2) infinite;
}

.intro.is-exiting {
  animation: intro-fade-out 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro.is-exiting .intro__content {
  animation: intro-zoom-out 0.75s cubic-bezier(0.55, 0.05, 0.3, 1) forwards;
}

.intro.is-exiting .intro__bg {
  animation: intro-bg-zoom-out 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro.is-exiting .intro__skip,
.intro.is-exiting .intro__enter,
.intro.is-exiting .intro__scan,
.intro.is-exiting .intro__noise {
  opacity: 0;
  transition: opacity 0.2s ease;
  animation: none;
}

.intro__skip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  animation: intro-line 0.4s ease 0.8s forwards;
}

.intro__skip:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

@keyframes intro-zoom-bg {
  0% {
    transform: scale(1.7);
    filter: brightness(0.15) contrast(1.2);
  }
  100% {
    transform: scale(1.08);
    filter: brightness(0.45) contrast(1.08);
  }
}

@keyframes intro-zoom-dim {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.92;
  }
}

@keyframes intro-zoom-in {
  0% {
    opacity: 0;
    transform: scale(0.45);
    filter: blur(10px);
  }
  65% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes intro-logo {
  0% {
    opacity: 0;
    transform: scale(0.55);
    filter: grayscale(1) brightness(2) blur(6px);
  }
  60% {
    opacity: 1;
    transform: scale(1.06);
    filter: grayscale(1) brightness(1.3) blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: grayscale(1) brightness(1.2) drop-shadow(0 0 28px rgba(255, 255, 255, 0.35));
  }
}

@keyframes intro-letter {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.85);
    filter: blur(6px);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.04);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes intro-line {
  from {
    opacity: 0;
    letter-spacing: 0.4em;
    filter: blur(4px);
  }
  to {
    opacity: 1;
    letter-spacing: 0.18em;
    filter: blur(0);
  }
}

@keyframes intro-flash {
  0%,
  12%,
  14%,
  48%,
  50%,
  72%,
  74% {
    opacity: 0;
  }
  13%,
  49%,
  73% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
  }
}

@keyframes intro-scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(4px);
  }
}

@keyframes intro-zoom-out {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(1.28);
    filter: blur(6px);
  }
}

@keyframes intro-bg-zoom-out {
  0% {
    transform: scale(1.08);
    filter: brightness(0.45) contrast(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1.35);
    filter: brightness(0.25) contrast(1.08);
    opacity: 0;
  }
}

@keyframes intro-fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #050505;
}

.bg {
  position: absolute;
  inset: 0;
  background:
    #000 url("../assets/background.gif?v=2") center center / cover no-repeat;
  image-rendering: auto;
  filter: brightness(0.55) contrast(1.05);
}

#lightning,
#rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#lightning {
  mix-blend-mode: screen;
  opacity: 0.95;
}

#cursorTrail {
  position: fixed;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.18) 10%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 40%);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.4s steps(2) infinite;
}

.asx-btn {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.12), transparent 60%),
    var(--glass);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: asx-pulse 2.8s ease-in-out infinite;
}

.asx-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.15) drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
  transition: transform 0.25s ease;
}

.asx-btn:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 255, 255, 0.12);
}

.asx-btn:hover img {
  transform: scale(1.08);
}

.asx-btn:active {
  transform: translateY(0) scale(0.97);
}

.audio-dock {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass);
  color: var(--text);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.volume {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  cursor: pointer;
}

.volume__label {
  min-width: 2.4em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.volume__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 88px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff var(--vol, 55%),
    rgba(255, 255, 255, 0.22) var(--vol, 55%),
    rgba(255, 255, 255, 0.22) 100%
  );
  outline: none;
  cursor: pointer;
}

.volume__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.volume__slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

.volume__slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.volume__slider::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.now-playing {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 12px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  max-width: min(220px, 55vw);
  animation: rise-in 0.35s ease both;
}

@media (max-width: 480px) {
  .volume__slider {
    width: 64px;
  }

  .now-playing {
    display: none;
  }
}

.now-playing__track {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing__artist {
  font-size: 0.7rem;
  color: var(--text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-toast {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  max-width: min(280px, 70vw);
  padding: 10px 12px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-dim);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  animation: rise-in 0.25s ease both;
}

.audio-toggle:hover {
  transform: translateY(-1px);
  background: rgba(20, 20, 20, 0.78);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.audio-toggle:active {
  transform: translateY(0) scale(0.97);
}

.audio-toggle svg {
  width: 20px;
  height: 20px;
}

.audio-toggle .icon-playing {
  display: none;
}

.audio-toggle[aria-pressed="true"] .icon-muted {
  display: none;
}

.audio-toggle[aria-pressed="true"] .icon-playing {
  display: block;
}

.audio-toggle[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.profile {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 72px 20px 40px;
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.card {
  width: min(400px, 100%);
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(180deg, var(--glass-highlight), transparent 45%),
    var(--glass);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  box-shadow: var(--shadow);
}

.card--main {
  position: relative;
  border-radius: var(--radius-card);
  padding: 58px 26px 20px;
  min-height: 188px;
}

.avatar {
  position: absolute;
  top: -44px;
  left: 24px;
  width: 92px;
  height: 92px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 255, 255, 0.08);
  animation: avatar-float 5.5s ease-in-out infinite;
}

.meta {
  position: absolute;
  top: 14px;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
}

.meta__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.meta__item svg {
  width: 14px;
  height: 14px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.85);
}

.identity {
  margin-top: 10px;
  padding-left: 6px;
}

.name {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.8vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.12);
}

.name__swirl {
  width: 0.78em;
  height: 0.78em;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
  animation: swirl-spin 4.5s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes swirl-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hover-fx {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 14px rgba(255, 255, 255, 0.35),
    inset 0 0 8px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition:
    width 0.16s ease,
    height 0.16s ease,
    margin 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease,
    opacity 0.12s ease;
  mix-blend-mode: screen;
  will-change: transform;
}

body.has-pointer .hover-fx {
  opacity: 1;
}

body.is-hovering .hover-fx {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 0 0 6px rgba(255, 255, 255, 0.08),
    0 0 22px rgba(255, 255, 255, 0.45),
    inset 0 0 12px rgba(255, 255, 255, 0.25);
}

a,
button,
.social,
.promo,
.audio-toggle,
.asx-btn,
.volume,
.card--status,
.meta__item {
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    opacity 0.22s ease;
}

a:hover,
button:hover,
.social:hover,
.promo:hover,
.audio-toggle:hover,
.asx-btn:hover,
.volume:hover,
.card--status:hover,
.meta__item:hover {
  filter: brightness(1.12);
}

.tagline {
  position: relative;
  margin: 6px 0 0;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: transparent;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.35) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.35) 60%,
    rgba(255, 255, 255, 0.35) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: tagline-shimmer 3.2s linear infinite;
  width: fit-content;
}

.tagline::before,
.tagline::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: rgba(255, 255, 255, 0.55);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  pointer-events: none;
  opacity: 0;
}

.tagline::before {
  animation: tagline-glitch-a 3.2s steps(1, end) infinite;
  clip-path: inset(0 0 55% 0);
  transform: translate(-2px, 0);
  text-shadow: -1px 0 rgba(255, 255, 255, 0.55);
}

.tagline::after {
  animation: tagline-glitch-b 3.2s steps(1, end) infinite;
  clip-path: inset(55% 0 0 0);
  transform: translate(2px, 0);
  text-shadow: 1px 0 rgba(255, 255, 255, 0.4);
}

@keyframes tagline-shimmer {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@keyframes tagline-glitch-a {
  0%,
  88%,
  100% {
    opacity: 0;
  }
  90%,
  92%,
  95% {
    opacity: 0.85;
  }
  91% {
    transform: translate(-3px, -1px);
  }
  94% {
    transform: translate(2px, 1px);
  }
}

@keyframes tagline-glitch-b {
  0%,
  88%,
  100% {
    opacity: 0;
  }
  91%,
  93%,
  96% {
    opacity: 0.75;
  }
  92% {
    transform: translate(3px, 1px);
  }
  95% {
    transform: translate(-2px, -1px);
  }
}

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.social {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  animation: box-bounce 6.4s ease-in-out infinite;
}

.social:nth-child(1) {
  animation-delay: 0s;
}
.social:nth-child(2) {
  animation-delay: 0.45s;
}
.social:nth-child(3) {
  animation-delay: 0.9s;
}
.social:nth-child(4) {
  animation-delay: 1.35s;
}
.social:nth-child(5) {
  animation-delay: 1.8s;
}

.social:hover {
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(255, 255, 255, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(255, 255, 255, 0.08);
}

.social:active {
  transform: translateY(0) scale(0.98);
}

@keyframes box-bounce {
  0%,
  72%,
  100% {
    transform: translateY(0) scale(1);
  }
  76% {
    transform: translateY(-9px) scale(1.06);
  }
  80% {
    transform: translateY(0) scale(0.96);
  }
  84% {
    transform: translateY(-5px) scale(1.03);
  }
  88% {
    transform: translateY(0) scale(1);
  }
}

.social svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.copy-toast {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  min-height: 1em;
}

.copy-toast[hidden] {
  display: none;
}

.card--status {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-pill);
  padding: 10px 18px 10px 10px;
  animation: box-bounce 7.2s ease-in-out 2.2s infinite;
}

.card--status:hover {
  animation-play-state: paused;
  transform: translateY(-2px);
}

.promo {
  width: min(400px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(180deg, var(--glass-highlight), transparent 50%),
    var(--glass);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  animation: box-bounce 7.6s ease-in-out 2.8s infinite;
}

.promo:hover {
  animation-play-state: paused;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 255, 255, 0.08);
}

.promo:active {
  transform: translateY(0) scale(0.99);
}

.promo__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1) brightness(1.15) drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.promo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.promo__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.promo__sub {
  font-size: 0.78rem;
  color: var(--text-mute);
}

.promo__arrow {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  flex-shrink: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.promo:hover .promo__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.status__avatar-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.status__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: block;
  background: rgba(0, 0, 0, 0.45);
}

.status__dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(12, 12, 12, 0.95);
  background: #747f8d;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.status__dot[data-status="online"] {
  background: #23a559;
}

.status__dot[data-status="idle"] {
  background: #f0b232;
}

.status__dot[data-status="dnd"] {
  background: #f23f43;
}

.status__dot[data-status="offline"] {
  background: #747f8d;
}

.status__text {
  min-width: 0;
}

.status__user {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.verified {
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
}

.verified svg {
  width: 15px;
  height: 15px;
}

.status__seen {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--text-mute);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes avatar-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}


@keyframes sky-breathe {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

@keyframes bg-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(-0.6%, 0.3%, 0);
  }
}

@keyframes grain-shift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-1%, 1%);
  }
}

@keyframes asx-pulse {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 14px rgba(255, 255, 255, 0.05);
  }
  50% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 255, 255, 0.14);
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: modal-fade 0.35s ease both;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(88dvh, 820px);
  padding: 36px 28px 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 40%),
    rgba(10, 10, 10, 0.9);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.75),
    0 0 50px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
  outline: none;
  animation: modal-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
  pointer-events: none;
  animation: modal-glow 2.8s ease-in-out infinite;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.04);
}

.modal__close svg {
  width: 16px;
  height: 16px;
}

.modal__logo {
  position: relative;
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
  filter: grayscale(1) brightness(1.15) drop-shadow(0 0 18px rgba(255, 255, 255, 0.3));
  animation: modal-logo 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal__eyebrow {
  position: relative;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.modal__title {
  position: relative;
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
}

.modal__body {
  position: relative;
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dim);
  text-align: left;
}

.modal__body p {
  margin: 0 0 12px;
}

.modal__body p:last-of-type {
  margin-bottom: 16px;
}

.modal__video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #000;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  color: #fff;
}

.modal__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: brightness(0.82);
}

.modal__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45));
  transition: background 0.25s ease;
}

.modal__play svg {
  width: 58px;
  height: 58px;
  padding: 14px 12px 14px 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.modal__video:hover .modal__thumb {
  transform: scale(1.04);
  filter: brightness(0.95);
}

.modal__video:hover .modal__play {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.4));
}

.modal__video:hover .modal__play svg {
  transform: scale(1.08);
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.65);
}

.modal__link {
  display: inline-block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.modal__link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modal-rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes modal-logo {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes modal-glow {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (max-width: 480px) {
  .card--main {
    padding: 52px 20px 18px;
  }

  .avatar {
    width: 84px;
    height: 84px;
    top: -36px;
    left: 18px;
    border-radius: 18px;
  }

  .socials {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  body.intro-active .profile,
  body.intro-active .audio-dock,
  body.intro-active .asx-btn {
    opacity: 1;
    pointer-events: auto;
  }

  .intro {
    display: none !important;
  }

  .tagline {
    color: var(--text-dim);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    animation: none;
  }

  .tagline::before,
  .tagline::after {
    display: none;
  }

  .name__swirl {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    cursor: auto !important;
  }

  .hover-fx {
    display: none;
  }
}
