
@font-face {
  font-family: 'Athletic';
  src: url('Athletic.TTF') format('truetype');
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: sans-serif;
  background: transparent;
  color: white;
  overflow: hidden;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -100;
  pointer-events: none;
}

#player-ui {
  position: absolute;
  bottom: 5%;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
}

#track-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

#album-cover {
  width: 48px;
  height: 48px;
  border-radius: 6px;
}

#track-title {
  letter-spacing: 0.8px;
  font-family: 'Athletic', sans-serif;
  font-size: 1.2rem;
  font-weight: normal;
}

#track-artist {
  font-family: 'Helvetica', sans-serif;
  font-size: 0.85rem;
  letter-spacing: -0.6px;
  opacity: 0.8;
}

#progress-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Helvetica', sans-serif;
  font-size: 0.75rem;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}

#seek-bar {
  flex-grow: 1;
  max-width: 60%;
  appearance: none;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
}

#seek-bar::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -3px;
}

#controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.control-btn, .play-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.control-btn img,
.play-btn img {
  width: 40px;
  height: 40px;
}

#hint {
  cursor: pointer;
}

#tracklist-drawer {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  color: white;
  transition: bottom 0.3s ease;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
  display: none;
}

#tracklist-drawer.open {
  bottom: 0;
  display: block;
}

#drawer-header {
  font-family: 'Athletic', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: 0.8px;
}

#tracklist {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

#tracklist li {
  padding: 10px 0;
  font-family: 'Helvetica', sans-serif;
  letter-spacing: -0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

#hint {
  font-size: 0.75rem;
  text-align: center;
  margin-top: 12px;
  opacity: 0.5;
  color: white;
  font-family: 'Helvetica', sans-serif;
  letter-spacing: -0.5px;
}

#close-drawer {
  float: right;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.6;
}

#close-drawer:hover {
  opacity: 1;
}
