/* Estilos Específicos para El Clon Visual */

.clon-game-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.clon-workspace {
    display: flex;
    justify-content: center;
    width: 100%;
}

.clon-grid-container {
    display: grid;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    background-color: var(--bg-surface);
    border: 3px solid var(--accent-blue);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: 0 0 35px rgba(52, 152, 219, 0.25);
    user-select: none;
    box-sizing: border-box;
}

.clon-cell {
    aspect-ratio: 1;
    width: 100%;
    background-color: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.clon-cell:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent-blue);
    transform: scale(1.1);
    z-index: 10;
}

.clon-cell.hint-highlight {
    background-color: var(--accent-green) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 35px var(--accent-green) !important;
    animation: hintGreenPulse 0.5s ease-in-out infinite alternate !important;
}

@keyframes hintGreenPulse {
    0% { transform: scale(1); box-shadow: 0 0 15px var(--accent-green); }
    100% { transform: scale(1.12); box-shadow: 0 0 40px var(--accent-green); }
}

@media (max-width: 480px) {
    .clon-cell {
        font-size: clamp(0.75rem, 3.5vw, 1.4rem) !important;
    }
}
