.victory-banner {
  border-bottom: 2px solid #48c774;
  position: relative;
  padding-bottom: 1.5rem;
}

.victory-banner::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: #ffdd57;
  border-radius: 2px;
}

.box.has-shadow {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.victory-icon {
  animation: pulse 5s infinite;
}

.stats-summary {
  border-radius: 8px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.08);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

#play-again-button {
  box-shadow: 0 4px 14px rgba(72, 199, 116, 0.4);
  transition: all 0.3s ease;
}

#play-again-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(72, 199, 116, 0.5);
}

/* Confetti animation with emojis */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 40px;
  height: 40px;
  top: -60px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: bouncy-fall linear infinite;
}

@keyframes bouncy-fall {
  0% {
    transform: translateY(-100px) translateX(0) rotate(0deg);
    opacity: 1;
  }
  20% {
    transform: translateY(calc(20vh)) translateX(20px) rotate(180deg);
  }
  40% {
    transform: translateY(calc(40vh)) translateX(-30px) rotate(360deg);
  }
  60% {
    transform: translateY(calc(60vh)) translateX(25px) rotate(540deg);
  }
  80% {
    transform: translateY(calc(80vh)) translateX(-15px) rotate(640deg);
  }
  100% {
    transform: translateY(calc(100vh + 150px)) translateX(10px) rotate(720deg);
    opacity: 0.6;
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}