body {
  background-color: #1b1b12;
  color: white;
  text-align: center;
  margin: 0;
  padding: 40px;
}

h1 {
  margin-bottom: 30px;
  font-size: 2.5rem;
  letter-spacing: 2px;
}

.tracklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.track {
  width: 80%;
  padding: 20px;
  background: #1e1c00;
  border-radius: 0%;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  font-size: 1.2rem;
}

.track:hover {
  background: #000000;
  transform: scale(1.02);
}

.container {
  display: flex;
  height: 100vh;
}

.left, .right {
  flex:1;
}

.left img {
  width: 100%;
  height: 100vh;
  display: flex;
  object-fit: cover;
}
.right {
  background-color: rgb(24, 24, 24);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
}

.scrubbar {
  display: flex;
  padding: 20px;
  align-items: center;
  gap: 10px;
  color: rgb(255, 255, 255);
}

#timeline {
  -webkit-appearance: none; /* remove default style this is not a bug ITS NORMAL */
  width: 100%;
  height: 6px; /* track height */
  background: #ccc; /* track background */
  border-radius: 3px;
}

/* The track (bar behind the thumb) */
#timeline::-webkit-slider-runnable-track {
  height: 6px;
  background: #827d46; /* default bar color */
  
}

/* The thumb (the draggable handle) */
#timeline::-webkit-slider-thumb {
  -webkit-appearance: none; /* needed */
  height: 20px;
  width: 20px;
  background: #e8d97e; /* thumb color */
  border-radius: 50%;
  cursor: pointer;
  margin-top: -7px;
}

#playBtn {
  color:#000000;
  padding: 10px;
}

#playBtn {
  background: #aba161;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 24px;
  color: white;
}

#playBtn span {
  pointer-events: none; /* ensures clicks go to button */
}

/* =========================
   MOBILE LAYOUT
========================= */
@media (max-width: 768px) {
  body {
    padding: 20px;
    text-align: left;
  }

  .container {
    flex-direction: column; /* stack everything vertically */
    height: auto;
  }

  .left, .right {
    width: 100%;
    flex: none;
    height: auto;
  }

  .left img {
    width: 100%;
    height: auto;
    margin-bottom: 20px; /* space between image and scrubbar */
  }

  .scrubbar {
    flex-direction: column;
    align-items: stretch;
    padding: 15px 0;
    gap: 10px;
    margin-bottom: 20px; /* space between scrubbar and tracklist */
  }

  #playBtn {
    width: 100%;
    font-size: 18px;
    padding: 12px 0;
  }

  .right {
    padding: 20px;
  }

  .tracklist {
    gap: 15px;
    width: 100%;
    align-items: stretch;
  }

  .track {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
  }
}

/* =========================
   PASSWORD PROTECTION
========================= */
.password-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1b1b12;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#vault-title {
  color: white;
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-align: center;
}
.password-container {
  background: #1a1a1a;
  padding: 40px;
  border-radius: 0px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  min-width: 300px;
}

.password-container h2 {
  color: white;
  margin-bottom: 20px;
}

#password-input {
  padding: 12px;
  font-size: 16px;
  border: 2px solid #333;
  border-radius: 0px;
  background: #2a2a2a;
  color: white;
  width: 250px;
  margin-bottom: 20px;
  outline: none;
}

#password-input:focus {
  border-color: #555;
}

#submit-password {
  padding: 12px 30px;
  font-size: 16px;
  background: #333;
  color: white;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  transition: background 0.3s;
  font-family: auto;
}

#submit-password:hover {
  background: #444;
}

.error-message {
  color: #ff6b6b;
  margin-top: 10px;
  font-size: 14px;
}
