/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
  color: #e0e0e0;
  overflow: hidden;
}

/* Fullscreen Player */
.fullscreen-player {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px;
  position: relative;
}

/* Album Section */
.album-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.album-art {
  position: relative;
  display: inline-block;
}

.album-image {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  border: 3px solid rgba(0, 212, 255, 0.2);
}

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

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.album-art:hover .play-overlay {
  opacity: 1;
}

.play-overlay i {
  font-size: 32px;
  color: #00d4ff;
}

/* Track Section */
.track-section {
  text-align: center;
  margin-bottom: 30px;
  min-height: 80px;
}

.track-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #f0f0f0;
}

.track-artist {
  font-size: 1.1rem;
  opacity: 0.8;
  font-weight: 400;
}

/* Controls Section */
.controls-section {
  width: 100%;
  max-width: 500px;
  margin-bottom: 30px;
}

/* Progress Container */
.progress-container {
  margin-bottom: 40px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  border-radius: 4px;
  width: 0%;
  transition: width 0.1s ease;
}

.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Control Buttons */
.control-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.control-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  color: #e0e0e0;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.play-btn {
  width: 90px;
  height: 90px;
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.3);
  font-size: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
}

.play-btn:hover {
  background: rgba(0, 212, 255, 0.3);
  transform: scale(1.15);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.3);
}

/* Social Buttons */
.social-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  font-size: 20px;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.instagram-btn {
  color: #e4405f;
}

.instagram-btn:hover {
  background: rgba(228, 64, 95, 0.2);
  border-color: rgba(228, 64, 95, 0.3);
  box-shadow: 0 12px 40px rgba(228, 64, 95, 0.2);
}

.whatsapp-btn {
  color: #25d366;
}

.facebook-btn {
  color: #1877f2;
}

.facebook-btn:hover {
  background: rgba(24, 119, 242, 0.2);
  border-color: rgba(24, 119, 242, 0.3);
  box-shadow: 0 12px 40px rgba(24, 119, 242, 0.2);
}

.youtube-btn {
  color: #ff0000;
}

.youtube-btn:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.3);
  box-shadow: 0 12px 40px rgba(255, 0, 0, 0.2);
}

/* Volume Control Top */
.volume-control-top {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 100;
}

.volume-control-top .volume-container {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.volume-control-top .volume-container.show {
  opacity: 1;
}

.volume-control-top .volume-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.volume-control-top .volume-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.volume-slider {
  width: 120px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3),
    0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.volume-slider:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3),
    0 1px 1px rgba(255, 255, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.2);
}

.volume-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.1),
    0 4px 12px rgba(0, 212, 255, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  position: relative;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2),
    0 6px 16px rgba(0, 212, 255, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.volume-slider::-webkit-slider-thumb:active {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.3), 0 2px 8px rgba(0, 212, 255, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.1),
    0 4px 12px rgba(0, 212, 255, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2),
    0 6px 16px rgba(0, 212, 255, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.volume-slider::-moz-range-thumb:active {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.3), 0 2px 8px rgba(0, 212, 255, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.volume-slider::-moz-range-track {
  background: transparent;
  border: none;
}

.volume-slider::-webkit-slider-runnable-track {
  background: transparent;
  border: none;
}

/* Status Section */
.status-section {
  text-align: center;
}

.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d4ff;
  animation: pulse 2s infinite;
}

/* Animações */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.playing .album-image {
  animation: rotate 20s linear infinite;
}

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

/* Estados do player */
.loading .status-dot {
  background: #ffa500;
}

.error .status-dot {
  background: #ff6b6b;
}

.playing .status-dot {
  background: #00ff88;
}

/* Responsive Design */
@media (max-width: 768px) {
  .fullscreen-player {
    padding: 20px 15px;
  }

  .album-image {
    width: 250px;
    height: 250px;
  }

  .track-title {
    font-size: 1.5rem;
  }

  .control-buttons {
    gap: 30px;
  }

  .control-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .play-btn {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }

  .volume-slider {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .fullscreen-player {
    padding: 15px 10px;
  }

  .album-image {
    width: 200px;
    height: 200px;
  }

  .track-title {
    font-size: 1.3rem;
  }

  .track-artist {
    font-size: 1rem;
  }

  .control-buttons {
    gap: 25px;
  }

  .control-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .play-btn {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  .volume-slider {
    width: 120px;
  }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.7);
}

/* Gem Effects */
.gem-btn.active {
  animation: gemPulse 1s ease-in-out infinite alternate;
}

.gem-inverted.active {
  animation: gemRotate 2s linear infinite;
}

@keyframes gemPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
  }
  100% {
    transform: scale(1.2);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.6);
  }
}

@keyframes gemRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Special Effects */
.gem-btn.sparkle::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  border-radius: 50%;
  animation: sparkle 0.6s ease-in-out;
}

@keyframes sparkle {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
