body {
  margin: 0;
  font-family: sans-serif;
  background: black;
  color: white;
  overflow: hidden;
}

.tela-inicial, .tela-sorteio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 20px;
  text-align: center;
}

.tela-inicial {
  background-image: url('assets/images/background_inicial.jpg');
  background-size: cover;
}

.tela-sorteio {
  background-image: url('assets/images/background_inicial.jpg');
  background-size: cover;
  display: none;
}

.botao {
  background: transparent;
  background-image: url('assets/images/botao.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 180px;
  height: 65px;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: white;
  font-family: "Comic Sans MS", cursive;
  font-weight: bold;
  text-shadow: 2px 2px 0px black, -2px -2px 0px black, 2px -2px 0px black, -2px 2px 0px black;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrossel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 80px;
  height: 220px;
}

.carrossel {
  display: flex;
  transition: transform 2s ease-out;
  position: relative;
}

.card {
  min-width: 200px;
  height: 200px;
  margin: 0 10px;
  background-image: url('assets/images/card_nome.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  border-radius: 12px;
  position: relative;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.card.sorteado {
  border: 4px solid gold;
  box-shadow: 0 0 25px gold;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 25px gold; }
  50% { box-shadow: 0 0 35px gold, 0 0 45px gold; }
  100% { box-shadow: 0 0 25px gold; }
}

#popup {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: gold;
  padding: 20px 40px;
  color: black;
  font-size: 24px;
  border-radius: 10px;
  display: none;
  z-index: 9999;
}

#contador {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
}

#contadorParticipantes {
  margin-top: 10px;
  font-weight: bold;
}

#containerGanhadores {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  padding: 10px;
  border-radius: 10px;
  width: 320px;
  max-height: 170px;
  overflow-y: auto;
}

#listaGanhadores {
  list-style: none;
  margin: 0;
  padding: 0;
}

#listaGanhadores li {
  color: white;
  margin: 5px 0;
  padding: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 5px;
}

/* Estilos para opciones.php */
.admin-body {
  background: url("../assets/images/background_inicial.jpg") no-repeat center center fixed;
  background-size: cover;
  color: white;
  font-family: sans-serif;
  padding: 30px;
  min-height: 100vh;
}

.admin-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0,0,0,0.7);
  padding: 20px;
  border-radius: 10px;
}

.bloqueado {
  background: #222;
  margin: 10px auto;
  padding: 10px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Estilos para login */
.login-container {
  background: rgba(0,0,0,0.7);
  padding: 30px;
  border-radius: 10px;
  width: 300px;
  margin: 0 auto;
}

.login-title {
  margin-bottom: 20px;
  color: white;
}
