
* {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
}

::selection {
  background: white;
  color: black;
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glow {
  box-shadow: 0 0 12px rgba(255 255 255 / 0.2), 0 0 20px rgba(255 255 255 / 0.08);
  transition: box-shadow 0.3s ease;
}

.glow:hover {
  box-shadow: 0 0 20px rgba(255 255 255 / 0.4), 0 0 32px rgba(255 255 255 / 0.1);
}

#pfp {
  width: 10rem;
  height: 10rem;
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(255 255 255 / 0.3);
  border: 2px solid rgba(255 255 255 / 0.4);
  transition: transform 0.3s ease;
  margin-bottom: 1.5rem;
}
#pfp:hover {
  transform: scale(1.05);
}


#track-info {
  color: rgba(255 255 255 / 0.8);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

#progress-container {
  width: 100%;
  height: 8px;
  background: rgba(255 255 255 / 0.2);
  border-radius: 9999px;
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

#progress {
  width: 0%;
  height: 100%;
  background: white;
  border-radius: 9999px;
  transition: width 0.1s linear;
}

.player-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 2rem;
  transition: color 0.25s ease;
  filter: grayscale(100%);
}
button:hover {
  color: #eee;
}

footer {
  text-align: center;
  padding: 1rem 0;
  color: rgba(255 255 255 / 0.3);
  font-size: 0.75rem;
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  min-height: calc(100vh - 8rem);
}

#center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  gap: 0.5rem;
}

#music-player {
  max-width: 32rem;
  background: black;
  padding: 1.5rem;
  border-radius: 2rem;
  border: 1px solid black;
  user-select: none;
  margin-top: auto;
  margin-bottom: 2rem;
}


#waveform {
  width: 100%;
  height: 40px;
  margin-top: 1rem;
  border-radius: 1rem;
  background: transparent;
}

.link-button {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin: 0.5rem 0;
  padding: 0;
}

.link-button img {
  filter: invert(1);
  width: 40px;
  height: 40px;
}

.link-button:hover {
  transform: scale(1.1);
}

#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
  filter: grayscale(100%) brightness(0.4) contrast(1.2);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

#background-video.playing {
  opacity: 0.8;
}

#center-content {
  position: relative;
  z-index: 10;
}

#music-player {
  position: relative;
  z-index: 10;
}

footer {
  position: relative;
  z-index: 10;
}
