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

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: white;
  font-size: 1.5vw;
  cursor: pointer;
  transition: opacity 1s ease;
}

#enter-text {
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  border-radius: 10px;
  font-size: 1vw;
}

.content {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: white;
}

.tooltip {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px;
  border-radius: 5px;
  font-size: 1.5vw;
  margin: 5px;
  transition: opacity 0.3s;
}

.profile-box {
  border: 2px solid white;
  background-color: rgba(28, 28, 28, 0.6);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: myAnim 2s ease-out forwards;
  transform: translateY(20px);
  opacity: 1;
  max-width: 60vw;
  font-size: 1.2vw;
}

@keyframes myAnim {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

#profile-pic {
    border-radius: 50%;
    border: 5px solid white;
    width: 10vw;
    height: 10vw;
    margin-bottom: 5px;
    transition: transform 0.02s ease; 
}


#profile-pic:hover {
  transform: scale(1.1);
}

#username {
  font-size: 2vw;
  background: linear-gradient(120deg, #b8b8b8, #e6e6e6, #b8b8b8, #5c5c5c);
  background-size: 300%;
  -webkit-background-clip: text;
  color: transparent;
  animation: metallicShimmer 6s ease-in-out infinite, glow 3s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 
               0 0 20px rgba(255, 255, 255, 0.6), 
               0 0 30px rgba(255, 255, 255, 0.4);
}

@keyframes metallicShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4); }
  50% { text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6); }
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.link {
  text-decoration: none;
  color: white;
  font-size: 1vw;
  padding: 10px 20px; 
  border: 2px solid white;
  border-radius: 10px; 
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3)); 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); 
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s; 
  margin-bottom: 10px;
}

.link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

#volume-control {
  -webkit-appearance: none;
  width: 20vw;
  height: 12px;
  background: linear-gradient(90deg, #000000, #4d4d4d, #bfbfbf, #ffffff);
  border-radius: 10px;
  outline: none;
  transition: background 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#volume-control::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border: 2px solid #bfbfbf;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(191, 191, 191, 0.7);
}

#volume-control::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #ffffff;
  border: 2px solid #bfbfbf;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(191, 191, 191, 0.7);
}

.volume-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.volume-label {
  color: white;
  margin-top: 5px;
  font-size: 1vw;
}

.audio-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.song-title {
  font-size: 1.5vw;
  color: white;
  margin-bottom: 10px;
}

#change-song-btn {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 1vw;
  color: white;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
  border: 2px solid white;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#change-song-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.progress-note {
  color: white;
  font-size: 1vw;
  margin: 5px 0;
}

#progress-bar {
  -webkit-appearance: none;
  width: 80%;
  height: 12px;
  background: linear-gradient(90deg, #4d4d4d, #bfbfbf);
  border-radius: 10px;
  outline: none;
  margin: 10px 0;
}

#progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border: 2px solid #bfbfbf;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(191, 191, 191, 0.7);
}

#progress-bar::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #ffffff;
  border: 2px solid #bfbfbf;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(191, 191, 191, 0.7);
}

@media (max-width: 600px) {
  #username {
    font-size: 5vw;
  }

  .profile-box {
    max-width: 90%;
  }

  #profile-pic {
    width: 20vw;
    height: 20vw;
  }

  .song-title {
    font-size: 3vw;

    .link {
    font-size: 2vw;
  }
  }
}
