.container_bingo_inicio {
  max-width: 1200px;
  padding: 10px;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

h1 {
  margin: 0;
  font-size: 36px;
}

.left_bingo,
.right_bingo {
  flex: 1;
  min-width: 500px;
  box-sizing: border-box;
  line-height: 1.2;
  color: #6dff2e;
}

.countdown_bingo {
  font-size: 40px;
  text-align: center;
  margin-bottom: 20px;
}

.prizes {
  text-align: center;
  margin-bottom: 30px;
}

.prizes div {
  margin: 5px 0;
  font-size: 18px;
}

.purchase {
  background-color: #2a2a4e;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.purchase h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.purchase button {
  display: block;
  background-color: #001945;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  width: 100%;
}

.purchase button:hover {
  background-color: #0088cc;
}

.purchase .info {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.5;
}

.bought-bingos {
  background-color: #2a2a4e;
  padding: 10px;
  border-radius: 8px;
}

.bought-bingos h3 {
  font-size: 20px;
}

.bought-bingos ul {
  list-style: none;
  padding: 0;
}

.bought-bingos li {
  margin: 5px 0;
  font-size: 16px;
}

/* Responsivo */
@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }

  .countdown_bingo {
    font-size: 32px;
  }

  .prizes div {
    font-size: 16px;
  }

  .purchase h2 {
    font-size: 20px;
  }

  .purchase button {
    padding: 8px;
    font-size: 14px;
  }

  .bought-bingos h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .left_bingo,
  .right_bingo {
    min-width: 100%;
    line-height: 1.2;
    color: #6dff2e;
  }

  .countdown_bingo {
    font-size: 28px;
  }
}

.div-100 {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
  justify-content: center;
}

.acao-compra {
  padding: 10px;
  background-color: #333;
  border-radius: 50%;
  color: #ffff00;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.div-100r {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  gap: 15px;
}

.quadro-qtd {
  display: flex;
  align-items: center;
  gap: 5px;
}

.bt-menos-mais {
  padding: 5px 10px;
  background-color: #333;
  color: #ffff00;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
}

#quantidade-compra {
  width: 50px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
  background-color: #222;
  color: #ffff00;
}

.input-valor input {
  width: 100px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
  background-color: #222;
  color: #ffffff;
}

.bought-bingos {
  text-align: center;
}

#bingo-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  list-style-type: none;
  padding: 0;
}

.cartela-comprada {
  margin: 10px 0;
  text-align: center;
  box-sizing: border-box;
}

.cartela-comprada h4 {
  color: #00ff22;
  font-size: 18px;
}

.cartela-comprada table {
  width: 100%;
}

.numeros {
  border-collapse: collapse;
  margin: 0 auto;
}

.numeros td {
  width: 30px;
  height: 30px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #000000;
  background-color: #054914;
  color: #ffee00;
  font-weight: bold;
  font-size: 14px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.numeros td:not(:last-child) {
  margin-right: 5px;
}

.promo-bolao {
  background: linear-gradient(45deg, #ffcc00, #ff6600);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  color: white;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  animation: pulse-promo 1.5s infinite alternate;
  position: relative;
}

@keyframes pulse-promo {
  0% {
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.8);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 102, 0, 1);
  }
}

.promo-bolao h4 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(85, 4, 4, 0.8);
  color: white;
  margin-bottom: 15px;
}

.banner-image {
  width: 100%;
  max-width: 340px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;
}

.banner-image:hover {
  transform: scale(1.05);
}

.bingo-cartela {
  background: #fff;
  padding: 10px;
  margin: 15px auto;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 240px;
  /* evita quebrar em telas pequenas */
  text-align: center;
}

.bingo-cartela-cabecalho,
.bingo-cartela-rodape {
  margin: 5px 0;
  font-weight: bold;
  color: #fff;
  background: #111;
  padding: 6px;
  border-radius: 6px;
  font-size: 14px;
}

.bingo-cartela-numeros {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin: 10px 0;
}

.numero-celula {
  background-color: #0066cc;
  color: #00ffcc;
  border-radius: 6px;
  padding: 12px 0;
  font-weight: bold;
  font-size: 16px;
  box-shadow: inset 0 0 2px #000;
  user-select: none;
}

/* Responsivo: reduz o tamanho dos números em telas menores */
@media (max-width: 480px) {
  .numero-celula {
    font-size: 13px;
    padding: 10px 0;
  }

  .bingo-cartela {
    max-width: 90%;
  }
}

.form-compra-automatica .modal-body {
  background: #181818;
  padding: 20px;
  color: #ddd;
}

/* Card principal - prêmios */
.form-compra-automatica .card-premios {
  background: linear-gradient(145deg, #1f1f1f, #242424);
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.form-compra-automatica .card-premios h5 {
  color: #74c8ff;
  margin-bottom: 15px;
  font-weight: bold;
}

.form-compra-automatica .dados-cartela {
  font-size: 16px;
  line-height: 1.8;
}

.form-compra-automatica .dados-cartela .premio1 {
  color: #4cd137;
}

.form-compra-automatica .dados-cartela .premio2 {
  color: #fbc531;
}

.form-compra-automatica .dados-cartela .premio3 {
  color: #e84118;
}

.form-compra-automatica .encerrado {
  color: #e74c3c;
  text-align: center;
}

/* Card de compra */
.form-compra-automatica .card-compra {
  background: linear-gradient(145deg, #1f1f1f, #262626);
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.form-compra-automatica .botoes-quantidade {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.form-compra-automatica .qtd-bt {
  background: #333;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  transition: 0.2s;
}

.form-compra-automatica .qtd-bt:hover {
  background: #007bff;
}

/* Controle de quantidade */
.form-compra-automatica .controle-qtd {
  display: flex;
  align-items: center;
  gap: 15px;
}

.form-compra-automatica .quadro-qtd {
  display: flex;
  align-items: center;
  border: 1px solid #444;
  border-radius: 8px;
  overflow: hidden;
}

.form-compra-automatica .bt-menos-mais {
  padding: 8px 12px;
  background: #444;
  cursor: pointer;
}

.form-compra-automatica #quantidade-compra {
  width: 50px;
  text-align: center;
  border: none;
  background: #222;
  color: #fff;
}

.form-compra-automatica .input-valor input {
  background: #222;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 6px 10px;
  color: #4cd137;
  font-weight: bold;
}

/* Botão Comprar */
.form-compra-automatica .botoes-final {
  text-align: right;
  margin-top: 15px;
}

.form-compra-automatica .btn-comprar {
  background: linear-gradient(90deg, #007bff, #00a8ff);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.form-compra-automatica .btn-comprar:hover {
  filter: brightness(1.2);
}
