/**
 * DJ QBERT XR PANEL STYLES
 * Next Cosmos 5D - Hip Hop Turntablism & Bboy Vibes
 * Next-gen classic aesthetic with XR interface elements
 */

/* ═══════════════════════════════════════════════════════════════
   QBERT XR PANEL - MAIN CONTAINER
   ═══════════════════════════════════════════════════════════════ */

.qbert-xr-panel {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: linear-gradient(135deg, #0a0012 0%, #1a0a2e 50%, #0d1a2a 100%);
  overflow: hidden;
  animation: panelSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes panelSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════════
   COSMIC BACKGROUND EFFECTS
   ═══════════════════════════════════════════════════════════════ */

.cosmic-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cosmic-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(138, 43, 226, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 43, 226, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center top;
  animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
  from { background-position: 0 0; }
  to { background-position: 0 60px; }
}

.cosmic-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 120%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, 
    rgba(138, 43, 226, 0.2) 0%,
    rgba(75, 0, 130, 0.1) 40%,
    transparent 70%
  );
  filter: blur(40px);
  animation: cosmicPulse 4s ease-in-out infinite;
}

@keyframes cosmicPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.star-field {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(2px 2px at 160px 120px, rgba(138,43,226,0.9), transparent),
    radial-gradient(1px 1px at 230px 80px, #fff, transparent),
    radial-gradient(2px 2px at 300px 150px, rgba(0,228,255,0.8), transparent),
    radial-gradient(1px 1px at 350px 60px, #fff, transparent);
  background-size: 400px 200px;
  animation: starsFloat 60s linear infinite;
}

@keyframes starsFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-200px); }
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */

.qbert-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(138, 43, 226, 0.3);
  background: rgba(10, 0, 18, 0.6);
  backdrop-filter: blur(20px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cosmos-badge {
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(0, 228, 255, 0.2));
  border: 1px solid rgba(138, 43, 226, 0.5);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #b388ff;
  text-transform: uppercase;
}

.panel-title {
  margin: 0;
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #fff 0%, #b388ff 50%, #00e4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(138, 43, 226, 0.5);
}

.close-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 60, 60, 0.2);
  border-color: rgba(255, 60, 60, 0.5);
  transform: rotate(90deg);
}

/* ═══════════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════════ */

.qbert-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  padding: 2rem;
  overflow: hidden;
}

@media (max-width: 900px) {
  .qbert-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   AVATAR SECTION
   ═══════════════════════════════════════════════════════════════ */

.qbert-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
}

.avatar-container {
  position: relative;
  width: 280px;
  height: 280px;
}

.qbert-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(138, 43, 226, 0.6);
  box-shadow: 
    0 0 0 8px rgba(138, 43, 226, 0.1),
    0 0 60px rgba(138, 43, 226, 0.4),
    0 0 100px rgba(0, 228, 255, 0.2);
  animation: avatarFloat 4s ease-in-out infinite;
}

@keyframes avatarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.avatar-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(138, 43, 226, 0.3) 0%,
    transparent 70%
  );
  filter: blur(20px);
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.avatar-ring {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 2px solid rgba(138, 43, 226, 0.3);
  animation: ringRotate 10s linear infinite;
}

.avatar-ring.ring-2 {
  inset: -50px;
  border-color: rgba(0, 228, 255, 0.2);
  animation-direction: reverse;
  animation-duration: 15s;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════
   SPEECH BUBBLE - Next Gen Classic
   ═══════════════════════════════════════════════════════════════ */

.qbert-speech-bubble {
  position: relative;
  max-width: 320px;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.qbert-speech-bubble.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.bubble-content {
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.12) 0%,
    rgba(138, 43, 226, 0.15) 100%
  );
  border: 1px solid rgba(138, 43, 226, 0.4);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.bubble-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
}

.bubble-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #fff;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bubble-tail {
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid rgba(138, 43, 226, 0.4);
}

.qbert-speech-bubble.right .bubble-tail {
  left: auto;
  right: -12px;
  border-right: none;
  border-left: 12px solid rgba(138, 43, 226, 0.4);
}

