
:root {
  --bg: #020204;
  --bg-soft: #0b0b11;
  --bg-card: #050508;
  --bg-card-alt: #090914;
  --accent: #ff007a;
  --accent-soft: rgba(255, 0, 122, 0.35);
  --accent-glow: rgba(255, 0, 122, 0.95);
  --text-main: #ffffff;
  --text-muted: #a0a0b8;
  --text-soft: #6c6c85;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --radius-xl: 26px;
}

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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 0, 122, 0.1), transparent 60%),
    radial-gradient(circle at 90% 100%, rgba(80, 0, 255, 0.18), transparent 55%),
    var(--bg);
  background-size: 150% 150%;
  animation: bgMove 18s ease-in-out infinite alternate;
  overflow-x: hidden;
}

@keyframes bgMove {
  0% { background-position: 0% 0%, 100% 100%, 50% 50%; }
  50% { background-position: 20% 10%, 80% 90%, 55% 30%; }
  100% { background-position: 60% 0%, 40% 100%, 40% 70%; }
}

.club-wrapper {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

/* HEADER */

.club-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.logo {
  font-size: 26px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 800;
}

.logo span {
  color: var(--accent);
}

/* PLAYER */

.player-shell {
  border-radius: 34px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 0, 122, 0.85));
  box-shadow:
    0 0 70px rgba(0, 0, 0, 0.9),
    0 0 80px rgba(255, 0, 122, 0.5);
  position: relative;
  overflow: hidden;
}

.player-card {
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(255, 0, 122, 0.22), transparent 65%),
    radial-gradient(circle at bottom right, rgba(90, 0, 255, 0.22), transparent 65%),
    linear-gradient(145deg, var(--bg-card), var(--bg-card-alt));
  padding: 22px 24px 18px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 840px) {
  .player-card {
    grid-template-columns: 1fr;
    padding: 20px 18px 18px;
  }
}

.cover-column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.deck-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-soft);
}

.cover-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* glow removed */
.cover {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  padding: 4px;
  background: radial-gradient(circle at 20% 10%, #ffdde9, #64001f 55%, #15030a 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    0 24px 40px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(0, 0, 0, 0.7);
}

.cover-inner {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: radial-gradient(circle at 20% 10%, #2a2a3f, #080812 65%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#cover-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.25s ease-out;
}

#cover-art.show {
  opacity: 1;
}

.cover-icon {
  font-size: 52px;
  filter: drop-shadow(0 0 16px rgba(0, 0, 0, 0.9));
  transition: opacity 0.25s ease-out;
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 20px;
  margin-top: 4px;
}

.eq-bar {
  width: 4px;
  border-radius: 999px;
  background: var(--accent-soft);
  animation: eqBeat 1.1s infinite ease-in-out;
  transform-origin: bottom;
}

.eq-bar:nth-child(2) { animation-delay: 0.15s; }
.eq-bar:nth-child(3) { animation-delay: 0.3s; }
.eq-bar:nth-child(4) { animation-delay: 0.45s; }

@keyframes eqBeat {
  0%, 100% { transform: scaleY(0.4); }
  40% { transform: scaleY(1); }
  70% { transform: scaleY(0.6); }
}

/* RIGHT SIDE */

.info-column {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.track-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.track-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.7);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.track-title {
  font-size: 26px;
  font-weight: 700;
  text-shadow: 0 0 24px rgba(255, 0, 122, 0.9);
  margin-top: 4px;
  word-break: break-word;
}

/* artist removed */

.controls-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: radial-gradient(circle at 30% 30%, #ffb6dd, #ff007a);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 34px rgba(255, 0, 122, 1),
    0 0 90px rgba(0, 0, 0, 0.95);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, filter 0.12s ease-out;
}

.play-btn.pulse {
  animation: playPulse 2.3s ease-out infinite;
}

@keyframes playPulse {
  0% { box-shadow: 0 0 30px rgba(255, 0, 122, 0.9); }
  60% { box-shadow: 0 0 52px rgba(255, 0, 122, 1); }
  100% { box-shadow: 0 0 30px rgba(255, 0, 122, 0.8); }
}

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 170px;
}

.volume-icon {
  font-size: 18px;
  color: var(--text-muted);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 0, 122, 0.8), rgba(255, 0, 122, 0.25));
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 14px var(--accent-glow),
    0 0 0 4px rgba(255, 0, 122, 0.4);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 14px var(--accent-glow),
    0 0 0 4px rgba(255, 0, 122, 0.4);
  border: none;
  cursor: pointer;
}

.next-row {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.next-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-soft);
}

#next-track {
  font-size: 13px;
  color: var(--text-main);
}

/* RECENTLY PLAYED */

.recent-card {
  margin-top: 22px;
  border-radius: 24px;
  background: rgba(5, 5, 12, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
  padding: 14px 16px 12px;
}

.recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.recent-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--text-soft);
}

.recent-count {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.recent-list {
  list-style: none;
  margin-top: 6px;
}

.recent-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.recent-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.recent-track {
  font-weight: 500;
}

.recent-artist {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.recent-time {
  font-size: 11px;
  color: var(--text-soft);
}

.footer {
  margin-top: 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  text-align: center;
}
