/* ==== ESTILO GERAL ==== */
body {
  background: #000;
  color: #fff;
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ==== CONTAINERS RESPONSIVOS ==== */
#slot-container,
#top-slot-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto 60px;
}

/* ==== BLOCO DE SLOT ==== */
.slot-bloco {
  background: #111;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  max-width: 260px;
  width: 100%;
  box-shadow: 0 0 12px #0006;
}

/* ==== IMAGEM DO SLOT ==== */
.slot-bloco img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}
.slot-bloco img:hover {
  transform: scale(1.03);
}

/* ==== BARRA DE RTP (base branca) ==== */
.rtp-barra {
  background: #fff;
  border-radius: 8px;
  height: 30px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  color: #000;
}

/* ==== PREENCHIMENTO COM ANIMAÇÃO ==== */
.rtp-preenchimento {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10px;
  white-space: nowrap;
  font-weight: bold;
  animation: pulse 2s infinite ease-in-out;
  z-index: 2;
  position: relative;
}

@keyframes pulse {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(1.15); }
  100% { filter: brightness(1); }
}

/* ==== CORES DAS BARRAS ==== */
.rtp-verde {
  background: linear-gradient(90deg, #39ff14, #00b34e);
  box-shadow: 0 0 8px #00ff88aa;
  color: #000;
}
.rtp-amarelo {
  background: linear-gradient(90deg, #f1c40f, #f39c12);
  box-shadow: 0 0 8px #f1c40faa;
  color: #000;
}
.rtp-vermelho {
  background: linear-gradient(90deg, #ff5e57, #c0392b);
  box-shadow: 0 0 10px #ff5e5788;
  color: #000;
}

/* ==== BOTÃO JOGAR ==== */
.btn-jogar {
  display: inline-block;
  width: 100%;
  margin-top: 10px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  background: linear-gradient(to bottom, #2ec945, #0c942f);
  box-shadow: 0 0 10px #1f7030aa;
  transition: all 0.3s ease;
}
.btn-jogar:hover {
  background: linear-gradient(to bottom, #f39c12, #e67e22);
  box-shadow: 0 0 12px #f39c12aa;
  color: #111;
}

/* ==== TEXTO DE ATUALIZAÇÃO (abaixo do botão) ==== */
.atualiza-tempo {
  margin-top: 6px;
  font-size: 12px;
  color: #ccc;
  font-style: italic;
}

/* ==== TIMER OPCIONAL (se usar contador regressivo) ==== */
.timer {
  margin-top: 8px;
  font-size: 12px;
  color: #ccc;
  background: #222;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 0 6px #333 inset;
  font-weight: 600;
}

/* ==== RESPONSIVIDADE ==== */
@media (max-width: 1023px) {
  #slot-container,
  #top-slot-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .slot-bloco {
    max-width: 220px;
  }
}

@media (max-width: 767px) {
  #slot-container,
  #top-slot-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }
  .slot-bloco {
    max-width: 180px;
    padding: 8px;
  }
  .btn-jogar {
    padding: 10px 12px;
    font-size: 14px;
  }
  .rtp-barra {
    height: 28px;
    font-size: 12px;
  }
  .timer {
    font-size: 11px;
    padding: 3px 8px;
  }
}
