/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Orbitron", "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at top, #0f0c29, #302b63, #24243e);
  color: #eee;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 2rem;
}

/* === Container === */
.container {
  width: 100%;
  max-width: 1200px;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Header === */
.header {
  text-align: center;
  margin-bottom: 2rem;
}
.logo {
  font-size: 4rem;
  text-shadow: 0 0 15px #ff00ff, 0 0 25px #00f;
}
.title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px #0ff, 0 0 20px #f0f;
}
.subtitle {
  font-size: 1.1rem;
  color: #aaa;
  letter-spacing: 1px;
}

/* === Cards === */
.card {
  background: rgba(10, 10, 25, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2),
              inset 0 0 15px rgba(255, 0, 255, 0.1);
  backdrop-filter: blur(8px);
}
.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
}

/* === Upload Zone === */
.upload-zone {
  border: 2px dashed rgba(0, 255, 255, 0.4);
  border-radius: 12px;
  padding: 3rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}
.upload-zone:hover {
  background: rgba(0, 255, 255, 0.05);
  border-color: #0ff;
  box-shadow: 0 0 15px #0ff;
}
.upload-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #0ff;
  text-shadow: 0 0 20px #0ff;
}

/* === Tracks === */
.track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(20, 20, 40, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.2);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  color: #eee;
  font-size: 0.95rem;
  text-shadow: 0 0 5px #000;
}
.empty-state {
  text-align: center;
  color: #888;
  padding: 2rem;
}
.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #555;
}

/* === Buttons === */
.btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.2s;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  margin-top: 30px;
}
#mixBtn {
    display: block;
    margin: 25px auto 0 auto;
}
.btn-primary {
  background: linear-gradient(45deg, #00f, #0ff);
  color: white;
}
.btn-primary:hover { box-shadow: 0 0 20px #0ff; }
.btn-secondary {
  background: linear-gradient(45deg, #444, #666);
  color: white;
}
.btn-danger {
  background: linear-gradient(45deg, #f00, #900);
  color: white;
}
.btn:hover { transform: scale(1.05); }

/* === Sliders === */
.slider, .eq-slider, .track-volume {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #222;
  outline: none;
  margin-top: 0.5rem;
  box-shadow: inset 0 0 5px #000;
}
.slider::-webkit-slider-thumb,
.eq-slider::-webkit-slider-thumb,
.track-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0ff;
  cursor: pointer;
  box-shadow: 0 0 10px #0ff;
}
.slider::-moz-range-thumb,
.eq-slider::-moz-range-thumb,
.track-volume::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0ff;
  cursor: pointer;
  box-shadow: 0 0 10px #0ff;
}

/* === Controls Layout === */
.mix-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 1.5rem;
}
.control-group {
  margin-bottom: 1rem;
}
.equalizer {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}
.eq-band {
  flex: 1;
  text-align: center;
  color: #ccc;
  font-size: 0.9rem;
}

/* === Toasts (notif) === */
#toastContainer {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
}
.toast {
  background: rgba(0,0,0,0.8);
  color: #0ff;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  margin-top: 0.5rem;
  box-shadow: 0 0 15px #0ff;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === Responsive === */
@media (max-width: 768px) {
  body { padding: 1rem; }
  .title { font-size: 2rem; }
  .logo { font-size: 3rem; }
  .card { padding: 1rem; }
}
