:root {
  --bg: #05010b;
  --bg-soft: #12051f;
  --panel: rgba(14, 10, 26, 0.72);
  --panel-strong: rgba(22, 15, 40, 0.92);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7f2ff;
  --muted: #b8acd2;
  --hot-pink: #ff3ea8;
  --cyan: #35f2ff;
  --violet: #8f5cff;
  --lime: #d8ff56;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Exo 2", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(53, 242, 255, 0.16), transparent 22%),
    radial-gradient(circle at 80% 15%, rgba(255, 62, 168, 0.18), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(143, 92, 255, 0.2), transparent 30%),
    linear-gradient(145deg, #05010b 0%, #0d0318 45%, #160723 100%);
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 4px, 4px 100%;
  mix-blend-mode: soft-light;
}

.page-shell {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 56px;
}

.hero {
  position: relative;
  padding: 32px 28px 20px;
}

.eyebrow,
.panel-kicker,
.meta-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--cyan);
  font-size: 0.72rem;
}

.logo {
  position: relative;
  margin: 10px 0 14px;
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo span {
  display: block;
}

.logo-core {
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, var(--cyan), var(--lime), var(--hot-pink), var(--violet), var(--cyan));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}

.logo-glow {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  filter: blur(14px);
  pointer-events: none;
}

.logo-glow-a {
  color: var(--hot-pink);
  transform: translate(6px, 2px);
}

.logo-glow-b {
  color: var(--cyan);
  transform: translate(-5px, -1px);
}

.wave-line {
  width: 100%;
  height: 24px;
  overflow: visible;
}

.wave-line svg {
  width: 100%;
  height: 100%;
}

.wave-path {
  fill: none;
  stroke: url(#wave-grad);
  stroke-width: 8;
  stroke-linecap: round;
}

.wave-line-top .wave-path,
.wave-line-bottom .wave-path {
  stroke: url(#wave-grad);
}

@supports (paint-order: stroke fill) {
  .wave-path {
    paint-order: stroke fill;
  }
}

.wave-line-top {
  margin-bottom: 4px;
}

.wave-line-bottom {
  margin-top: 4px;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-row .logo {
  flex-shrink: 0;
  white-space: nowrap;
}

.pig-runner {
  flex: 1;
  min-width: 0;
  height: 140px;
  overflow: hidden;
  position: relative;
}

.pig-track {
  display: flex;
  gap: 20px;
  position: absolute;
  left: -240px;
  top: 50%;
  transform: translateY(-50%);
  animation: pigFly 5s linear infinite;
}

.pig {
  width: 160px;
  height: auto;
  flex-shrink: 0;
  animation: pigBob 0.8s ease-in-out infinite alternate, pigHue 3s linear infinite;
}

.pig:nth-child(2) {
  animation-delay: -0.27s, -1s;
}

.pig:nth-child(3) {
  animation-delay: -0.54s, -2s;
}

@keyframes pigHue {
  from {
    filter: hue-rotate(0deg) brightness(1.2) saturate(1.5);
  }
  to {
    filter: hue-rotate(360deg) brightness(1.2) saturate(1.5);
  }
}

@keyframes pigFly {
  from {
    left: -240px;
  }
  to {
    left: 100%;
  }
}

@keyframes pigBob {
  from {
    transform: translateY(-3px);
  }
  to {
    transform: translateY(3px);
  }
}



.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.player-panel,
.playlist-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 10, 32, 0.92), rgba(10, 8, 18, 0.88));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.player-panel {
  padding: 28px;
  border-radius: 28px;
}

.playlist-panel {
  padding: 24px;
  border-radius: 24px;
}

.panel-header h2 {
  margin: 6px 0 0;
  font-family: "Exo 2", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.25rem;
}

.player-stage {
  margin-top: 22px;
}

.visualizer-shell {
  position: relative;
  aspect-ratio: 1;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(18, 10, 32, 0.95), rgba(10, 8, 18, 0.92));
}

