/* =========================
   SECUENCIAS PRO UI
========================= */

.sec-header {
  padding: 10px;
}

.sec-content {
  padding: 20px;
  text-align: center;
}

.sec-instruccion h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.sec-instruccion p {
  color: #666;
  margin-bottom: 20px;
}

/* 🔥 patrón */
.sec-patron {
  font-size: 38px;
  background: white;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  letter-spacing: 6px;
}

/* =========================
   🔥 PANEL FLOTANTE ABAJO
========================= */

.sec-interaccion {
  position: fixed;
  bottom: 85px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.sec-opciones {
  pointer-events: auto;
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 24px;

  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);

  box-shadow: 0 12px 30px rgba(0,0,0,0.12);

  flex-wrap: wrap;
  justify-content: center;
}

/* botones */
.sec-btn {
  font-size: 30px;
  padding: 14px 18px;
  border: none;
  border-radius: 16px;
  background: white;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.sec-btn:hover {
  transform: translateY(-3px);
}

/* =========================
   FOOTER PROGRESO
========================= */

.sec-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: 10px 16px;
  box-shadow: 0 -8px 20px rgba(0,0,0,0.08);
}

.sec-progreso-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
}

.progress-bar {
  height: 10px;
  background: #eee;
  border-radius: 999px;
  margin-top: 6px;
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg,#6c5ce7,#00d2ff);
  transition: 0.4s ease;
}

/* =========================
   ANIMACIONES
========================= */

.sec-opciones.ok {
  animation: pop 0.4s ease;
}

.sec-opciones.error {
  animation: shake 0.4s ease;
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

/* ========== CARD DE INSTRUCCIONES ========== */
.animales-instruccion,
.clasifica-instruccion,
.reloj-instruccion,
.memoria-instruccion,
.sec-instruccion,
.vocal-objetivo-header,
.inicial-instruccion,
.manzanas-instruccion {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 32px;
  margin: 20px auto;
  max-width: 600px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.animales-instruccion h2,
.clasifica-instruccion h2,
.reloj-instruccion h2,
.memoria-instruccion h2,
.sec-instruccion h2,
.vocal-objetivo-header h2,
.inicial-instruccion h2,
.manzanas-instruccion h2 {
  margin: 0 0 12px 0;
  font-size: 1.6rem;
  color: var(--text-dark);
}

.animales-instruccion p,
.clasifica-instruccion p,
.reloj-instruccion p,
.memoria-instruccion p,
.sec-instruccion p,
.vocal-objetivo-header p,
.inicial-instruccion p,
.manzanas-instruccion p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-medium);
}
