:root {
  --bg: #050505;
  --bg-soft: #0a0a0a;
  --panel: rgba(255,255,255,.025);
  --white: #f5f5f5;
  --soft: #cfcfcf;
  --muted: #7d7d7d;
  --line: #3a3a3a;
  --line-strong: #8a8a8a;
  --purple: #c45cff;
  --red: #ff4d67;
  --green: #58ff7a;
  --pink: #ff39d4;
  --pink-soft: rgba(255,57,212,.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.06), transparent 34%),
    var(--bg);
  color: var(--soft);
  font-family: "VT323", monospace;
}

::selection {
  background: var(--white);
  color: var(--bg);
}

.wrap {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.wrap::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 44px 44px;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .13;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,.025) 0,
    rgba(255,255,255,.025) 1px,
    transparent 1px,
    transparent 4px
  );
  animation: scan .18s linear infinite;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 49;
  pointer-events: none;
  box-shadow: inset 0 0 240px rgba(0,0,0,.94);
}

.inner {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 34px));
  margin: 0 auto;
  padding: 42px 0 80px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 2px;
}

.caret {
  color: var(--white);
  animation: blink 1s steps(1) infinite;
}

.profile-card {
  padding: 60px 24px 56px;
  text-align: center;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  box-shadow:
    0 0 24px rgba(255,255,255,.05),
    inset 0 0 40px rgba(255,255,255,.02);
}

.avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 1px solid var(--white);
  box-shadow: 0 0 20px rgba(255,255,255,.15);
}

.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08);
}

h1 {
  position: relative;
  margin: 0 0 14px;
  color: var(--white);
  font-family: "Press Start 2P", monospace;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: 1px;
  text-shadow:
    0 0 8px rgba(255,255,255,.7),
    0 0 20px rgba(255,255,255,.35),
    0 0 40px rgba(255,255,255,.18);
}

.sub {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  color: var(--soft);
  font-size: 22px;
  letter-spacing: 1px;
}

.dot { color: var(--muted); }

.layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 30px;
}

.section {
  display: flex;
  flex-direction: column;
}

.wide { grid-column: 1 / -1; }

.section-head {
  margin-bottom: 13px;
  color: var(--white);
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  letter-spacing: 1px;
}

.panel,
.terminal,
.stats {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--panel);
}

.link-row {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 16px;
  border-bottom: 1px dashed #232323;
}

.link-row:last-child { border-bottom: 0; }

.label {
  color: var(--soft);
  font-size: 22px;
}

.right {
  color: var(--muted);
  font-size: 18px;
}

.disabled { cursor: not-allowed; }

.terminal { padding: 15px; }

.terminal-output {
  min-height: 190px;
  max-height: 190px;
  overflow-y: auto;
  padding: 13px;
  border: 1px solid #232323;
  background: rgba(0,0,0,.35);
  font-size: 19px;
  line-height: 1.5;
}

.terminal-output p { margin: 0 0 5px; }
.terminal-output span { color: var(--white); }

.terminal-form {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  margin-top: 12px;
  border-bottom: 1px solid var(--line-strong);
}

.terminal-form label {
  color: var(--white);
  font-size: 22px;
}

.terminal-form input {
  width: 100%;
  height: 38px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stat {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }

.stat-label {
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 1px;
}

.stat strong {
  color: var(--white);
  font-size: 23px;
  font-weight: normal;
}

.value-purple {
  color: var(--purple) !important;
  text-shadow:
    0 0 7px rgba(196,92,255,.75),
    0 0 18px rgba(196,92,255,.35);
}

.value-red {
  color: var(--red) !important;
  text-shadow:
    0 0 7px rgba(255,77,103,.75),
    0 0 18px rgba(255,77,103,.35);
}

.value-green {
  color: var(--green) !important;
  text-shadow:
    0 0 7px rgba(88,255,122,.75),
    0 0 18px rgba(88,255,122,.35);
}

.end {
  margin-top: 38px;
  text-align: center;
  color: #5a5a5a;
  font-size: 17px;
  letter-spacing: 1px;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
}

.reveal.show {
  animation: reveal .42s cubic-bezier(.2,.7,.2,1) forwards;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #020202;
  transition: opacity .55s ease, visibility .55s ease;
}

.intro.hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-box {
  width: min(320px, calc(100% - 48px));
  text-align: center;
}

.intro-logo {
  color: var(--white);
  font-family: "Press Start 2P", monospace;
  font-size: 30px;
}

.intro p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: 2px;
}

.loader {
  height: 1px;
  margin-top: 15px;
  overflow: hidden;
  background: #1a1a1a;
}

