body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  background-color: #f5f5f5;
  padding: 20px;
}
h1 {
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 800px;
}
.input-section {
  width: 100%;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#namesInput {
  width: 80%;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 5px;
  margin-bottom: 15px;
}
.btn {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 5px;
}
.btn:hover {
  background-color: #45a049;
}
.btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}
.wheel-container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}
.pointer {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 40px solid #e74c3c;
  z-index: 10;
}
.result {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
  min-height: 40px;
  color: #333;
}
.name-list {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.name-list h3 {
  margin-bottom: 10px;
}
.name-item {
  margin: 5px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.selected {
  text-decoration: line-through;
  color: #888;
}
@media (max-width: 600px) {
  .wheel-container {
    width: 300px;
    height: 300px;
  }
  h1 {
    font-size: 24px;
  }
}
