/* Estilos Específicos para Déjà Vu / Memoria de Repetición */

.dejavu-game-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dejavu-workspace {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.dejavu-viewport {
    flex: 1;
    height: 300px;
    background-color: var(--bg-surface);
    border: 3px solid var(--accent-amber);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(241, 196, 15, 0.25);
    position: relative;
    overflow: hidden;
}

.stream-emoji {
    font-size: 6rem;
    user-select: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ANIMACIÓN DE ZOOM AL 200% Y DESVANECIMIENTO AL ACERTAR */
@keyframes popZoomFadeOut {
    0% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 10px var(--accent-green)); }
    50% { transform: scale(2); opacity: 1; filter: drop-shadow(0 0 35px var(--accent-green)); }
    100% { transform: scale(2.3); opacity: 0; }
}

.match-zoom-out {
    animation: popZoomFadeOut 0.8s ease forwards !important;
}

@keyframes checkmarkPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.6); opacity: 1; }
    100% { transform: scale(1.2); opacity: 1; }
}

.checkmark-pop {
    animation: checkmarkPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

/* TIRA LATERAL DE PAREJAS ENCONTRADAS AL COSTADO */
.pairs-collection-strip {
    width: 220px;
    background-color: var(--bg-surface);
    border: 2px solid var(--accent-green);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.2);
}

.pairs-strip-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent-green);
}

.pairs-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pair-chip {
    background-color: var(--bg-card);
    border: 1px solid var(--accent-green);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.85rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: popIn 0.3s ease;
}

.dejavu-action-box {
    display: flex;
    justify-content: center;
}

.btn-dejavu-trigger {
    background: linear-gradient(135deg, hsl(40, 95%, 55%), hsl(30, 90%, 45%));
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    padding: 1.1rem 2.8rem;
    border-radius: 40px;
    border: 3px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-dejavu-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(241, 196, 15, 0.6);
}

.btn-dejavu-trigger:active {
    transform: scale(0.96);
}