.loader span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  transform-origin: left;
  animation: load 1.45s ease forwards;
}

@keyframes scan {
  from { transform: translateY(0); }
  to { transform: translateY(4px); }
}

@keyframes blink {
  50% { opacity: 0; }
}

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

@keyframes load {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 760px) {
  .layout { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 480px) {
  .inner {
    width: min(100% - 20px, 1080px);
    padding-top: 20px;
  }

  .topbar {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .profile-card { padding-inline: 16px; }
  .sub { font-size: 18px; }

  .stats { grid-template-columns: 1fr; }

  .stat,
  .stat:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child { border-bottom: 0; }
}


/* NOW SPINNING */
.tracks {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--panel);
}

.track {
  min-height: 76px;
  display: grid;
  grid-template-columns: 28px 52px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px dashed #232323;
  transition:
    background .16s ease,
    padding-left .16s ease;
}

.track:last-child {
  border-bottom: 0;
}

.track:hover {
  padding-left: 18px;
  background: rgba(255,255,255,.035);
}

.track-number {
  color: var(--muted);
  font-size: 18px;
}

.track-cover {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: cover;
  border: 1px solid #4a4a4a;
  filter: grayscale(18%) contrast(1.05);
  transition:
    transform .16s ease,
    filter .16s ease,
    box-shadow .16s ease;
}

.track:hover .track-cover {
  transform: scale(1.04);
  filter: grayscale(0%) contrast(1.08);
  box-shadow: 0 0 16px rgba(255,255,255,.12);
}

.track-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track-meta strong {
  overflow: hidden;
  color: var(--white);
  font-size: 22px;
  font-weight: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-meta span {
  overflow: hidden;
  color: var(--muted);
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-play {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--white);
  text-decoration: none;
  transition:
    color .16s ease,
    background .16s ease,
    box-shadow .16s ease,
    transform .16s ease;
}

.track-play:hover {
  color: var(--bg);
  background: var(--white);
  box-shadow: 0 0 16px rgba(255,255,255,.22);
  transform: translateX(2px);
}

@media (max-width: 480px) {
  .track {
    grid-template-columns: 22px 46px minmax(0, 1fr) 34px;
    gap: 10px;
    padding-inline: 10px;
  }

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

  .track-meta strong {
    font-size: 19px;
  }

  .track-meta span {
    font-size: 16px;
  }
}

.value-blue {
    color: #008CFF;
    text-shadow:
        0 0 8px rgba(0,140,255,.9),
        0 0 18px rgba(0,140,255,.6),
        0 0 35px rgba(0,140,255,.35);
}

.value-interests {
    color: #D9C27A !important;
    font-size: 19px !important;
    line-height: 1.2;
    white-space: nowrap;

    text-shadow:
        0 0 7px rgba(255,255,255,.22);
}

.track-cover{border-radius:2px;box-shadow:0 0 10px rgba(255,255,255,.08);}
.track-play:hover{background:#fff !important;color:#000 !important;box-shadow:0 0 18px rgba(255,255,255,.28);}


/* ANIME SCYTHE CURSOR */
@media (hover: hover) and (pointer: fine) {
  html,
  body,
  a,
  button,
  input,
  .link-row,
  .track-play {
    cursor: none !important;
  }

  .anime-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 42px;
    height: 42px;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-7px, -8px, 0) rotate(-18deg);
    transform-origin: 18% 82%;
    will-change: transform, opacity;
    transition:
      width .14s ease,
      height .14s ease,
      filter .14s ease,
      opacity .12s ease;
    filter:
      drop-shadow(0 0 2px #000)
      drop-shadow(0 0 4px rgba(255,255,255,.95))
      drop-shadow(0 0 12px rgba(255,255,255,.48));
  }

  .anime-cursor.visible {
    opacity: 1;
  }

  .anime-cursor img {
    width: 100%;
    height: 100%;
    display: block;
    user-select: none;
  }

  .anime-cursor.hovering {
    width: 49px;
    height: 49px;
    filter:
      drop-shadow(0 0 2px #000)
      drop-shadow(0 0 6px rgba(255,255,255,1))
      drop-shadow(0 0 18px rgba(255,255,255,.72));
  }

  .anime-cursor.clicking {
    width: 36px;
    height: 36px;
  }

  .cursor-spark {
    position: fixed;
    z-index: 9999;
    width: 4px;
    height: 4px;
    pointer-events: none;
    border-radius: 50%;
    background: #fff;
    box-shadow:
      0 0 4px #fff,
      0 0 10px rgba(255,255,255,.8);
    animation: cursorSpark .48s ease-out forwards;
  }

  @keyframes cursorSpark {
    from {
      opacity: 1;
      transform: translate(0, 0) scale(1);
    }

    to {
      opacity: 0;
      transform: translate(var(--spark-x), var(--spark-y)) scale(.15);
    }
  }
}

@media (hover: none), (pointer: coarse) {
  .anime-cursor {
    display: none !important;
  }
}


/* NEON PINK ACCENTS */
body {
  background:
    radial-gradient(circle at 78% 8%, rgba(255,57,212,.075), transparent 26%),
    radial-gradient(circle at 20% 55%, rgba(255,57,212,.035), transparent 30%),
    radial-gradient(circle at top, rgba(255,255,255,.06), transparent 34%),
    var(--bg);
}

::selection {
  background: var(--pink);
  color: #050505;
}

.profile-card {
  border-color: rgba(255,255,255,.58);
  box-shadow:
    0 0 24px rgba(255,255,255,.05),
    0 0 42px rgba(255,57,212,.055),
    inset 0 0 40px rgba(255,255,255,.02);
}

.avatar {
  box-shadow:
    0 0 18px rgba(255,255,255,.16),
    0 0 28px rgba(255,57,212,.12);
}

h1 {
  text-shadow:
    0 0 8px rgba(255,255,255,.82),
    0 0 20px rgba(255,255,255,.34),
    0 0 36px rgba(255,57,212,.22);
}

.caret,
.section-head::first-letter {
  color: var(--pink);
}

.section-head {
  text-shadow: 0 0 9px rgba(255,57,212,.18);
}

.panel,
.tracks,
.stats {
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.section:hover .panel,
.section:hover .tracks,
.section:hover .stats {
  border-color: rgba(255,57,212,.35);
  box-shadow:
    0 0 20px rgba(255,57,212,.045),
    inset 0 0 25px rgba(255,57,212,.018);
}

.link-row {
  transition:
    padding-left .16s ease,
    background .16s ease,
    color .16s ease;
}

.link-row:hover {
  padding-left: 21px;
  background: linear-gradient(90deg, rgba(255,57,212,.07), transparent 70%);
}

.link-row:hover .label {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,57,212,.35);
}

.link-row:hover .right {
  color: var(--pink);
  text-shadow: 0 0 10px rgba(255,57,212,.38);
}

.track:hover {
  background:
    linear-gradient(90deg, rgba(255,57,212,.07), transparent 65%),
    rgba(255,255,255,.02);
}

.track:hover .track-cover {
  box-shadow:
    0 0 10px rgba(255,255,255,.10),
    0 0 18px rgba(255,57,212,.22);
}

.track-play:hover {
  color: #050505 !important;
  background: var(--pink) !important;
  border-color: var(--pink);
  box-shadow:
    0 0 8px rgba(255,57,212,.85),
    0 0 22px rgba(255,57,212,.55) !important;
}

.stat {
  transition: background .16s ease;
}

.stat:hover {
  background: linear-gradient(180deg, rgba(255,57,212,.045), transparent);
}

.end {
  color: #76506d;
  text-shadow: 0 0 8px rgba(255,57,212,.16);
}

.loader span {
  background: linear-gradient(90deg, #fff 0%, var(--pink) 70%, #fff 100%);
  box-shadow: 0 0 12px rgba(255,57,212,.55);
}

.intro-logo {
  text-shadow:
    0 0 14px rgba(255,255,255,.30),
    0 0 26px rgba(255,57,212,.35);
}

/* User-provided pink scythe cursor */
@media (hover: hover) and (pointer: fine) {
  .anime-cursor {
    width: 50px;
    height: 50px;
    transform-origin: 18% 88%;
    filter:
      drop-shadow(0 0 2px rgba(0,0,0,1))
      drop-shadow(0 0 5px rgba(255,255,255,.40))
      drop-shadow(0 0 9px rgba(255,57,212,.95))
      drop-shadow(0 0 20px rgba(255,57,212,.62));
  }

  .anime-cursor.hovering {
    width: 58px;
    height: 58px;
    filter:
      drop-shadow(0 0 2px rgba(0,0,0,1))
      drop-shadow(0 0 6px rgba(255,255,255,.55))
      drop-shadow(0 0 12px rgba(255,57,212,1))
      drop-shadow(0 0 28px rgba(255,57,212,.78));
  }

  .anime-cursor.clicking {
    width: 43px;
    height: 43px;
  }

  .cursor-spark {
    background: var(--pink);
    box-shadow:
      0 0 5px var(--pink),
      0 0 14px rgba(255,57,212,.92);
  }
}
