/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




/* Reset básico */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    }


   
     /* Ajuste do container para alinhar os elementos à esquerda */
.container {
    display: flex;
    width: 80%;
    max-width: 1200px;
    align-items: center;
    justify-content: flex-start; /* Alinha os itens à esquerda */
    margin: 0; /* Remove o centralização automática */
    padding-left: 200px; /* Opcional: adiciona um espaço da borda esquerda */
}
    

/* Caixa de input permanece igual (fica à esquerda dentro do container) */
.input-area {
    display: flex;
    flex-direction: column;
    /*flex: 1;*/
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-right: 100px;
    align-items: center; /* centraliza horizontalmente */
    width: 350px !important; /* Definindo uma largura maior para o quadro */
}

/*.input-area {
    
    
    
  }*/
    
    .input-area h2 {
    text-align: center;
    }
    
    .input-area textarea {
      /*aqui aumenta a largura*/
    width: 100%;
    height: 300px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
    }
    


    
   /* O círculo continua com o tamanho ajustado e é empurrado para a direita */



   .circle {
    width: 700px;
    height: 550px;
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s;
    margin-left: auto;
    position: relative; /* Adicionado para que o filho absoluto seja relativo a este elemento */
}


    
    
    .circle:active {
    transform: scale(0.95);
    }
    
    footer {
    margin-top: 20px;
    text-align: center;
    }

   




  






@keyframes blender-rotate {
   from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }          
}




.names-container {
  position: absolute;
  top: 0;
  left: 0;
  /*nao é aqui*/
  width: 100%;
  height: 100%;
  animation: blender-rotate 10s linear;
  -webkit-animation: blender-rotate 10s linear;
}




.timer-container {
  position: absolute;
  top: 20px !important; /* Reduzi a distância do topo */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 24px;
  color: #ffd700;
  background: rgba(0,0,0,0.7); /* Fundo para melhor visibilidade */
  padding: 8px 20px;
  border-radius: 15px;
  min-width: 100px;
  text-align: center;
}


.custom-timer {
  top: 40px !important; /* ou o valor que desejar */
  /* Se necessário, defina outras propriedades que assegurem a visualização completa do timer */
  min-width: 80px; /* por exemplo, para garantir que os números sejam exibidos por completo */
  padding: 5px;
}















  
  /* Opcional: estilo do vencedor */
  .winner {
    color: black;
    animation: winnerGlow 1.5s ease-in-out infinite;
  }

  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #758baf; /* Tom de grafite claro MUDEI PARA AZUL*/
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    z-index: 1000; /* Garante que fique acima dos outros elementos */
  }



  
  
  @keyframes winnerGlow {
    0% { text-shadow: 0 0 10px #FFD700; }
    50% { text-shadow: 0 0 20px #FFD700, 0 0 30px #FFD700; }
    100% { text-shadow: 0 0 10px #FFD700; }
  }
  
 
  
  
/* Estilo dos confetes */
.confetti {
  border-radius: 50%;
}

/*.confetti {*/
  /*position: absolute;*/
 /* transition: transform 2s ease-out, opacity 2s ease-out;*/
 /*  Garante que os confetes sejam renderizados */
 /* will-change: transform, opacity; */


/* Responsividade para smartphones */
@media only screen and (max-width: 600px) {
  /* Altera a disposição do container para empilhar os elementos verticalmente */
  .container {
    flex-direction: column;
    padding-left: 0;
    width: 95%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
  }
  
  /* Ajusta a área de input para ocupar toda a largura disponível */
  .input-area {
    margin: 20px 0;
    width: 100%;
  }
  
 /* Adicione estas regras para o container principal */
.circle {
  position: relative; /* Necessário para o posicionamento absoluto do timer */
  /* Mantenha as outras propriedades existentes */
}
  
  /* Ajusta o cabeçalho para que ocupe a largura total e fique centralizado */
  .site-header {
    position: static;
    width: 100%;
    text-align: center;
  }
}

/*deep seek novo código*/
/* Adicione ao style.css */

/* Ajuste a altura da máquina para preencher o círculo */
.slot-machine {
  height: 100%;
  width: 100%;
  padding-top: 60px; /* Espaço para o timer */
}

.slots-container {
  display: flex;
  flex-direction: column;
}

.slot-cell {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s;
}

.timer-top {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: #ffd700;
  z-index: 2;
}

.spin-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 30px;
  font-size: 18px;
  background: #27ae60;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: all 0.3s;
}

.spin-button:hover {
  background: #219a52;
  transform: translateX(-50%) scale(1.05);
}

.winner-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: #ffd700;
  text-shadow: 3px 3px 3px rgba(0,0,0,0.8);
  z-index: 3;
  animation: winnerScale 1s ease-out;
}

@keyframes winnerScale {
  from { transform: translate(-50%, -50%) scale(0); }
  to { transform: translate(-50%, -50%) scale(1); }
}

/* Espaçamento ajustável para o footer */
footer {
  margin-top: 50px; /* Ajuste este valor conforme precisar */
  padding: 5px 0;  /* Espaçamento interno vertical */
  background-color: #f4f4f4; /* Cor de fundo opcional para destaque */
  text-align: center;
  width: 100%;
  position: relative;
}

/* Para aumentar o espaço dinamicamente caso necessário, basta editar o margin-top acima */

.timer-selection {
  margin: 20px auto;
  text-align: center;
  font-size: 18px;
  width: 100%;
}

.timer-selection p {
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
}

.timer-btn {
  margin: 0 10px;
  padding: 10px 15px;
  background-color: #758baf;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.timer-btn:hover {
  background-color: #5a7293;
}
