body {
  font-family: 'Cinzel', serif;
  text-align: center;
  margin: 0;
  padding: 20px;
  color: #5b3924;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(to bottom right, #f0e2c2, #c2a86f);
}

h1 {
  margin-bottom: 20px;
  font-size: 48px;
  text-shadow: 2px 2px 5px #a1886b;
}

.formulario {
  margin-bottom: 20px;
}

input, select {
  padding: 8px;
  margin: 5px;
  border: 2px solid #8b5c2d;
  background: #fff7e6;
  border-radius: 5px;
  font-family: 'Cinzel', serif;
}

button {
  padding: 8px 12px;
  margin: 5px;
  cursor: pointer;
  background: #8b5c2d;
  color: #fff7e6;
  border: none;
  border-radius: 5px;
  font-family: 'Cinzel', serif;
  transition: background 0.3s;
}

button:hover {
  background: #a17143;
}

#wheel {
  background: #fff7e6;
  border: 12px solid #5b3924;
  border-radius: 50%;
  display: block;
  margin: 20px auto 0 auto;
  box-shadow: 0px 0px 20px 5px #a1886b;
}

#lista {
  margin-bottom: 20px;
}

#lista div {
  margin: 5px;
}

#spinBtn {
  margin-top: 30px;
  z-index: 2;
  position: relative;
}

#historial {
  margin-top: 30px;
}

#historialLista {
  list-style: none;
  padding: 0;
}

#historialLista li {
  background: #e6d2b3;
  margin: 5px auto;
  padding: 5px;
  width: 200px;
  border-radius: 5px;
}

.wheel-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
  z-index: 1;
}

#resplandor {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0px 0px gold;
  opacity: 0;
  transition: opacity 0.5s, box-shadow 0.5s;
}

#resultadoVentana {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #fef3d9;
  border: 3px solid #5b3924;
  border-radius: 10px;
  padding: 20px 30px;
  display: none;
  box-shadow: 0 0 20px #8b5c2d;
  z-index: 10;
}

#cerrarResultado {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
}

#resultadoTexto {
  font-size: 24px;
  margin-top: 10px;
  color: #5b3924;
}
