/* Circular Audio Player Styles */

.circular-audio-player-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  min-height: 400px;
  width: 100%;
}

.circular-audio-player {
  position: relative;
  width: 300px;
  height: 300px;
  max-width: 100%;
  margin: 0 auto;
}

.player-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #212428 0%, #1a1d21 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.player-thumbnail {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.player-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.play-pause-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--color-primary, #ff0142);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 1, 66, 0.4);
}

.play-pause-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 1, 66, 0.6);
}

.play-pause-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.play-pause-btn i {
  width: 32px;
  height: 32px;
  stroke-width: 3;
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  z-index: 5;
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.1s linear;
  stroke-dasharray: 879.65;
  stroke-dashoffset: 879.65;
}

.player-circle.playing .player-thumbnail img {
  animation: rotate 20s linear infinite;
}

.player-circle.playing .progress-ring-circle {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.1s linear;
}

#track-modal-category {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: var(--color-pinterest);
  margin-bottom: 10px;
}

#track-modal-title {
  font-weight: 700;
  background: linear-gradient(90deg, #ff0142 0%, #f97b58 50%, #ffd200 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 20px;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Responsive Styles */
@media (max-width: 991px) {
  .circular-audio-player-wrapper {
    padding: 20px;
    min-height: 300px;
  }

  .circular-audio-player {
    width: 250px;
    height: 250px;
  }

  .progress-ring {
    width: 250px !important;
    height: 250px !important;
  }

  .progress-ring-circle {
    r: 115 !important;
    cx: 125 !important;
    cy: 125 !important;
    stroke-dasharray: 722.57 !important;
    stroke-dashoffset: 722.57 !important;
  }

  .play-pause-btn {
    width: 75px !important;
    height: 75px !important;
  }
}