/* Estilos Específicos para Chapas en Movimiento */

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

/* BANNER DE SIGUIENTE LETRA CON CHAPA BADGE DISTINTIVA ARRIBA DE LA MESA */
.target-letter-banner {
    background: linear-gradient(135deg, hsl(210, 35%, 16%), hsl(210, 25%, 12%));
    border: 2px solid var(--accent-amber);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    box-shadow: 0 0 25px rgba(241, 196, 15, 0.25);
}

.target-banner-label {
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent-amber);
    letter-spacing: 1px;
}

.target-chapa-badge {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, hsl(40, 95%, 60%), hsl(30, 90%, 40%));
    border: 4px solid #ffffff;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.8), inset 0 0 10px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    animation: hintPulse 1.5s infinite alternate ease-in-out;
}

.chapas-arena {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}

.chapa-item {
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--accent-blue), hsl(210, 80%, 35%));
    border: 3px solid #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5), inset 0 0 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.chapa-item:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.chapa-item.popped {
    animation: chapaPop 0.4s ease forwards;
    pointer-events: none;
}

.chapa-item.error {
    animation: shakeError 0.4s ease;
    border-color: var(--accent-red);
}

@keyframes chapaPop {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.8; }
    100% { transform: scale(0); opacity: 0; }
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}
