* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #07060c;
  --panel: rgba(10, 8, 20, 0.72);
  --cyan: #22d3ee;
  --magenta: #e879f9;
  --line: rgba(34, 211, 238, 0.22);
  --dim: #8a86a6;
  --text: #e9e7f2;
  --mono: "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
}

html { background: var(--bg); }
body {
  color: var(--text);
  font-family: var(--mono);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(232, 121, 249, 0.3); }


.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(rgba(34, 211, 238, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 121, 249, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent 5%, #000 55%);
  -webkit-mask-image: linear-gradient(180deg, transparent 5%, #000 55%);
}
.scan {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(0,0,0,0.18) 3px 4px);
  opacity: 0.35;
  mix-blend-mode: multiply;
}

header, main, footer { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 0 22px; }

header { padding-top: 64px; display: flex; flex-direction: column; gap: 18px; }
.back {
  color: var(--dim); text-decoration: none; font-size: 0.82em; letter-spacing: 0.04em;
  transition: color 0.2s;
}
.back:hover { color: var(--magenta); }
.neon-title { display: flex; align-items: center; gap: 18px; }
.neon {
  color: var(--cyan);
  text-shadow: 0 0 6px rgba(34,211,238,0.7), 0 0 22px rgba(34,211,238,0.35);
  letter-spacing: 0.32em; font-weight: normal; font-size: 1.75em;
  line-height: 1;
}
.neon-title .tag {
  font-size: 0.72em; color: var(--magenta);
  letter-spacing: 0.2em; opacity: 0.8;
  text-shadow: 0 0 8px rgba(232,121,249,0.5);
}

main { padding-top: 44px; }


.tracks { list-style: none; counter-reset: t; }
.track {
  counter-increment: t;
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(2px);
  padding: 18px 20px; margin-bottom: 14px;
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.track:hover {
  border-color: rgba(34,211,238,0.55);
  box-shadow: 0 0 18px rgba(34,211,238,0.12);
}
.track.is-playing {
  border-color: var(--magenta);
  box-shadow: 0 0 22px rgba(232,121,249,0.18);
}

.meta {
  display: flex; gap: 14px; align-items: baseline; margin-bottom: 14px;
}
.meta::before {
  content: counter(t, decimal-leading-zero);
  color: var(--magenta); font-size: 0.85em;
  text-shadow: 0 0 8px rgba(232,121,249,0.5);
  min-width: 2.2em;
}
.title { color: var(--cyan); font-size: 1.05em; letter-spacing: 0.04em; }
.title.playing { text-shadow: 0 0 8px rgba(34,211,238,0.5); }
.artist { color: var(--dim); font-size: 0.85em; }
.kind-tag {
  margin-left: auto; font-size: 0.66em; color: var(--dim);
  border: 1px solid var(--line); padding: 2px 8px; border-radius: 20px;
  letter-spacing: 0.1em; text-transform: uppercase;
}


.eq {
  display: none; gap: 3px; align-items: flex-end; height: 14px; margin-left: auto;
}
.track.is-playing .eq { display: inline-flex; }
.eq i {
  width: 3px; height: 100%; background: var(--cyan);
  box-shadow: 0 0 5px var(--cyan); border-radius: 1px;
  transform-origin: bottom;
  animation: eq 0.9s ease-in-out infinite;
}
.eq i:nth-child(2) { animation-delay: 0.15s; background: var(--magenta); box-shadow: 0 0 5px var(--magenta); }
.eq i:nth-child(3) { animation-delay: 0.3s; }
.eq i:nth-child(4) { animation-delay: 0.45s; background: var(--magenta); box-shadow: 0 0 5px var(--magenta); }
.eq i:nth-child(5) { animation-delay: 0.6s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .eq i { animation: none; transform: scaleY(0.5); }
  * { transition: none; }
}


.player { display: flex; align-items: center; gap: 16px; }
.play {
  width: 40px; height: 40px; flex-shrink: 0;
  background: transparent; color: var(--cyan);
  border: 1px solid var(--cyan); cursor: pointer; font-size: 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.play:hover { background: var(--cyan); color: var(--bg); box-shadow: 0 0 14px rgba(34,211,238,0.6); }
.play.playing { border-color: var(--magenta); color: var(--magenta); box-shadow: 0 0 12px rgba(232,121,249,0.4); }
.play.playing:hover { background: var(--magenta); color: var(--bg); }
.bar {
  flex: 1; height: 6px; background: rgba(34, 211, 238, 0.1);
  cursor: pointer; position: relative; border-radius: 3px; overflow: hidden;
}
.fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 8px rgba(34,211,238,0.5);
}
.time { color: var(--dim); font-size: 0.78em; min-width: 40px; text-align: right; letter-spacing: 0.05em; }


.embed iframe {
  width: 100%; height: 120px; border: 1px solid rgba(232, 121, 249, 0.3);
  border-radius: 2px; display: block;
}

.empty {
  color: var(--magenta); text-shadow: 0 0 10px rgba(232,121,249,0.5);
  letter-spacing: 0.05em; padding: 30px 4px;
}
.empty::before { content: "// "; color: var(--dim); }

footer { padding: 60px 22px 44px; font-size: 0.76em; color: var(--dim); letter-spacing: 0.04em; }
footer a { color: var(--dim); text-decoration: none; margin-right: 22px; transition: color 0.2s; }
footer a:hover { color: var(--cyan); }

@media (max-width: 560px) {
  .neon { font-size: 1.4em; letter-spacing: 0.24em; }
  .neon-title .tag { display: none; }
}
