:root {
  --bg: #000102;
  --card: rgba(7, 8, 12, 0.68);
  --card-strong: rgba(10, 11, 16, 0.92);
  --row: rgba(18, 19, 25, 0.64);
  --row-hover: rgba(27, 29, 38, 0.86);
  --line: #292b34;
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #666872;
  --accent: #d8893a;
  --cyan: #21d4fd;
  --green: #12e0a1;
  --radius: 16px;
  color-scheme: dark;
  font-family:
    Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
}

body {
  display: grid;
  place-items: center;
  min-height: 100dvh;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

a {
  text-decoration: none;
}

#galaxy-scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  opacity: 0.72;
  mix-blend-mode: screen;
  pointer-events: none;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12) 36%, rgba(0, 0, 0, 0.18) 64%, rgba(0, 0, 0, 0.68)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.56) 58%, #000 100%);
  pointer-events: none;
}

.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 0, 0, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.14));
  color: var(--text);
  cursor: pointer;
  opacity: 1;
  transition:
    opacity 420ms ease,
    visibility 420ms ease;
}

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

.enter-content {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.enter-play {
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow:
    0 0 0 14px rgba(255, 255, 255, 0.018),
    0 0 36px rgba(255, 255, 255, 0.045);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.enter-screen:hover .enter-play,
.enter-screen:focus-visible .enter-play {
  transform: scale(1.04);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.enter-play svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke-width: 0;
}

.enter-content strong {
  color: transparent;
  background: linear-gradient(90deg, #21d4fd, #b967ff, #ff4ecd, #d8893a, #12e0a1, #21d4fd);
  background-size: 360% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 1.32rem;
  font-weight: 950;
  letter-spacing: 0;
  filter: drop-shadow(0 0 10px rgba(33, 212, 253, 0.34)) drop-shadow(0 0 22px rgba(255, 78, 205, 0.18));
  animation:
    neon-title-shift 5s linear infinite,
    title-glow 3.8s ease-in-out infinite;
}

.enter-content p {
  max-width: 36ch;
  margin: -4px 0 0;
  color: #89909b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.55;
}

.bg-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(1.42) contrast(1.08) brightness(0.98);
  transform: translateX(5vw) scale(1.08);
}

.page {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(100% - 28px, 440px);
  min-height: 100dvh;
  margin: 0;
  padding: 32px 0;
  align-content: center;
  opacity: 1;
  transition: opacity 420ms ease;
}

body:not(.has-entered) .page {
  opacity: 0;
  pointer-events: none;
}

.glass {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.58),
    0 0 42px rgba(33, 212, 253, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(13px) saturate(1.28);
  overflow: hidden;
}

.hero-card {
  display: grid;
  justify-items: center;
  min-height: 408px;
  padding: 24px 24px 26px;
  text-align: center;
}

.scanline {
  display: none;
}

.glass::before {
  position: absolute;
  inset: 0;
  display: block;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(115deg, transparent 0 24%, rgba(255, 255, 255, 0.07) 37%, transparent 50% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 34%);
  opacity: 0.52;
  pointer-events: none;
}

.hero-card::after,
.social-panel::after,
.music-player::after,
.uid-panel::after,
.mini-card::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(33, 212, 253, 0.22), transparent) top / 100% 1px no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.avatar-orbit {
  position: relative;
  display: grid;
  width: 110px;
  aspect-ratio: 1;
  place-items: center;
  margin: 0 0 16px;
  border-radius: 999px;
}

.avatar-orbit::before {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid #777985;
  border-radius: inherit;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.025),
    0 0 32px rgba(33, 212, 253, 0.16);
  animation: avatar-ring 7s linear infinite;
}

.avatar-orbit::after {
  position: absolute;
  inset: 7px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
}

.avatar {
  width: 94px;
  height: 94px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  object-fit: cover;
  background: #101116;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.orbit-dot {
  position: absolute;
  right: 4px;
  bottom: 13px;
  width: 14px;
  height: 14px;
  border: 3px solid #101116;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(18, 224, 161, 0.85);
  animation: online-pulse 2.5s ease-in-out infinite;
}