.visualizer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(0.9) brightness(0.45);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.visualizer-bg.active {
  opacity: 1;
}

.visualizer-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 20%, rgba(5, 1, 11, 0.4) 70%),
    linear-gradient(180deg, rgba(5, 1, 11, 0.3) 0%, transparent 30%, transparent 60%, rgba(5, 1, 11, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

#visualizer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  z-index: 2;
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
}

.orbital-shell {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  z-index: 3;
}

.orbital-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid transparent;
}

.orbital-ring-a {
  width: 90%;
  aspect-ratio: 1;
  border-top-color: var(--cyan);
  border-right-color: rgba(255, 62, 168, 0.5);
  animation: spin 16s linear infinite;
}

.orbital-ring-b {
  width: 75%;
  aspect-ratio: 1;
  border-bottom-color: var(--lime);
  border-left-color: rgba(143, 92, 255, 0.65);
  animation: spinReverse 12s linear infinite;
}

.record-core {
  position: relative;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12) 0 8%, transparent 9%),
    radial-gradient(circle at 40% 35%, rgba(53, 242, 255, 0.35), transparent 28%),
    radial-gradient(circle at 60% 65%, rgba(255, 62, 168, 0.35), transparent 30%),
    linear-gradient(160deg, #090413, #1c0e2d 55%, #0a0513);
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.025),
    0 0 44px rgba(53, 242, 255, 0.14),
    0 0 64px rgba(255, 62, 168, 0.12);
}

.record-core::before,
.record-core::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.record-core::after {
  inset: 28px;
}

.record-label {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), rgba(9, 5, 19, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.record-label span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.record-label strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.2;
}

.track-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.meta-value {
  margin: 5px 0 0;
  font-size: 1.06rem;
}

.transport {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.transport-btn {
  min-width: 72px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 12px 20px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.transport-btn:hover,
.track-button:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 242, 255, 0.55);
  box-shadow: 0 0 26px rgba(53, 242, 255, 0.14);
}

.transport-primary {
  background: linear-gradient(90deg, rgba(53, 242, 255, 0.18), rgba(255, 62, 168, 0.18));
}

.timing-row,
.volume-row {
  display: grid;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.timing-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.volume-row {
  grid-template-columns: auto minmax(0, 1fr);
}

input[type="range"] {
  width: 100%;
  height: 4px;
  appearance: none;
  background: linear-gradient(90deg, rgba(53, 242, 255, 0.75), rgba(255, 62, 168, 0.75));
  border-radius: 999px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--violet);
  box-shadow: 0 0 18px rgba(255, 62, 168, 0.5);
}

.playlist {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  max-height: 880px;
  overflow: auto;
  padding-right: 4px;
}

.playlist::-webkit-scrollbar {
  width: 8px;
}

.playlist::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(var(--cyan), var(--hot-pink));
}

.playlist-group {
  display: grid;
  gap: 10px;
}

.playlist-group-title {
  margin: 0;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.88rem;
}

.track-button {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.track-info {
  flex: 1;
  min-width: 0;
}

.track-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.track-button.active {
  border-color: rgba(255, 62, 168, 0.65);
  background: linear-gradient(90deg, rgba(53, 242, 255, 0.14), rgba(255, 62, 168, 0.12));
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.04), 0 0 24px rgba(255, 62, 168, 0.16);
}

.track-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
}

.track-release {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes shimmer {
  from {
    background-position: 0 50%;
  }
  to {
    background-position: 220% 50%;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@media (max-width: 980px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .playlist {
    max-height: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 100%);
    padding-top: 28px;
  }

  .hero,
  .player-panel,
  .playlist-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .player-panel,
  .playlist-panel {
    border-radius: 22px;
  }

  .track-meta {
    grid-template-columns: 1fr;
  }

  .timing-row {
    grid-template-columns: 1fr;
  }
}
