* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

#game-container {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  text-align: center;
}

#onions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.onion {
  cursor: pointer;
  transition: transform 0.2s;
}

.onion:hover {
  transform: scale(1.1);
}

.onion:active {
  transform: scale(0.95);
}

.onion img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

#result {
  font-size: 24px;
  font-weight: bold;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.win {
  color: #2ecc71;
  animation: bounce 0.5s;
}

.lose {
  color: #e74c3c;
  animation: shake 0.5s;
}

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

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

@media (max-width: 480px) {
  .onion img {
    width: 80px;
    height: 80px;
  }
  
  #onions {
    gap: 15px;
  }
  
  #result {
    font-size: 20px;
  }
}