.kicker {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin: 2px 0 11px;
  padding: 0 13px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #b8bac3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

h1 {
  margin: 0 0 18px;
  color: transparent;
  background: linear-gradient(90deg, #21d4fd, #b967ff, #ff4ecd, #d8893a, #12e0a1, #21d4fd);
  background-size: 360% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.58rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  filter: drop-shadow(0 0 10px rgba(33, 212, 253, 0.34)) drop-shadow(0 0 22px rgba(255, 78, 205, 0.18));
  animation:
    neon-title-shift 5s linear infinite,
    title-glow 3.8s ease-in-out infinite;
}

.bio {
  max-width: 36ch;
  margin: 0 0 26px;
  color: #c7c9d1;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.65;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  max-width: 100%;
}

.signal-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.052);
  color: #8f919b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.signal-row strong {
  color: #d5d7de;
}

.signal-row svg {
  color: #6f727c;
}

.social-panel,
.music-player,
.uid-panel,
.mini-card {
  margin-top: 16px;
  padding: 16px;
  background: var(--card);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  color: #d9d9de;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title svg {
  color: var(--cyan);
}

.section-title small {
  color: #686b74;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 800;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.social-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--row);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.social-card:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 212, 253, 0.22);
  background: var(--row-hover);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.brand-icon {
  display: grid;
  width: 36px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 7px 18px rgba(0, 0, 0, 0.24);
}

.brand-icon img {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.facebook .brand-icon img,
.discord .brand-icon img,
.spotify .brand-icon img,
.tiktok .brand-icon img {
  width: 100%;
  height: 100%;
}

.social-card strong,
.uid-row strong,
.mini-card strong {
  display: block;
  color: #eeeeef;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
}

.social-card small,
.uid-row span {
  display: block;
  margin-top: 3px;
  color: #8b8d96;
  font-size: 0.78rem;
  font-weight: 650;
}

.social-card > svg {
  color: #6f727c;
}

.music-player {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(2, 3, 7, 0.82);
}

.music-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) max-content;
  gap: 13px;
  align-items: center;
}

.music-disc {
  position: relative;
  display: grid;
  width: 54px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle, #f4f4f5 0 9%, transparent 10%),
    radial-gradient(circle, transparent 0 29%, rgba(255, 255, 255, 0.72) 30% 35%, transparent 36%),
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.48), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(33, 212, 253, 0.08)),
    #151720;
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.12),
    0 0 28px rgba(33, 212, 253, 0.12),
    inset 0 0 14px rgba(255, 255, 255, 0.08);
}

.music-disc span {
  width: 12px;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: #0b0c11;
}

.music-player.is-playing .music-disc {
  animation: avatar-ring 4s linear infinite;
}

.music-info {
  min-width: 0;
}

.music-info strong {
  display: block;
  overflow: hidden;
  color: #f2f2f3;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-info small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #8e9099;
  font-size: 0.78rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.music-icon-button,
.music-button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #d6d7dd;
  cursor: pointer;
}

.music-icon-button {
  width: 28px;
  aspect-ratio: 1;
  background: transparent;
}

.music-button {
  width: 38px;
  aspect-ratio: 1;
  background: rgba(214, 215, 221, 0.28);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.music-icon-button:hover,
.music-button:hover {
  transform: translateY(-1px);
  color: #ffffff;
}

.music-button:hover {
  background: rgba(214, 215, 221, 0.36);
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.music-progress-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
  color: #7d8089;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 900;
}

.music-range {
  display: block;
  width: 100%;
  min-width: 0;
  height: 5px;
  margin: 0;
  border-radius: 999px;
  accent-color: #f2f2f3;
  cursor: pointer;
}

.music-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.music-range::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: -5.5px;
}

.music-volume-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17px 72px;
  gap: 8px;
  align-items: center;
  color: #8b8d96;
}

