/* Custom CSS for animations and specific styling */
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

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

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 10px gold;
  }
  50% {
    box-shadow: 0 0 30px #fff700;
  }
}

@keyframes burst {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0.1);
    opacity: 0;
  }
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100px) rotate(0deg);
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
  }
}

/* Trophy styling */
.trophy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(6rem);
  font-size: 3rem;
  animation: glow 1s infinite;
  z-index: 20;
}

/* Confetti styling */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background: red; /* Default, will be overridden by JS */
  animation: confettiFall 3s linear forwards;
  opacity: 0.9;
  z-index: 9999;
}
