.container_bingo {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
}

.left-panel,
.right-panel {
  flex: 1;
  padding: 20px;
  background-color: #2e2e4e;
  margin: 10px;
  border-radius: 10px;
}

.center-panel {
  flex: 2;
  padding: 20px;
  background-color: #39395c;
  margin: 10px;
  border-radius: 10px;
  text-align: center;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
  margin-top: 20px;
}

.number-grid div {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #555;
  border-radius: 50%;
  font-size: 14px;
}

.drawn {
  background-color: yellow;
}

#draw-number {
  font-size: 80px;
  font-weight: bold;
  margin: 20px auto;
  line-height: 100px;
}

.button-bingo {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #00aaff;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}

button:hover {
  background-color: #0088cc;
}

.cartelas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.leaderboard ul,
.cartelas ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leaderboard li,
.cartelas li {
  margin: 5px 0;
  padding: 10px;
  background-color: #3d3d5c;
  border-radius: 5px;
}

.leaderboard {
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #345a8b;
  padding: 10px;
  background-color: #ffd596;
  border-radius: 5px;
}

.saldo {
  margin-top: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.saldo p {
  padding: 10px;
  background-color: #3d3d5c;
  border-radius: 5px;
}

.cartela {
  width: calc(50% - 16px);
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #391707;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 1px 0;
  height: auto;
  max-height: 350px;
}

.cartela_rodape {
  background: #007bff;
  color: #fff;
  font-size: 0.9em;
  font-weight: bold;
  padding: 8px;
  border-radius: 5px;
}

.cartela_numeros {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
}

@media (min-width: 1024px) {
  .cartela_numeros {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .cartelas_geradas {
    justify-content: space-between;
  }

  .cartela {
    width: calc(20.33% - 16px);
    max-height: none;
  }

  .cartela_numeros div {
    width: 28px;
    height: 28px;
  }
}

.cartelas_geradas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 0px;
}

.cartela_numeros div {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #000;
  font-weight: bold;
  color: #000;
  border-radius: 4px;
}

.cartela_usuario {
  font-size: 1.1em;
  font-weight: bold;
  padding: 10px;
}

.cartela_cupom {
  font-size: 0.9em;
  padding: 5px;
}

.cabecalho {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.rodape {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  margin-bottom: 0%;
}

.modal-header-cartela {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
}

.marked {
  background-color: #00aaff;
  color: white;
}

.cartela .marked {
  background-color: green;
  color: white;
}

.number {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #555;
  border-radius: 50%;
  font-size: 14px;
  color: white;
}

.number.drawn {
  background-color: #00aaff;
  color: white;
}

.number.highlight {
  background-color: #ffdd44;
}

.winners {
  margin-top: 20px;
  padding: 10px;
  background-color: #4caf50;
  color: white;
  border-radius: 5px;
}

#prizes {
  background-color: #1e293b;
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

#prizes h3 {
  margin: 0 0 15px;
  font-size: 1.8rem;
  text-align: center;
  color: #ffdd57;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#prizes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#prizes li {
  background-color: #334155;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

#prizes li:hover {
  transform: translateY(-2px);
  background-color: #475569;
}

#prizes li strong {
  color: #93c5fd;
}

#prizes li span {
  color: #facc15;
  font-size: 1.5rem;
  font-weight: bold;
}

.speaker {
  top: 10px;
  left: 10px;
  font-size: 30px;
  cursor: pointer;
  z-index: 10;
}

.speaker.disabled {
  text-decoration: line-through;
}

#draw-number {
  perspective: 1000px;
}

#draw-number {
  perspective: 1000px;
}

#currentDraw {
  display: inline-block;
  font-size: 7rem;
  font-weight: bold;
  color: rgb(166, 255, 0);
  transform-style: preserve-3d;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.rotate-3d {
  animation: rotate3d 1s ease-in-out;
}

@keyframes rotate3d {
  0% {
    transform: rotateX(0deg);
    opacity: 1;
  }

  50% {
    transform: rotateX(180deg);
    opacity: 0;
  }

  100% {
    transform: rotateX(360deg);
    opacity: 1;
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px rgb(11, 143, 231), 0 0 10px rgb(11, 169, 231);
  }

  50% {
    text-shadow: 0 0 10px rgb(0, 204, 255), 0 0 20px rgb(11, 231, 58);
  }

  100% {
    text-shadow: 0 0 5px rgb(0, 195, 255), 0 0 10px rgb(11, 231, 58);
  }
}

.glowing-text {
  color: rgb(94, 255, 0);
  animation: glow 1s infinite alternate;
}
