.container-wrapper {
    display: flex;
    gap: clamp(0.75rem, 4vw, 1.25rem);
    justify-content: center;
    flex-wrap: wrap;
}

.container {
    border: 1px solid #ddd;
    padding: clamp(0.5rem, 2vw, 0.875rem);
    border-radius: 8px;
    background: #f9f9f9;
    width: clamp(6rem, 20vw, 14rem);
    height: clamp(6rem, 20vw, 14rem);
    min-width: 6rem;
    min-height: 6rem;
    max-width: 16rem;
    max-height: 16rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 1 250px;
}

.container.dropzone {
    background: #e3f2fd;
}

.draggable {
    background: #4caf50;
    color: white;
    padding: clamp(0.25rem, 1.5vw, 0.5rem);
    border-radius: 5px;
    cursor: move;
    width: clamp(2.5rem, 10vw, 5.5rem);
    height: clamp(2.5rem, 10vw, 5.5rem);
    min-width: 2.5rem;
    min-height: 2.5rem;
    max-width: 6rem;
    max-height: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: clamp(0.625rem, 1.5vw, 0.875rem);
}

/* Responsive adjustments for very small screens */
@media (max-width: 480px) {
    .container-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        flex: 0 0 auto;
        width: clamp(5rem, 30vw, 10rem);
        height: clamp(5rem, 30vw, 10rem);
    }
    
    .draggable {
        width: clamp(2rem, 15vw, 4rem);
        height: clamp(2rem, 15vw, 4rem);
        font-size: 0.75rem;
    }
}

@media (max-width: 375px) {
    .container {
        width: clamp(5rem, 35vw, 8rem);
        height: clamp(5rem, 35vw, 8rem);
    }
    
    .draggable {
        width: clamp(2rem, 20vw, 3.5rem);
        height: clamp(2rem, 20vw, 3.5rem);
        font-size: 0.625rem;
    }
}