.music-volume-row > span {
  justify-self: start;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.volume-range {
  height: 5px;
  accent-color: #ffffff;
}

.music-wave {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  align-items: end;
  gap: 2px;
  height: 18px;
  overflow: hidden;
  opacity: 0.38;
  mask-image: linear-gradient(90deg, transparent, black 14%, black 86%, transparent);
}

.music-wave span {
  display: block;
  height: 20%;
  border-radius: 999px 999px 0 0;
  background: rgba(255, 255, 255, 0.56);
}

.music-wave span:nth-child(3n) {
  height: 42%;
}

.music-wave span:nth-child(4n) {
  height: 78%;
}

.music-wave span:nth-child(5n) {
  height: 58%;
}

.music-player.is-playing .music-wave span {
  animation: wave-rise 900ms ease-in-out infinite alternate;
}

.music-player.is-playing .music-wave span:nth-child(2n) {
  animation-duration: 640ms;
}

.music-player.is-playing .music-wave span:nth-child(3n) {
  animation-duration: 760ms;
}

#music-audio {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 200px;
  height: 120px;
  opacity: 0;
  pointer-events: none;
}

.uid-list {
  display: grid;
  gap: 10px;
}

.uid-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 36px;
  gap: 11px;
  align-items: center;
  min-height: 64px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--row);
  transition:
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.uid-row:hover {
  border-color: rgba(216, 137, 58, 0.2);
  background: var(--row-hover);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.game-orb {
  display: grid;
  width: 40px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.game-orb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uid-row b {
  color: #dadce3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
}

.uid-row button {
  display: grid;
  width: 36px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: #858892;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    color 150ms ease,
    background 150ms ease;
}

.uid-row button:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #d7d8de;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mini-card {
  display: grid;
  min-height: 78px;
  align-content: center;
  gap: 5px;
}

.mini-card > svg {
  color: #7b7d86;
}

.mini-card span {
  color: #8b8d96;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0;
}

.mini-card strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  max-width: min(320px, calc(100% - 36px));
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-strong);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 170ms ease,
    transform 170ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.9;
}

@keyframes avatar-ring {
  to {
    transform: rotate(360deg);
  }
}

@keyframes online-pulse {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(18, 224, 161, 0.7);
  }

  50% {
    box-shadow: 0 0 22px rgba(18, 224, 161, 0.98);
  }
}

@keyframes title-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(33, 212, 253, 0.28)) drop-shadow(0 0 20px rgba(255, 78, 205, 0.12));
  }

  50% {
    filter: drop-shadow(0 0 14px rgba(255, 78, 205, 0.4)) drop-shadow(0 0 28px rgba(18, 224, 161, 0.18));
  }
}

@keyframes neon-title-shift {
  to {
    background-position: 360% 0;
  }
}

@keyframes music-bar {
  0%,
  100% {
    height: 22%;
    opacity: 0.34;
  }

  50% {
    height: 100%;
    opacity: 0.92;
  }
}

@keyframes music-orb-pulse {
  0%,
  100% {
    box-shadow:
      0 0 24px rgba(33, 212, 253, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  50% {
    box-shadow:
      0 0 34px rgba(33, 212, 253, 0.24),
      0 0 28px rgba(216, 137, 58, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}

@keyframes wave-rise {
  from {
    transform: scaleY(0.42);
    opacity: 0.42;
  }

  to {
    transform: scaleY(1);
    opacity: 0.86;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(calc(100vw - 18px), 372px);
    margin: 0;
    padding: 18px 0;
  }

  .hero-card {
    min-height: 394px;
    padding: 23px 16px 24px;
  }

  .bio {
    max-width: 31ch;
    font-size: 0.88rem;
  }

  .social-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 0.8rem;
  }

  .section-title small {
    display: none;
  }

  .signal-row {
    display: grid;
    grid-template-columns: repeat(2, max-content);
  }

  .signal-row span:last-child {
    grid-column: 1 / -1;
    justify-content: center;
    width: max-content;
    margin: 0 auto;
  }

  .music-main {
    grid-template-columns: 48px minmax(0, 1fr) max-content;
    gap: 10px;
  }

  .music-disc {
    width: 48px;
  }

  .music-actions {
    gap: 5px;
  }

  .music-button {
    width: 34px;
  }

  .music-icon-button {
    width: 24px;
  }

  .music-volume-row {
    grid-template-columns: minmax(0, 1fr) 17px 82px;
  }

}
