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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.player-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 600px;
}

h1 {
  color: #764ba2;
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
}

.track-list {
  margin-bottom: 25px;
}

.track-item {
  padding: 12px 15px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.track-item:hover {
  background: linear-gradient(135deg, #667eea25 0%, #764ba225 100%);
  transform: translateX(5px);
}

.track-item.active {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea30 0%, #764ba230 100%);
}

.track-name {
  color: #333;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.progress-container {
  margin-bottom: 20px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
  width: 0%;
  transition: width 0.1s linear;
}

.time-display {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

.cue-points {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.cue-points h3 {
  color: #764ba2;
  font-size: 16px;
  margin-bottom: 15px;
}

.cue-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cue-item {
  background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
  padding: 8px 12px;
  border-radius: 15px;
  font-size: 12px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cue-item:hover {
  background: linear-gradient(135deg, #667eea40 0%, #764ba240 100%);
  transform: scale(1.05);
}

.cue-delete {
  background: #ff4757;
  color: white;
  border: none;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 10px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.cue-delete:focus {
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.18);
}

.cue-delete:hover {
  background: #ff3838;
}

.no-cues {
  color: #999;
  font-size: 14px;
  font-style: italic;
}

.current-track {
  text-align: center;
  margin-bottom: 15px;
  color: #666;
  font-size: 14px;
}

.current-track-name {
  color: #764ba2;
  font-weight: 600;
}
