body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  color: #333;
}

.container {
  background-color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
  width: 90%;
}

h1 {
  margin-bottom: 25px;
  color: #2c3e50;
}

.selector-box {
  margin-bottom: 20px;
}

select, button {
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin: 5px;
  outline: none;
}

button {
  background-color: #3498db;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  font-weight: bold;
}

button:hover {
  background-color: #2980b9;
  transform: scale(1.05);
}

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

.roulette-container {
  position: relative;
  display: inline-block;
  margin: 20px 0;
}

#pointer {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 30px;
  color: #e74c3c;
  z-index: 10;
}

#roulette-canvas {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

#result-container {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 15px;
  transition: opacity 0.5s;
}

#result-container.hidden {
  display: none;
  opacity: 0;
}

#result-text {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

#result-text span {
  color: #e67e22;
}

#result-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
