/* Larrie Player - CSS */

.larrie-player-wrap {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  box-sizing: border-box;
}

.larrie-player-wrap *,
.larrie-player-wrap *::before,
.larrie-player-wrap *::after {
  box-sizing: border-box;
}

.track-card {
  background: linear-gradient(145deg, #0a2a4a 0%, #0d3b6e 50%, #0a2a4a 100%);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.track-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(29,158,117,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.track-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(55,138,221,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.track-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.track-art {
  width: 72px; height: 72px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d9e75, #0d3b6e);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.1);
}

.track-info { flex: 1; }

.track-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 4px 0;
}

.track-artist {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.badge-new {
  background: rgba(29,158,117,0.2);
  border: 1px solid rgba(29,158,117,0.4);
  color: #5dcaa5;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.progress-area { margin-bottom: 1.25rem; }

.progress-bar-wrap {
  position: relative;
  height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 8px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #1d9e75, #5dcaa5);
  border-radius: 4px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  right: -5px; top: -4px;
  width: 12px; height: 12px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(29,158,117,0.5);
}

.time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
}

.controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.lp-ctrl-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, transform 0.15s;
  padding: 6px;
  border-radius: 50%;
}

.lp-ctrl-btn:hover { color: rgba(255,255,255,0.85); transform: scale(1.1); }
.lp-ctrl-btn svg { display: block; }

.lp-play-btn {
  width: 54px; height: 54px;
  background: #1d9e75;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(29,158,117,0.4);
}

.lp-play-btn:hover { background: #5dcaa5; transform: scale(1.06); }
.lp-play-btn:active { transform: scale(0.97); }

.lp-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.25rem;
}

.lp-streaming-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 0.85rem;
  text-align: center;
}

.lp-platforms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.lp-platform-pill {
  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: 50%;
  width: 44px; height: 44px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  cursor: default;
}

.lp-platform-pill:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: scale(1.1);
}

.lp-platform-pill svg { flex-shrink: 0; }

.lp-waves {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  margin-left: 4px;
}

.lp-wave-bar {
  width: 3px;
  background: #1d9e75;
  border-radius: 2px;
  animation: lpWaveBounce 0.8s ease-in-out infinite;
  opacity: 0;
}

.lp-wave-bar:nth-child(1) { animation-delay: 0s;    height: 6px; }
.lp-wave-bar:nth-child(2) { animation-delay: 0.15s; height: 12px; }
.lp-wave-bar:nth-child(3) { animation-delay: 0.3s;  height: 18px; }
.lp-wave-bar:nth-child(4) { animation-delay: 0.15s; height: 12px; }
.lp-wave-bar:nth-child(5) { animation-delay: 0s;    height: 6px; }

.lp-wave-bar.active { opacity: 1; }

@keyframes lpWaveBounce {
  0%, 100% { transform: scaleY(0.4); }
  50%       { transform: scaleY(1); }
}
