/* ══════════════════════════════════════════
   TOCA-DISCOS
══════════════════════════════════════════ */

#turntable-scene {
  position: absolute;
  inset: 0;
  z-index: var(--z-turntable);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}

.turntable-wrap {
  position: relative;
  width: 380px;
  height: 380px;
}

/* ── Vinil ── */
.vinyl {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    #080808 0px, #111 2px,
    #0c0c0c 4px, #141414 6px,
    #080808 8px
  );
  box-shadow:
    0 0 80px rgba(0,0,0,0.9),
    0 0 140px rgba(74,28,147,0.25),
    inset 0 0 30px rgba(0,0,0,0.5);
  animation: spinVinyl 3s linear infinite;
  animation-play-state: paused;
}
@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Label do disco ── */
.vinyl-label {
  position: absolute;
  width: 38%;
  height: 38%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06), 0 0 20px rgba(65,201,166,0.2);
}
.vinyl-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ── Buraco central ── */
.vinyl-hole {
  position: absolute;
  width: 14px; height: 14px;
  background: #000;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
}

/* ── Braço ── */
.tonearm-wrap {
  position: absolute;
  top: -20px; right: -60px;
  width: 180px; height: 220px;
  transform-origin: 30px 30px;
  transform: rotate(-28deg);
}
.tonearm-svg { width: 100%; height: 100%; }

/* ── Ripples ── */
.ripple {
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(65,201,166,0.35);
  transform: translate(-50%,-50%) scale(1);
  animation: rippleOut 2s ease-out infinite;
  pointer-events: none;
}
.ripple:nth-child(2) { animation-delay: 0.65s; }
.ripple:nth-child(3) { animation-delay: 1.3s; }
@keyframes rippleOut {
  0%   { transform: translate(-50%,-50%) scale(1); opacity: 0.5; }
  100% { transform: translate(-50%,-50%) scale(4); opacity: 0; }
}

/* ── Botão sair ── */
#btn-sair {
  margin-top: 52px;
  padding: 14px 40px;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
#btn-sair:hover { border-color: var(--menta); color: var(--menta); transform: translateY(-2px); }
