/* Vinyl 3D Rotating Component */
.vinyl-3d-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  position: relative;
  overflow: hidden;
}

.vinyl-3d-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.vinyl-3d-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
}

.vinyl-3d-subtitle {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 50px;
}

.vinyl-viewer {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  perspective: 1500px;
}

.vinyl-3d-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  cursor: grab;
}

.vinyl-3d-wrapper:active {
  cursor: grabbing;
}

.vinyl-3d-wrapper.rotating .vinyl-image {
  animation: spinVinyl 8s linear infinite;
}

.vinyl-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  transition: transform 0.05s ease-out;
}

@keyframes spinVinyl {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.vinyl-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.vinyl-btn {
  padding: 12px 30px;
  background: #fff;
  color: #1a1a1a;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.vinyl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.vinyl-btn.active {
  background: #4CAF50;
  color: white;
}

.vinyl-info {
  color: #999;
  font-size: 0.9rem;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .vinyl-3d-title {
    font-size: 2rem;
  }
  
  .vinyl-3d-subtitle {
    font-size: 1rem;
  }
  
  .vinyl-viewer {
    max-width: 90%;
  }
  
  .vinyl-controls {
    gap: 10px;
  }
  
  .vinyl-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Glow effect on hover */
.vinyl-viewer:hover .vinyl-3d-wrapper {
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}