/* Speech bubble typewriter effect */
.bubble-text {
  animation: typeReveal 0.5s steps(40) forwards;
}

@keyframes typeReveal {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   CONTROLS SECTION
   ═══════════════════════════════════════════════════════════════ */

.qbert-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   PLAYER SECTION
   ═══════════════════════════════════════════════════════════════ */

.player-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(15, 10, 30, 0.6);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

/* Vinyl Record */
.vinyl-container {
  position: relative;
  width: 180px;
  height: 180px;
}

.vinyl-record {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #1a1a1a 0deg,
    #2a2a2a 30deg,
    #1a1a1a 60deg,
    #2a2a2a 90deg,
    #1a1a1a 120deg,
    #2a2a2a 150deg,
    #1a1a1a 180deg,
    #2a2a2a 210deg,
    #1a1a1a 240deg,
    #2a2a2a 270deg,
    #1a1a1a 300deg,
    #2a2a2a 330deg,
    #1a1a1a 360deg
  );
  box-shadow: 
    0 0 0 4px #0a0a0a,
    0 0 0 6px rgba(138, 43, 226, 0.3),
    0 10px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.vinyl-container.spinning .vinyl-record {
  animation: vinylSpin 2s linear infinite;
}

@keyframes vinylSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-label {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.vinyl-artist {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
}

.vinyl-track {
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  max-width: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vinyl-shine {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 30%;
  height: 30%;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* Waveform Visualizer */
.waveform-viz {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 50px;
  padding: 0 1rem;
}

.wave-bar {
  width: 8px;
  height: 20%;
  background: linear-gradient(to top, #8a2be2, #00e4ff);
  border-radius: 4px;
  transition: height 0.1s ease;
}

.wave-bar.active {
  animation: waveAnimation 0.6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes waveAnimation {
  0%, 100% { height: 20%; }
  50% { height: var(--bar-height, 80%); }
}

/* Now Playing */
.now-playing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.now-playing-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.now-playing-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
}

.now-playing-duration {
  font-size: 0.9rem;
  color: rgba(138, 43, 226, 0.8);
  font-family: 'JetBrains Mono', monospace;
}

/* Player Buttons */
.player-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.player-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(138, 43, 226, 0.2);
  border: 1px solid rgba(138, 43, 226, 0.4);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.player-btn:hover {
  background: rgba(138, 43, 226, 0.4);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.player-btn.play {
  width: 70px;
  height: 70px;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
  border: none;
  box-shadow: 0 8px 30px rgba(138, 43, 226, 0.5);
}

.player-btn.play:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 40px rgba(138, 43, 226, 0.7);
}

/* ═══════════════════════════════════════════════════════════════
   TRACK LIST
   ═══════════════════════════════════════════════════════════════ */

.track-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(15, 10, 30, 0.4);
  border: 1px solid rgba(138, 43, 226, 0.2);
  border-radius: 20px;
  overflow: hidden;
}

.track-list-title {
  margin: 0;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(138, 43, 226, 0.2);
  background: rgba(0, 0, 0, 0.2);
}

.tracks-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
  max-height: 300px;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.2rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.track-item:hover {
  background: rgba(138, 43, 226, 0.15);
  border-color: rgba(138, 43, 226, 0.3);
}

.track-item.active {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(0, 228, 255, 0.1));
  border-color: rgba(138, 43, 226, 0.5);
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.2);
}

.track-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(138, 43, 226, 0.7);
  min-width: 28px;
}

.track-item.active .track-number {
  color: #00e4ff;
}

.track-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.track-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.track-vibe {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.track-duration {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.qbert-footer {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  border-top: 1px solid rgba(138, 43, 226, 0.2);
  background: rgba(10, 0, 18, 0.6);
  backdrop-filter: blur(10px);
}

.footer-tag {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.graffiti-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #ff6b6b, #ffd93d, #6bcb77, #4d96ff, #8a2be2);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.divider {
  color: rgba(255, 255, 255, 0.2);
}

.footer-credit {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   QUICK ACCESS BUTTON (for Synapse toolbar)
   ═══════════════════════════════════════════════════════════════ */

.qbert-quick-access {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(75, 0, 130, 0.3));
  border: 1px solid rgba(138, 43, 226, 0.4);
  border-radius: 14px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.qbert-quick-access::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #8a2be2, #4b0082);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qbert-quick-access:hover::before {
  opacity: 1;
}

.qbert-quick-access:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

.qbert-quick-access.pulse {
  animation: quickAccessPulse 1s ease-out;
}

@keyframes quickAccessPulse {
  0% { box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.6); }
  100% { box-shadow: 0 0 0 15px rgba(138, 43, 226, 0); }
}

.qbert-icon {
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
}

.icon-disc {
  animation: discSpin 3s linear infinite;
}

@keyframes discSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.qbert-label {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-family: 'Orbitron', sans-serif;
}

/* Scrollbar styling */
.tracks-scroll::-webkit-scrollbar {
  width: 6px;
}

.tracks-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.tracks-scroll::-webkit-scrollbar-thumb {
  background: rgba(138, 43, 226, 0.5);
  border-radius: 3px;
}

.tracks-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(138, 43, 226, 0.7);
}

/* ═══════════════════════════════════════════════════════════════
   PROGRESS BAR & TIME DISPLAY
   ═══════════════════════════════════════════════════════════════ */

.progress-container {
  width: 100%;
  padding: 0 0.5rem;
  cursor: pointer;
}

.progress-bar {
  position: relative;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: visible;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #8a2be2 0%, #00e4ff 100%);
  border-radius: 4px;
  transition: width 0.1s linear;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
  opacity: 0;
  transition: opacity 0.2s;
}

.progress-container:hover .progress-fill::after {
  opacity: 1;
}

.progress-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.progress-container:hover .progress-handle {
  opacity: 1;
}

.time-display {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════════════════════
   VOLUME CONTROL
   ═══════════════════════════════════════════════════════════════ */

.volume-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.volume-icon {
  font-size: 1.1rem;
  opacity: 0.7;
}

.volume-slider {
  width: 80px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #8a2be2, #00e4ff);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(138, 43, 226, 0.6);
}

.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #8a2be2, #00e4ff);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* ═══════════════════════════════════════════════════════════════
   LOOP BUTTON
   ═══════════════════════════════════════════════════════════════ */

.player-btn.loop {
  font-size: 1rem;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.player-btn.loop.active {
  opacity: 1;
  background: linear-gradient(135deg, rgba(0, 228, 255, 0.3), rgba(138, 43, 226, 0.3));
  border-color: #00e4ff;
  box-shadow: 0 0 15px rgba(0, 228, 255, 0.4);
}

.player-btn.loop:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   ALBUM INFO CARD & BUY BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.album-info-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(15, 10, 30, 0.7);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 320px;
}

.album-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.album-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.album-artist {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.album-genre {
  font-size: 0.8rem;
  color: rgba(138, 43, 226, 0.8);
  font-style: italic;
}

.buy-album-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.buy-album-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.buy-icon {
  font-size: 1.2rem;
}

.bandcamp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  background: rgba(29, 185, 84, 0.2);
  border: 1px solid rgba(29, 185, 84, 0.5);
  border-radius: 10px;
  color: #1db954;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.bandcamp-btn:hover {
  background: rgba(29, 185, 84, 0.3);
  border-color: #1db954;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   NOW PLAYING STORY
   ═══════════════════════════════════════════════════════════════ */

.now-playing-story {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  text-align: center;
  max-width: 280px;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER BUY LINK
   ═══════════════════════════════════════════════════════════════ */

.footer-buy-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(247, 147, 30, 0.2));
  border: 1px solid rgba(255, 107, 53, 0.4);
  border-radius: 20px;
  color: #ff6b35;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-buy-link:hover {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(247, 147, 30, 0.3));
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   PLAYING TRACK INDICATOR
   ═══════════════════════════════════════════════════════════════ */

.track-item.playing .track-number {
  color: #00e4ff;
  animation: playingPulse 1s ease-in-out infinite;
}

@keyframes playingPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.track-item.playing {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.4), rgba(0, 228, 255, 0.15));
}
