body{
  font-family: 'Titillium Web', sans-serif;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8f5f1 50%, #ffffff 100%);
  background-attachment: fixed;
  position: relative;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  height: 512px;
  max-height: 512px;
}

body::before{
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(0, 168, 89, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(247, 148, 29, 0.05) 0%, transparent 40%);
  z-index: -1;
  animation: subtlePulse 8s ease-in-out infinite;
}

@keyframes subtlePulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Contenedor dividido en 2 columnas */
.container-split{
  display: flex;
  width: 100%;
  min-height: auto;
  height: auto;
}

.column-left{
  width: 50%;
  padding: 10px;
}

.column-right{
  width: 50%;
  padding: 10px;
}

.roulette-wrapper{
  position:relative;
  display:flex;
  align-items:center;
  width:100%;
  height: 400px;
  margin:0 auto;
  overflow:hidden;
  padding:0;
  border:3px solid #00a859;
  border-radius:15px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 168, 89, 0.2);
  transition: box-shadow 0.3s ease;
}

.roulette-wrapper:hover {
  box-shadow: 0 6px 20px rgba(0, 168, 89, 0.3);
}

/* Marco decorativo corporativo */
.roulette-wrapper::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  border-radius:15px;
  background: linear-gradient(to right, transparent, rgba(0, 168, 89, 0.05), transparent);
  z-index:0;
  pointer-events:none;
}

.roulette-wrapper .selector{
  top:50%;
  width:100%;
  transform:translate(0%,-50%);
  position:absolute;
  z-index:2;
  display:flex;
  flex-direction:row;
  justify-content:space-between;
  align-items:center;
}

.roulette-wrapper .selector::before{
  content:'';
  width:0;
  height:0;
  border-top:25px solid transparent;
  border-bottom:25px solid transparent;
  border-left:35px solid #f7941d;
  margin-left:-3px;
  filter: drop-shadow(0 2px 4px rgba(247, 148, 29, 0.4));
}

.roulette-wrapper .selector::after{
  content:'';
  width:0;
  height:0;
  border-top:25px solid transparent;
  border-bottom:25px solid transparent;
  border-right:35px solid #f7941d;
  margin-right:-3px;
  filter: drop-shadow(0 2px 4px rgba(247, 148, 29, 0.4));
}

.roulette-wrapper .wheel{
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
}

.roulette-wrapper .wheel .row{
  display:flex;
  flex-direction:column;
  width:100%;
}

.roulette-wrapper .wheel .row .card{
  height:80px;
  width:100%;
  min-height:80px;
  max-height:80px;
  margin:0;
  border-radius:0;
  border:none;
  border-bottom:1px solid #e0e0e0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1em;
  font-weight:600;
  box-shadow: none;
  text-align:center;
  padding:15px;
  line-height:1.2;
  box-sizing:border-box;
  flex-shrink:0;
  overflow:hidden;
  word-wrap:break-word;
}

.card.white{
  background: #ffffff;
  color: #003d6d;
  border-color: #00a859;
}

.card.green{
  background: linear-gradient(135deg, #e8f5f1 0%, #f0faf5 100%);
  color: #003d6d;
  border-color: #00a859;
}

*{
  box-sizing:border-box;
}

/* Contenedor del ganador */
.winner-container{
  position:relative;
  margin:40px auto;
  width:80%;
  max-width:600px;
  padding:30px;
  text-align:center;
  background: #ffffff;
  border:3px solid #00a859;
  border-radius:15px;
  box-shadow: 0 6px 20px rgba(0, 168, 89, 0.2);
}

.winner-text{
  font-size:2.5em;
  font-weight:bold;
  padding:30px;
  border-radius:15px;
  animation:celebrate 1s infinite;
  position:relative;
  z-index:1;
}

@keyframes celebrate{
  0%, 100%{
    background: linear-gradient(135deg, #e8f5f1 0%, #ffffff 100%);
    color: #00a859;
  }
  50%{
    background: linear-gradient(135deg, #fff5ed 0%, #ffffff 100%);
    color: #f7941d;
  }
}

/* Confeti */
.confetti{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  pointer-events:none;
}

.confetti::before,
.confetti::after{
  content:'🎉';
  position:absolute;
  font-size:3em;
  animation:float 3s infinite;
}

.confetti::before{
  left:10%;
  top:20%;
  animation-delay:0s;
}

.confetti::after{
  right:10%;
  top:20%;
  animation-delay:1s;
}

@keyframes float{
  0%, 100%{
    transform:translateY(0) rotate(0deg);
  }
  50%{
    transform:translateY(-20px) rotate(180deg);
  }
}

/* Botones estilo corporativo */
button{
  position: relative;
  padding: 18px 40px;
  font-size: 1.3em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  background: linear-gradient(135deg, #00a859 0%, #00c569 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 168, 89, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
  font-family: 'Titillium Web', sans-serif;
}

button::before{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

button:hover::before{
  left: 100%;
}

button:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 89, 0.4);
  background: linear-gradient(135deg, #008f4a 0%, #00a859 100%);
}

button:active{
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 168, 89, 0.3);
}

button:disabled{
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: #cccccc;
}
