/* ============================================================
   Test Clarividencia Maestro (tcmv) - Estilos
   Namespace: .tcmv-app
   ============================================================ */

.tcmv-app {
    --tcmv-gradiente: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --tcmv-indigo: #6366f1;
    --tcmv-cyan: #06b6d4;
    --tcmv-dorado: #f59e0b;
    --tcmv-sombra: 0 8px 25px rgba(99,102,241,0.28);
    --tcmv-radio: 16px;
    --tcmv-trans: all 0.3s ease;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6; color: #e2e8f0;
    max-width: 600px; margin: 0 auto;
}
.tcmv-fase { animation: tcmvFadeIn 0.5s ease; }
@keyframes tcmvFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.tcmv-header { text-align: center; margin-bottom: 1.5rem; }
.tcmv-icono-header { font-size: 3.5rem; margin-bottom: 0.5rem; }
.tcmv-titulo { font-size: 1.5rem; font-weight: 700; background: var(--tcmv-gradiente); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.3rem; }
.tcmv-subtitulo { opacity: 0.65; font-size: 0.9rem; }

.tcmv-intro { background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.2); border-radius: var(--tcmv-radio); padding: 1.3rem; margin-bottom: 1rem; text-align: center; }
.tcmv-intro-texto { opacity: 0.85; line-height: 1.7; font-size: 0.95rem; }

.tcmv-simbolos-preview { margin-bottom: 1rem; }
.tcmv-simbolos-titulo { font-size: 0.85rem; font-weight: 600; opacity: 0.7; margin-bottom: 0.5rem; }
.tcmv-simbolos-grid { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tcmv-sim { background: rgba(99,102,241,0.1); padding: 0.3rem 0.7rem; border-radius: 8px; font-size: 0.8rem; }
.tcmv-estadistica-info { text-align: center; margin-bottom: 1.2rem; }
.tcmv-estadistica-info p { font-size: 0.8rem; opacity: 0.5; }
.tcmv-btn-inicio { display: block; width: 100%; background: var(--tcmv-gradiente); border: none; padding: 1rem; border-radius: 30px; color: white; font-weight: 700; font-size: 1.05rem; cursor: pointer; transition: var(--tcmv-trans); }
.tcmv-btn-inicio:hover { transform: translateY(-3px); box-shadow: var(--tcmv-sombra); }

.tcmv-juego-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-weight: 500; }
.tcmv-juego-score { color: var(--tcmv-cyan); }
.tcmv-progress-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; margin-bottom: 1.2rem; }
.tcmv-progress-fill { height: 100%; background: var(--tcmv-gradiente); border-radius: 3px; transition: width 0.4s ease; width: 0; }

.tcmv-estimulo { background: rgba(6,182,212,0.08); border: 2px dashed rgba(6,182,212,0.3); border-radius: var(--tcmv-radio); padding: 2rem; text-align: center; margin-bottom: 0.8rem; }
.tcmv-estimulo-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.tcmv-estimulo-texto { opacity: 0.5; font-style: italic; font-size: 0.9rem; }
.tcmv-instruccion { text-align: center; opacity: 0.75; margin-bottom: 0.8rem; font-size: 0.9rem; }

.tcmv-opciones-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.tcmv-opcion-btn {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(99,102,241,0.18); border-radius: 12px;
    padding: 0.8rem 0.3rem; cursor: pointer; color: #e2e8f0; text-align: center; transition: var(--tcmv-trans);
    display: flex; flex-direction: column; align-items: center; gap: 0.2rem; font-size: 0.78rem;
}
.tcmv-opcion-btn:hover:not(:disabled) { border-color: var(--tcmv-cyan); transform: translateY(-3px); background: rgba(6,182,212,0.06); }
.tcmv-opcion-btn:disabled { cursor: default; opacity: 0.7; }
.tcmv-op-emoji { font-size: 1.6rem; }

.tcmv-resultado-header { text-align: center; margin-bottom: 1.5rem; }
.tcmv-resultado-icon { font-size: 4rem; }
.tcmv-resultado-titulo { font-size: 1.4rem; font-weight: 700; background: var(--tcmv-gradiente); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 0.5rem 0; }
.tcmv-resultado-score { opacity: 0.75; }

.tcmv-analisis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 1rem 0; }
.tcmv-anal-item { background: rgba(99,102,241,0.08); padding: 0.8rem; border-radius: 10px; text-align: center; }
.tcmv-anal-label { display: block; font-size: 0.72rem; opacity: 0.55; margin-bottom: 0.2rem; text-transform: uppercase; }
.tcmv-anal-val { display: block; font-size: 1.1rem; font-weight: 700; color: var(--tcmv-dorado); }

.tcmv-resultado-mensaje { background: rgba(255,255,255,0.04); border: 1px solid rgba(99,102,241,0.2); border-radius: var(--tcmv-radio); padding: 1.2rem; margin: 1rem 0; }
.tcmv-resultado-mensaje p { opacity: 0.85; line-height: 1.6; margin-bottom: 0.4rem; }
.tcmv-explicacion { font-size: 0.8rem; opacity: 0.5; text-align: center; margin-bottom: 0.8rem; }

.tcmv-btn-reinicio { display: block; width: 100%; background: var(--tcmv-gradiente); border: none; padding: 0.9rem; border-radius: 30px; color: white; font-weight: 700; font-size: 1rem; cursor: pointer; transition: var(--tcmv-trans); }
.tcmv-btn-reinicio:hover { transform: translateY(-3px); }

@media (max-width: 480px) { .tcmv-opciones-grid { grid-template-columns: repeat(2, 1fr); } .tcmv-analisis-grid { grid-template-columns: 1fr; } }
@media (prefers-contrast: high) { .tcmv-opcion-btn { border: 2px solid white; } }
@media (prefers-reduced-motion: reduce) { .tcmv-fase { animation: none; } }
