
body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #fff;
  font-family: 'Fraunces', serif;
}
#wheel-container {
  position: relative;
  width: 600px;
  height: 600px;
}
canvas {
  display: block;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
#pointer {
  bottom: -20px;
  top: auto;
  transform: translateX(-50%) rotate(180deg);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 30px solid #ffc107;
  z-index: 10;
}
#spin-btn {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  min-width: 300px;
  padding: 16px 48px;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #ff8fa3;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255,143,163,0.4);
}
#resultado {
  margin-top: 20px;
  font-size: 22px;
}

#mensaje-final {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: white;
  padding: 24px 32px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #333;
  opacity: 0;
  transition: all 0.4s ease-out;
  z-index: 20;
}
#mensaje-final.visible {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

#pointer { display: none; }