body {
  font-family: 'Press Start 2P', cursive;
  background: #008080 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="black" opacity="0.1"/></svg>');
  color: #C0C0C0;
  margin: 0;
  padding: 20px;
  overflow: hidden;
  position: relative;
}

.player-container {
  background: #C0C0C0;
  border: 2px solid;
  border-color: #DFDFDF #808080 #808080 #DFDFDF;
  width: 500px;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #DFDFDF;
  position: relative;
}

/* Windows 95 Title Bar */
.title-bar {
  background: linear-gradient(to right, #000080, #1084D0);
  color: white;
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.window-controls button {
  background: #C0C0C0;
  border: 1px solid;
  border-color: #DFDFDF #808080 #808080 #DFDFDF;
  width: 22px;
  height: 20px;
  margin-left: 3px;
  font-size: 10px;
  line-height: 10px;
}

/* VHS Glitch Effects */
.player-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(18, 16, 16, 0.1) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 2px;
  pointer-events: none;
  z-index: 10;
}

.visualizer {
  background: black;
  height: 100px;
  position: relative;
  overflow: hidden;
}

/* Playlist */
.playlist {
  background: #FFFFFF;
  border-top: 1px solid #808080;
  padding: 5px;
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #808080;
  padding: 3px;
  font-size: 10px;
}

#tracklist li {
  display: flex;
  justify-content: space-between;
  padding: 3px;
  border-bottom: 1px solid #DFDFDF;
}

.delete {
  background: none;
  border: none;
  cursor: pointer;
}

/* Controls */
.controls {
  background: #C0C0C0;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

button {
  background: #C0C0C0;
  border: 1px solid;
  border-color: #DFDFDF #808080 #808080 #DFDFDF;
  padding: 5px 10px;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  cursor: pointer;
}

.playhead {
  flex-grow: 1;
  height: 10px;
  -webkit-appearance: none;
  background: #00FF00;
  outline: none;
}

/* Glitch Animation */
@keyframes glitch {
  0% { transform: none; }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: none; }
}

.player-container {
  animation: glitch 1s infinite alternate-reverse;
}
