body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  min-height: 100vh;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 { margin: 10px 0; color: #333; }

/* Layout */
.main-container {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  width: 100%;
}

/* Wheel & arrow */
.wheel-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.arrow {
  width: 0; height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 40px solid rgb(0, 0, 0);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 20px;
}

canvas {
  background: transparent;
  border-radius: 50%;
  max-width: 100%;
  height: auto;
}

button {
  background: #ff4b2b;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}
button:hover { background: #ff6a3d; }

/* Input Section */
.input-container {
  width: 100%;
  max-width: 400px;
}
.input-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}
.input-bar input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}
.input-bar button {
  background: #43aa8b;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 6px;
}
.item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.item-list li {
  background: #fff;
  margin: 6px 0;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-size: 15px;
}
.item-options {
  display: flex;
  gap: 8px;
  align-items: center;
}
.item-options button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}
.delete-btn { color: red; }
.disable-btn { color: #333; }

/* Winner Popup */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.popup-content {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  animation: popupScale 0.5s ease;
  max-width: 90%;
  font-size: 22px;
  font-weight: bold;
}
@keyframes popupScale {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* SEO Section */
.seo-section {
  margin-top: 40px;
  max-width: 950px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: left;
  line-height: 1.6;
}
.seo-section h2, .seo-section h3 { color: #333; margin-top: 20px; }

@media(max-width: 768px) {
  .main-container { flex-direction: column; }
  .input-container { max-width: 100%; }
}
