/* Fundo natalino */
body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(to bottom, #1b2735, #415a77);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  background-color: #e90a0ac2;
  background-image: url(http://www.transparenttextures.com/patterns/wild-flowers.png);
}

/* Container do jogo */
.container {
  width: 90%;
  max-width: 100%;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

h1 {
  color: #f7a833;
  font-size: 3em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(247, 168, 51, 0.7);
}

#number-display,
#column-display,
#phrase-display {
  font-size: 1.8em;
  margin: 10px 0;
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.5);
}

.buttons {
  margin: 15px 0;
}

/* Estilo dos botões */
button {
  padding: 15px 25px;
  font-size: 1.2em;
  margin: 0 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

#generate-button {
  background-color: #3192d0;
}

#generate-button:hover {
  background-color: #2677a6;
  transform: scale(1.05);
}

#play-button {
  background-color: #2ecc71;
}

#play-button:hover {
  background-color: #27ae60;
  transform: scale(1.05);
}

#pause-button {
  background-color: #e67e22;
}

#pause-button:hover {
  background-color: #d35400;
  transform: scale(1.05);
}

#reset-button {
  background-color: #e83368;
}

#reset-button:hover {
  background-color: #b9264e;
  transform: scale(1.05);
}

/* Estilo do botão Play quando ativo */
#play-button.active {
  background-color: #27ae60; /* Verde mais vibrante */
  box-shadow: 0 0 10px #27ae60;
  transform: scale(1.05);
  animation: pulse 2s infinite;
}

/* Animação pulsante */
@keyframes pulse {
  0% {
    box-shadow: 0 0 5px #27ae60;
  }
  50% {
    box-shadow: 0 0 20px #27ae60;
  }
  100% {
    box-shadow: 0 0 5px #27ae60;
  }
}

/* Seção de números sorteados */
#called-numbers {
  margin-top: 20px;
}

#called-numbers table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  text-align: center;
}

#called-numbers th,
#called-numbers td {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2); /* Bordas transparentes */
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5); /* Fundo transparente */
}

#called-numbers th {
  font-size: 1.5em;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.5);
}

/* Estilo para as bolas */
.numbers span {
  color: white;
  padding: 15px;
  border-radius: 50%;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  margin: 5px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), inset 0 2px 8px rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.numbers span:hover {
  transform: scale(1.2);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.7), inset 0 2px 12px rgba(255, 255, 255, 0.5);
}

/* Estilo para cada coluna */
.column-B {
  background-color: #e74c3c; /* Vermelho */
}

.column-I {
  background-color: #3498db; /* Azul */
}

.column-N {
  background-color: #27ae60; /* Verde */
}

.column-G {
  background-color: #f1c40f; /* Dourado */
}

.column-O {
  background-color: #9b59b6; /* Roxo */
}

/* Responsividade para a tabela */
@media (max-width: 768px) {
  .numbers span {
    width: 50px;
    height: 50px;
    font-size: 1.2em;
  }
}
