* {
  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;
  padding: 20px;
}

.game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.points-display {
  font-size: 36px;
  font-weight: 700;
  color: #000;
}

.slot-machine {
  display: flex;
  gap: 15px;
  background: #000;
  padding: 30px;
  border-radius: 12px;
}

.reel {
  width: 100px;
  height: 120px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.symbol {
  font-size: 64px;
  user-select: none;
  transition: transform 0.1s;
}

.reel.spinning .symbol {
  animation: spin 0.1s linear infinite;
}

@keyframes spin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

.button-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.spin-button,
.auto-spin-button {
  padding: 18px 60px;
  font-size: 20px;
  font-weight: 600;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.1s, background 0.2s;
  font-family: 'Noto Sans', sans-serif;
  min-width: 200px;
}

.spin-button:hover,
.auto-spin-button:hover {
  transform: scale(1.02);
}

.spin-button:active,
.auto-spin-button:active {
  transform: scale(0.98);
}

.spin-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.auto-spin-button.active {
  background: #333;
}

.result {
  font-size: 28px;
  font-weight: 600;
  min-height: 40px;
  text-align: center;
}

.result.win {
  color: #000;
  animation: celebrate 0.5s ease-out;
}

@keyframes celebrate {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.legend-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.legend-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.legend-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  background: #f5f5f5;
  border-radius: 6px;
}

.legend-symbol {
  font-size: 32px;
}

.legend-name {
  font-size: 12px;
  color: #666;
}

.legend-points {
  font-size: 11px;
  font-weight: 600;
  color: #000;
}

@media (max-width: 480px) {
  .slot-machine {
    gap: 10px;
    padding: 20px;
  }
  
  .reel {
    width: 80px;
    height: 100px;
  }
  
  .symbol {
    font-size: 48px;
  }
  
  .button-container {
    gap: 10px;
  }
  
  .spin-button,
  .auto-spin-button {
    padding: 15px 40px;
    font-size: 18px;
    min-width: 150px;
  }
  
  .result {
    font-size: 22px;
  }
  
  .legend-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .legend-symbol {
    font-size: 28px;
  }
  
  .legend-name {
    font-size: 11px;
  }
  
  .legend-points {
    font-size: 10px;
  }
  
  .points-display {
    font-size: 28px;
  }
}