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

.bg-gradient-main {
  background: linear-gradient(135deg, #FFF5E6 0%, #FFE4CC 50%, #FFD4B3 100%);
  min-height: 100vh;
}

.wheel-container {
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.wheel {
  transition: transform 0.05s linear;
}

.wheel-idle {
  animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(-1deg); }
  50% { transform: rotate(1deg); }
}

.header-emoji {
  display: inline-block;
  animation: spin 0.5s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-button {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 1rem 3rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

.spin-button:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(255, 107, 107, 0.5);
}

.spin-button:disabled {
  cursor: not-allowed;
  animation: none;
}

.spin-button.spinning {
  animation: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
  }
  50% { 
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.6);
  }
}

.action-button {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.result-modal {
  animation: modalBounce 0.5s ease-out;
}

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

.winner-bounce {
  animation: bounce 0.6s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

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

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

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

.roast-message {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #FF8E53;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #FF6B6B;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .spin-button {
    font-size: 1.25rem;
    padding: 0.875rem 2rem;
  }
  
  h1 {
    font-size: 1.5rem !important;
  }
}