/* sequencial.css */

* {
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #283048, #859398);
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #222;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-voltar {
  background-color: #444;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}
.btn-voltar:hover {
  box-shadow: 0 0 8px #ffdb4d;
}

.info-header {
  font-size: 1.25rem;
  font-weight: bold;
  color: #ffe066;
}

.bencaos-destaque {
  color: #ffd700;
  text-shadow: 0 0 10px #ffd700;
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  text-align: center;
}

h1 {
  margin-bottom: 1rem;
  font-size: 2rem;
  text-shadow: 0 0 10px #fffacd;
}

#mensagem-jogo {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-style: italic;
  min-height: 40px;
}

.botoes-container {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  grid-gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn-sequencial {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 10px #000;
  position: relative;
  outline: none;
  transition: filter 0.2s ease;
}

.btn-sequencial.azul {
  background-color: #3b82f6;
  box-shadow: 0 0 20px #3b82f6;
}
.btn-sequencial.verde {
  background-color: #22c55e;
  box-shadow: 0 0 20px #22c55e;
}
.btn-sequencial.amarelo {
  background-color: #eab308;
  box-shadow: 0 0 20px #eab308;
}
.btn-sequencial.vermelho {
  background-color: #ef4444;
  box-shadow: 0 0 20px #ef4444;
}

/* Luz pulsante no estado ativo */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      0 0 10px 3px rgba(255, 255, 255, 0.4),
      0 0 30px 10px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow:
      0 0 15px 6px rgba(255, 255, 255, 0.7),
      0 0 40px 15px rgba(255, 255, 255, 0.4);
  }
}

.btn-sequencial.ativo {
  animation: pulse-glow 1s infinite;
  filter: brightness(1.2);
  transform: scale(1.05);
  z-index: 10;
}

/* Botão reiniciar */
.btn-reiniciar {
  background: #fbbf24;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #444;
  cursor: pointer;
  box-shadow: 0 0 12px #fbbf24;
  transition: filter 0.3s ease;
  margin-top: auto;
}
.btn-reiniciar:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 20px #fbbf24;
}

/* Footer */
#rodape {
  background: #222;
  color: #999;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-texto strong {
  color: #ffd700;
  text-shadow: 0 0 5px #ffd700;
}

#relogioFooter {
  font-family: monospace;
  font-weight: bold;
  color: #fffacd;
}

/* Canvas partículas */
#particles-canvas {
  position: fixed;
  pointer-events: none;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  mix-blend-mode: screen;
  user-select: none;
}
