/* Spotify Now Playing Section Styles */
.spotify-section {
  margin-bottom: 40px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #30cfd0;
  box-shadow: 0 0 10px rgba(48, 207, 208, 0.5);
  padding: 20px;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.spotify-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #30cfd0, transparent);
  animation: scan-line 2s linear infinite;
}

.spotify-section .section-title {
  color: #1DB954; /* Spotify green */
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spotify-section .section-title i {
  font-size: 1.2em;
}

.spotify-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.spotify-album-art {
  flex: 0 0 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(48, 207, 208, 0.5);
}

.spotify-album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.spotify-album-art img:hover {
  transform: scale(1.05);
}

.spotify-info {
  flex: 1;
}

.spotify-info h3 {
  color: #fff;
  margin: 0 0 5px 0;
  font-size: 1.4em;
}

.spotify-info p {
  color: #ccc;
  margin: 0 0 15px 0;
}

.spotify-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 5px;
  overflow: hidden;
}

.spotify-progress-bar {
  height: 100%;
  background: #1DB954;
  width: 0%;
  transition: width 1s linear;
}

.spotify-time {
  font-size: 0.8em;
  color: #aaa;
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .spotify-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .spotify-album-art {
    margin-bottom: 15px;
  }
  
  .spotify-info {
    width: 100%;
  }
}

/* Animation for scan line */
@keyframes scan-line {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
