/* Music Page Styles - Skeuomorphic Design */

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #1e293b;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.fun-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 30px;
}

/* Music Player Container */
.music-player-container {
  background: linear-gradient(145deg, #ffffff, #f0f0f0, #e8e8e8);
  border: 3px solid #c8c8c8;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 40px;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.control-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #c8c8c8;
  background: linear-gradient(145deg, #ffffff, #f0f0f0, #e8e8e8);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  will-change: transform;
  transform: translateZ(0);
}

.control-btn:hover {
  background: linear-gradient(145deg, #f5f5f5, #e8e8e8, #d8d8d8);
  transform: translateY(-2px) translateZ(0);
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}

.control-btn:active {
  transform: translateY(0) translateZ(0);
}

.track-info {
  flex: 1;
  min-width: 200px;
}

.track-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 5px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.track-time {
  font-size: 0.9rem;
  color: #64748b;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}

.volume-control span:first-child {
  font-size: 1.2rem;
}

#volume-slider {
  flex: 1;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(145deg, #e8e8e8, #d8d8d8);
  border: 2px solid #c8c8c8;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border: 3px solid #c8c8c8;
  cursor: pointer;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 1);
}

#volume-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border: 3px solid #c8c8c8;
  cursor: pointer;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 1);
}

#volume-value {
  min-width: 40px;
  text-align: right;
  font-weight: 700;
  color: #1e293b;
}

/* Progress Bar */
.progress-bar-container {
  margin-top: 15px;
}

#progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(145deg, #e8e8e8, #d8d8d8);
  border: 2px solid #c8c8c8;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

#progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border: 3px solid #c8c8c8;
  cursor: pointer;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 1);
}

#progress-bar::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border: 3px solid #c8c8c8;
  cursor: pointer;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 1);
}

/* Tracks Grid */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.track-card {
  background: linear-gradient(145deg, #ffffff, #f0f0f0, #e8e8e8);
  border: 3px solid #c8c8c8;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  will-change: transform;
  transform: translateZ(0);
}

.track-card:hover {
  background: linear-gradient(145deg, #f5f5f5, #e8e8e8, #d8d8d8);
  transform: translateY(-3px) translateZ(0);
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}

.track-card.active {
  background: linear-gradient(145deg, #e8f5e9, #c8e6c9, #a5d6a7);
  border-color: #4caf50;
}

.track-card .track-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  display: block;
}

.track-card .track-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 5px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.track-card .track-description {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 10px;
}

.track-card .track-duration {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .tracks-grid {
    grid-template-columns: 1fr;
  }
  
  .player-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .control-btn {
    align-self: center;
  }
  
  .volume-control {
    width: 100%;
  }
}



