/* ========================================
   PLAYER TI&CIA - Estilos
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  background: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.logo {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.container {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.now-playing {
  background: #2d2d2d;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

#track-meta {
  text-align: center;
  margin-bottom: 30px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.artist {
  font-size: 18px;
  color: #999;
  margin-bottom: 8px;
  font-weight: 500;
}

.title {
  font-size: 24px;
  font-weight: 700;
  color: #e8eefb;
  line-height: 1.3;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn {
  background: #3a3a3a;
  color: #e8eefb;
  border: 1px solid #4a4a4a;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  box-shadow: none;
  min-width: 60px;
}

.btn:hover {
  background: #4a4a4a;
  border-color: #5a5a5a;
}

.btn:active {
  background: #2a2a2a;
}

#btn-play,
#btn-pause {
  background: #38a169;
  border-color: #38a169;
  font-size: 20px;
  padding: 16px 28px;
}

#btn-play:hover,
#btn-pause:hover {
  background: #2f855a;
  border-color: #2f855a;
}

#btn-next {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

#btn-next:hover {
  background: #4a4a4a;
}

#btn-like,
#btn-dislike {
  background: #3a3a3a;
  border-color: #4a4a4a;
  color: #999;
  font-size: 20px;
  padding: 12px 20px;
  opacity: 0.6;
  transition: all 0.2s ease;
}

#btn-like:hover {
  opacity: 1;
  background: #38a169;
  border-color: #38a169;
  color: white;
}

#btn-dislike:hover {
  opacity: 1;
  background: #e53e3e;
  border-color: #e53e3e;
  color: white;
}

#btn-like.active {
  opacity: 1;
  background: #38a169;
  border-color: #38a169;
  color: white;
}

#btn-dislike.active {
  opacity: 1;
  background: #e53e3e;
  border-color: #e53e3e;
  color: white;
}

.progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.progress span {
  font-size: 13px;
  color: #999;
  min-width: 40px;
  font-weight: 500;
}

#elapsed {
  text-align: right;
}

#duration {
  text-align: left;
}

#seek {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #4a4a4a;
  border-radius: 10px;
  outline: none;
  cursor: pointer;
}

#seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #e8eefb;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

#seek::-webkit-slider-thumb:hover {
  background: #fff;
}

#seek::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #e8eefb;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

#seek::-moz-range-thumb:hover {
  background: #fff;
}

/* Responsivo */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }
  
  .now-playing {
    padding: 24px;
  }
  
  .title {
    font-size: 20px;
  }
  
  .controls {
    gap: 10px;
  }
  
  .btn {
    padding: 12px 18px;
    font-size: 16px;
  }
  
  #btn-play,
  #btn-pause {
    padding: 14px 22px;
  }
}
