* {
  font-family: 'Inter', sans-serif;
}

.font-fredoka {
  font-family: 'Fredoka', cursive;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, #ef4444 0%, #f97316 100%);
  outline: none;
  border-radius: 10px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  background: white;
  border: 4px solid #ef4444;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  background: white;
  border: 4px solid #ef4444;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ef4444;
  top: -10px;
  animation: confetti-fall 3s linear forwards;
}

.confetti:nth-child(2n) {
  background: #f97316;
}

.confetti:nth-child(3n) {
  background: #fbbf24;
}

.confetti:nth-child(4n) {
  background: #22c55e;
  width: 8px;
  height: 8px;
}

.confetti:nth-child(5n) {
  background: #3b82f6;
  width: 12px;
  height: 12px;
}

@keyframes confetti-fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
  height: 40px;
}

button {
  transition: all 0.2s ease;
}

button:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
}