/* ==========================================================================
   Dive Theme — Vinyl Player
   Fixed-position SVG record with spin/pulse animations
   ========================================================================== */

.dive-vinyl {
  position: fixed;
  top: unset;
  right: 1rem;
  bottom: 3rem;
  z-index: 50;
  user-select: none;
}
@media (min-width: 1024px) {
  .dive-vinyl {
    top: 1.5rem;
    right: 1.5rem;
    bottom: unset;
  }
}

.dive-vinyl__button {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.625rem;
  background: transparent;
  border: 0;
  padding: 0;
}

.dive-vinyl__record-wrap {
  position: relative;
  width: 56px;
  height: 56px;
}
@media (min-width: 1024px) {
  .dive-vinyl__record-wrap {
    width: 88px;
    height: 88px;
  }
}

.dive-vinyl__record {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
}

/* ---------- Playing state ---------- */

.dive-vinyl--playing .dive-vinyl__record {
  animation: vinyl-spin 3s linear infinite;
}

.dive-vinyl--playing .dive-vinyl__dot {
  animation: dot-pulse 1.4s ease-in-out infinite;
}

/* ---------- Status text + dot ---------- */

.dive-vinyl__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Raleway', sans-serif;
  color: hsl(var(--foreground));
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
}
@media (min-width: 1024px) {
  .dive-vinyl__status {
    font-size: 0.75rem;
  }
}

.dive-vinyl__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E16D22;
  flex-shrink: 0;
}

/* ---------- Animations ---------- */

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

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
}
