body {
  margin: 0;
  height: 70vh; 
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("./background.webp");
  background-size: cover;
  overflow: hidden;
  position: relative;
  font-family: "Montserrat", sans-serif;
}

.container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.iframe {
  width: 14vw;
  height: 45vh;
  margin-top: 110px; 
}

.winner {
  margin-top: 2px;
  font-size: 50px;
  color: white;
  text-decoration: none;
}

.glow-on-hover {
  width: 150px;
  height: 50px;
  border: none;
  outline: none;
  color: #fff;
  background: #111;
  cursor: pointer;
  position: fixed; 
  top: 0; 
  left: 50%; 
  transform: translateX(-50%); 
  z-index: 2; 
  margin-top: 10px; 
  border-radius: 25px; 
}

.glow-on-hover:before {
  content: '';
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
}

.glow-on-hover:active {
  color: #000;
}

.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:hover:before {
  opacity: 1;
}

.glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

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

.confetti {
  position: absolute;
  opacity: 0.8;
  animation: fall 3s linear infinite;
}

@keyframes fall {
  0% {
      transform: translateY(0) rotate(0);
  }
  100% {
      transform: translateY(100vh) rotate(360deg);
  }
}

#audio-player {
  position: fixed;
  top: 0px; 
  left: 0px;
  z-index: 2; 
  display: flex;
  align-items: center;
  padding: 10px;
}

.audio-button {
  background-color: transparent;
  border: none;
  font-size: 24px; 
  cursor: pointer;
  color: white; 
}

#volume-control {
  position: relative;
}

#volume-slider {
  display: none;
  position: absolute;
  top: 14px;
  left: 40px;
  width: 100px;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 5px;
  outline: none;
  transition: opacity 0.3s ease;
}

#volume-slider.show {
  display: block;
  animation: slide-down 0.3s ease;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #4c00fc; 
  cursor: pointer;
  box-shadow: 0px 0px 10px rgba(76,0,252);
}

#volume-slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #4c00fc;
  cursor: pointer;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
}

@keyframes slide-down {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.winner-container {
  position: relative;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px; 
  border-radius: 10px; 
}

.icon {
  width: 40px; 
  height: 40px; 
  margin: 0 7px; 
}
