/* === Layout mobile === */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #1a1a2e, #162447);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.wheel-container {
  text-align: center;
  width: 100%;
  max-width: 400px;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
}

#wheel-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* carré responsive */
  margin: 0 auto 20px auto;
}

#wheel {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  border-radius: 50%;
}

#hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20%;
  height: 20%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#pointer {
  position: absolute;
  top: -5%;
  left: 50%;
  width: 15%;
  transform: translateX(-50%);
  pointer-events: none;
}

#spin-btn {
  width: 80%;
  padding: 15px;
  font-size: 1.2em;
  font-weight: bold;
  background: #ffce00;
  color: #000;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 10px;
}

#spin-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
}

#result {
  font-size: 1em;
  margin-top: 10px;
  min-height: 50px;
}

/* Confetti canvas */
#confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

