:root {
    --primary: #ec4899; /* Pink */
    --bg-gradient: linear-gradient(135deg, #fce7f3, #fbcfe8, #f9a8d4);
}

.match-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    max-width: 200px;
}

.match-item {
    background: #fff;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.2s;
    user-select: none;
}

.match-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.1);
}

.match-item.selected {
    border-color: var(--primary);
    background: #fdf2f8;
    transform: scale(1.05);
}

.match-item.matched {
    border-color: #22c55e; /* Green */
    background: #dcfce7;
    color: #166534;
    pointer-events: none;
    opacity: 0.7;
    transform: scale(1);
}

.match-item.wrong {
    animation: shake 0.4s;
    border-color: #ef4444;
    background: #fee2e2;
}

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