/* Main Frontend Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}
.container {
  width: 90%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}
h1 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #f1c40f;
}
input {
  width: 80%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  font-size: 16px;
  color: #fff;
  outline: none;
}
button {
  width: 80%;
  padding: 12px;
  background-color: #e74c3c;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #c0392b;
}
.participants-list {
  margin-top: 20px;
  text-align: left;
}
.draw-section {
  margin-top: 30px;
}
.spinner {
  margin: 20px auto;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #f1c40f;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1.5s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.winner-message {
  font-size: 24px;
  color: #2ecc71;
  animation: fadeIn 1.5s ease-in-out;
}
#drawText {
  font-size: 20px;
  color: #fff;
  margin-top: 20px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
input::placeholder {
  color: #fff;
}
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 80%;
  max-width: 400px;
}
.popup h3 {
  color: #2ecc71;
  font-size: 18px;
}
#popup-close {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#popup-close:hover {
  background-color: #2ecc71;
}
.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #f1c40f;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin-top: 10px;
  animation: spin 1.5s linear infinite;
  margin-left: auto;
  margin-right: auto;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
